Modify ↓
#218 closed defect (fixed)
graphviz breaks MacroList in 0.9.4r1
Reported by: | Owned by: | Peter Kropf | |
---|---|---|---|
Priority: | normal | Component: | GraphvizPlugin |
Severity: | normal | Keywords: | MacroList break |
Cc: | Trac Release: |
Description
Adding the graphviz egg changes MacroList's output to:
Error: Macro MacroList(None) failed global name 'inspect' is not defined
Attachments (0)
Change History (4)
comment:1 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 19 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Installing graphviz 0.5.1 in trac 0.9.4 using easy_install breaks the MacroList macro.
comment:3 Changed 19 years ago by
The inspect module needs to be imported:
-
graphviz/graphviz.py
58 58 59 59 def get_macro_description(self, name): 60 60 """Return a plain text description of the macro with the specified name.""" 61 import inspect 61 62 return inspect.getdoc(GraphvizMacro)
comment:4 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in changeset:534.
Note: See
TracTickets for help on using
tickets.
This looks to have been an issue with the 0.9.4r1 release. The existing GraphvizPlugin works on the 0.9.4 tar package release as well as the latest development release, svn version 3020.