Modify

Opened 17 years ago

Closed 16 years ago

#1357 closed defect (fixed)

What are the dependencies for Graphviz Plugin?

Reported by: anonymous Owned by: Peter Kropf
Priority: highest Component: GraphvizPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description

Better documentation of this would help installers like myself ...

Attachments (0)

Change History (4)

comment:1 Changed 17 years ago by anonymous

I have cmd_path = /usr/share/graphviz on an ubuntu 6.06 system. I'm getting:

Graphviz macro processor has detected an error. Please fix the problem before continuing.

The rsvg program is set to <b>/usr/share/graphviz/rsvg</b> but that path does not exist.

comment:2 Changed 17 years ago by anonymous

Well, I've tried installing graphviz and librsvg2-bin. I've set the rsvg_path, and tried various graphviz.*/* invocations via the wiki. It's still failing to work in various ways, not to mention the fact that installing graphviz and librsvg2-bin loads up the system with a lot of packages I don't want or need.

Here's one failure:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 135, in process_request
    self._render_view(req, db, page)
  File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 443, in _render_view
    req.hdf['wiki'] = {
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 999, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 793, in format
    self.handle_code_block(line)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 740, in handle_code_block
    self.code_processor = WikiProcessor(self.env, name)
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 61, in __init__
    for macro_name in macro_provider.get_macros():
  File "build/bdist.linux-i686/egg/graphviz/graphviz.py", line 68, in get_macros
  File "build/bdist.linux-i686/egg/graphviz/graphviz.py", line 308, in load_config
IndexError: list index out of range

I'm a little disheartened about this plugin ATM...

comment:3 Changed 17 years ago by anonymous

Priority: normalhighest
Severity: normalblocker

comment:4 Changed 16 years ago by anonymous

Resolution: fixed
Status: newclosed

Do: apt-get install librsvg2-bin

then "which rsvg you should display

/usr/bin/rsvg

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.