Opened 7 years ago

Closed 6 years ago

#2757 closed defect (fixed)

graphvizplugin 0.10 config variable missing

Reported by: anonymous Owned by: pkropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


hi, i just tried to install the updated version of the 0.10 version of the plugin and it bombs out for a missing variable:

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/trac/web/", line 406, in dispatch_request
  File "/usr/local/lib/python2.5/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.freebsd-6.2-STABLE-i386/egg/tractags/", line 64, in process_request
    result = WikiModule.process_request(self, req)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/", line 135, in process_request
    self._render_view(req, db, page)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/", line 444, in _render_view
    'page_html': wiki_to_html(page.text, self.env, req),
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/", line 1001, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/", line 795, in format
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/", line 742, in handle_code_block
    self.code_processor = WikiProcessor(self.env, name)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/", line 61, in __init__
    for macro_name in macro_provider.get_macros():
  File "build/bdist.freebsd-6.3-STABLE-i386/egg/graphviz/", line 82, in get_macros
  File "build/bdist.freebsd-6.3-STABLE-i386/egg/graphviz/", line 338, in load_config
    cmd_paths = [cfg_paths]
NameError: global name 'cfg_paths' is not defined

this happens in both the zip file from trac-hacks and a svn checkout.

hth, tee

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by anonymous

oh, and i just found all files in 0.1[01]/examples/ having a name like


this is from svn, r3397

comment:2 Changed 7 years ago by pkropf

(In [3400]) Corrected typo. references #2757.

comment:3 Changed 6 years ago by cboos

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

I assume it was fixed at that time (r3400). If there's a reason for not closing this now that I've overlooked, please reopen.

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.