Modify

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#218 closed defect (fixed)

graphviz breaks MacroList in 0.9.4r1

Reported by: jcw9@… 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 12 years ago by Peter Kropf

Resolution: fixed
Status: newclosed

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 12 years ago by anonymous

Resolution: fixed
Status: closedreopened

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

comment:3 Changed 12 years ago by Matt Good

The inspect module needs to be imported:

  • graphviz/graphviz.py

     
    5858
    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 12 years ago by Peter Kropf

Resolution: fixed
Status: reopenedclosed

Fixed in changeset:534.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Peter Kropf.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.