Modify

Opened 6 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

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 (0)

Change History (3)

comment:1 Changed 6 years ago 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

comment:2 Changed 6 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from pkropf. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.