#2917: !MacroList bails out if a macro doesn't import inspect module
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: wiki | Version: 0.9.4
Severity: minor | Keywords: MacroList inspect macro
----------------------------------+-----------------------------------------
I just hunted down a problem with the !MacroList macro, which refused to
render: it complained the global object 'inspect' was now defined.
Using the error log I traced this to the graphviz plugin. I added an
import for inspect to the top of the graphviz.py, reinstalled the egg,
restarted apache and !MacroList was working.
One might argue that this is a bug with graphviz, buit I don't know if
that's the case or not. Should trac import this automatically for macros,
and if not should it not just catch the error and still render
documentation for the more 'well-behaved' macros?
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2917>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets