bzr - trac integration

Alexander Belchenko bialix at ukr.net
Tue Feb 19 13:35:00 GMT 2008


Pieter пишет:
> Hi all,
> 
> I'm working at a project at Ghent University College
> (http://www.socverification.be/). We're trying to find out what the
> best set up is to work with bzr (which i found to be very user
> friendly so far). Yesterday we set up a 'server' (Ubuntu Gutsy). We
> ended up with a shared repo, that we access through ssh (with an
> ssh-key). (hope this sounds reasonable)
> 
> Now we want to integrate some bugtracker/wiki/... . I was trying to
> figure out how I could set up trac to coorporate with bzr. I installed
> the bzr-trac plugin, but that didn't work. Trac doesn't recognize bzr:

We are using Trac and Bazaar together in my company. And it works pretty well.
I'm not sure what the root of your problem but it seems like you don't install
either bzrlib or trac-bzr egg in your system.

If you provide more details about your setup, probably I could help.

> 
> Traceback (most recent call last):
>   File "/var/lib/python-support/python2.5/trac/web/main.py", line 406,
> in dispatch_request
>     dispatcher.dispatch(req)
>   File "/var/lib/python-support/python2.5/trac/web/main.py", line 191,
> in dispatch
>     chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/var/lib/python-support/python2.5/trac/web/main.py", line 263,
> in _pre_process_request
>     chosen_handler = f.pre_process_request(req, chosen_handler)
>   File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py",
> line 73, in pre_process_request
>     self.get_repository(req.authname).sync()
>   File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py",
> line 94, in get_repository
>     ((self.repository_type,)*2))
> TracError: Unsupported version control system "bzr". Check that the
> Python bindings for "bzr" are correctly installed.
> 
> In the terminal where I started the standalone trac server:
> 
> tracd --port 8000 .
> /var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
> RuntimeWarning: Python C API version mismatch for module neo_util:
> This Python has API version 1013, module neo_util has version 1012.
>   import neo_cgi
> /var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
> RuntimeWarning: Python C API version mismatch for module neo_cs: This
> Python has API version 1013, module neo_cs has version 1012.
>   import neo_cgi
> /var/lib/python-support/python2.5/trac/web/clearsilver.py:128:
> RuntimeWarning: Python C API version mismatch for module neo_cgi: This
> Python has API version 1013, module neo_cgi has version 1012.
>   import neo_cgi
> 
> All I found about this:
> http://ubuntuforums.org/showthread.php?t=620466. But that didn't help.
> If someone could point me to a step by step guide how to setup bzr and
> trac together, that would be great (haven't much experience with
> setting up these kind of things). For us it's not obligatory to use
> trac, we just want some bugtracker integration and a wiki, don't know
> whether there are other options that work better with bzr?
> 
> thanks a lot,
> 
> Pieter
> 




More information about the bazaar mailing list