Fixing Trac after upgrading VisualSVN

If you upgraded VisualSVN Server like I have today to 1.61 and have Trac installed as per VisualSvn+Trac then you’ll notice Trac stopped working.

To fix this, follow this part of the instructions:

Add following line at the top of file C:\Program Files\VisualSVN Server\httpd-wrapper.bat:

set PYTHONHOME=%~dp0\Trac\python

Update: Later updates to VisualSvn Server break Trac.

October 22, 2008 at 3:38 PM in Subversion

TracFogbugzPlugin 0.9u-py2.5 Patch for Trac 0.11

If you use both VisualSvn + Trac (or another flavour of Subversion and Trac), and tried to integrate them with Fogbugz , you will have tried the TracFogbugzPlugin.

Trying to get this to work isn’t straightforward as it’s not compatible with Trac 0.11. You will come across the following error:

Traceback (most recent call last):
File “C:\Python25\Lib\site-packages\trac\web\”, line 339, in
File “C:\Python25\Lib\site-packages\trac\web\”, line 684, in
data = self.populate_data(req, data)
File “C:\Python25\Lib\site-packages\trac\web\”, line 592, in
File “C:\Python25\Lib\site-packages\trac\web\”, line 168, in
value = self.callbacks[name](self)
File “C:\Python25\Lib\site-packages\trac\web\”, line 460, in
for category, name, text in contributor.get_navigation_items(req):
“c:\Python25\lib\site-packages\tracfogbugzplugin-0.9u-py2.5.egg\fogbugz\fogb”, line 22, in get_navigation_items
yield ‘mainnav’, ‘fogbugz’, Markup(‘<a href=”%s”>FogBuz</a>’,
LookupError: unknown encoding: >/”>https://<<myurl>>/

To fix this line 22 needs changed, to read:

yield ‘mainnav’, ‘fogbugz’, Markup(‘<a href=”%s”>FogBuz</a>’%self.baseurl)

Or download the file below and use it as part of the installation instructions (if this is your first Python Egg you want to read about installing Trac plugins. 😉

Now it is loading but the plugin doesn’t seem to work, haha.

Download: Patched tracfogbugzplugin-09u-py25

October 15, 2008 at 11:39 AM in Subversion