Ticket #2757 (new defect)

Opened 6 months ago

Last modified 6 months ago

graphvizplugin 0.10 config variable missing

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

Description

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/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.freebsd-6.2-STABLE-i386/egg/tractags/web_ui.py", line 64, in process_request
    result = WikiModule.process_request(self, req)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/web_ui.py", line 135, in process_request
    self._render_view(req, db, page)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/web_ui.py", 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/formatter.py", 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/formatter.py", line 795, in format
    self.handle_code_block(line)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/formatter.py", line 742, in handle_code_block
    self.code_processor = WikiProcessor(self.env, name)
  File "/usr/local/lib/python2.5/site-packages/trac/wiki/formatter.py", line 61, in __init__
    for macro_name in macro_provider.get_macros():
  File "build/bdist.freebsd-6.3-STABLE-i386/egg/graphviz/graphviz.py", line 82, in get_macros
    self.load_config()
  File "build/bdist.freebsd-6.3-STABLE-i386/egg/graphviz/graphviz.py", 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

Change History

03/19/08 08:35:47 changed by anonymous

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

GraphvizExamples%2FGraphvizExample2

this is from svn, r3397

03/19/08 10:26:45 changed by pkropf

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


Add/Change #2757 (graphvizplugin 0.10 config variable missing)




Change Properties
Action