Opened 10 years ago

Closed 9 years ago

#1357 closed defect (fixed)

What are the dependencies for Graphviz Plugin?

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


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

Attachments (0)

Change History (4)

comment:1 Changed 10 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 10 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/", line 387, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/wiki/", line 135, in process_request
    self._render_view(req, db, page)
  File "/usr/lib/python2.4/site-packages/trac/wiki/", line 443, in _render_view
    req.hdf['wiki'] = {
  File "/usr/lib/python2.4/site-packages/trac/wiki/", 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/", line 793, in format
  File "/usr/lib/python2.4/site-packages/trac/wiki/", line 740, in handle_code_block
    self.code_processor = WikiProcessor(self.env, name)
  File "/usr/lib/python2.4/site-packages/trac/wiki/", line 61, in __init__
    for macro_name in macro_provider.get_macros():
  File "build/bdist.linux-i686/egg/graphviz/", line 68, in get_macros
  File "build/bdist.linux-i686/egg/graphviz/", line 308, in load_config
IndexError: list index out of range

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

comment:3 Changed 9 years ago by anonymous

  • Priority changed from normal to highest
  • Severity changed from normal to blocker

comment:4 Changed 9 years ago by anonymous

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

Do: apt-get install librsvg2-bin

then "which rsvg you should display


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.