Hello, We encountered a runtime issue with the *tracoverlayview plugin* when running under Python 2.7.
The error is caused by iterating over a dictionary while it may be modified during the loop. In our case, the issue occurs in *tracoverlayview/web_ui.py*, in the* _get_mimetypes()* method: *for ext, mimetype in _iteritems(map_):* This can raise the following error: *RuntimeError: dictionary changed size during iteration* We applied the following local patch to iterate over a static list of items instead: *for ext, mimetype in list(_iteritems(map_)):* Suggested patch: - for ext, mimetype in _iteritems(map_): + for ext, mimetype in list(_iteritems(map_)): This fixes the issue in our environment. Thank you. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/trac-users/2104ae2c-43df-41b5-9c4a-e6de880dc64an%40googlegroups.com.
