Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#218 closed defect (fixed)

graphviz breaks MacroList in 0.9.4r1

Reported by: jcw9@… Owned by: pkropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords: MacroList break
Cc: Trac Release:


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 11 years ago by pkropf

  • Resolution set to fixed
  • Status changed from new to closed

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.

comment:2 Changed 11 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Installing graphviz 0.5.1 in trac 0.9.4 using easy_install breaks the MacroList macro.

comment:3 Changed 11 years ago by mgood

The inspect module needs to be imported:

  • graphviz/

    5959    def get_macro_description(self, name):
    6060        """Return a plain text description of the macro with the specified name."""
     61        import inspect
    6162        return inspect.getdoc(GraphvizMacro)

comment:4 Changed 11 years ago by pkropf

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in changeset:534.

Add Comment

Modify Ticket

as closed The owner will remain pkropf.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.