Opened 9 years ago

Last modified 9 years ago

#4814 new defect

GraphVizPlugin breaks all wiki macros in Trac 11.3

Reported by: anonymous Owned by: Christian Boos
Priority: high Component: GraphvizPlugin
Severity: blocker Keywords: needinfo
Cc: Trac Release: 0.11


Well this seems simple enough to reproduce. When I enable GraphVizPlugin on 11.3 all my other wiki macros break.. So for existence, on the wiki index page, I only see...

Error: Macro TitleIndex(format=group,min=4) failed
coercing to Unicode: need string or buffer, NoneType found

After I disable it under admin, macros work fine again. I've also successfully run GraphVizPlugin on previous 0.11.x installations.

Details of my setup include OS X 10.5.5 with the stock Apache 2.2.9 and Python 2.5.1 ... mod_wsgi 2.3 and dot installed to '/usr/local/bin'

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Eli Carter

This appears to be related to antialiasing. I commented out the png_antialias = true option in the [graphviz] section, and it worked again. I get a different error if rsvg is installed and rsvg_path is set; so there is still something amiss.

comment:2 Changed 9 years ago by Christian Boos

Keywords: needinfo added
Owner: changed from Peter Kropf to Christian Boos

I probably get rid of the png_antialias option in future releases, as I think this is not necessary anymore (#737).

Still, it seems quite mysterious that a problem with this can propagate to the TitleIndex macro... which version of the GraphvizPlugin was this?

Does that still happen with graphvizplugin/0.11-0.7.5? If yes, can you share all the settings needed for being able to reproduce this? (in addition to what you've already given, the trac.ini settings and the page content).

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Christian Boos.

Add Comment

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

Note: See TracTickets for help on using tickets.