0.3.3: Incompatibility with Trac version 0.12

Bug #612557 reported by Vincent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trac-Bzr
Fix Released
Medium
Martin von Gagern

Bug Description

The plugin breaks Trac 0.12. Have to disable TracBzr in order to get Trac running (without Bazaar :-( )

Here is the traceback (Apache + mod_python 3.3.1 + Trac 0.12 + TracBzr 0.3.3 + Python 2.4 / RHEL5)

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/api.py", line 436, in send_error
    data, 'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/chrome.py", line 844, in render_template
    stream.render(method, doctype=doctype, out=buffer)
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 183, in render
  File "build/bdist.macosx-10.3-fat/egg/genshi/output.py", line 58, in encode
  File "build/bdist.macosx-10.3-fat/egg/genshi/output.py", line 339, in __call__
  File "build/bdist.macosx-10.3-fat/egg/genshi/output.py", line 826, in __call__
  File "build/bdist.macosx-10.3-fat/egg/genshi/output.py", line 670, in __call__
  File "build/bdist.macosx-10.3-fat/egg/genshi/output.py", line 771, in __call__
  File "build/bdist.macosx-10.3-fat/egg/genshi/output.py", line 586, in __call__
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 288, in _ensure
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/chrome.py", line 945, in _strip_accesskeys
    for kind, data, pos in stream:
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 288, in _ensure
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/chrome.py", line 934, in _generate
    for kind, data, pos in stream:
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 288, in _ensure
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 605, in _include
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 378, in _match
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 378, in _match
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 362, in _match
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 605, in _include
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 327, in _match
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 316, in _strip
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 545, in _flatten
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 288, in _ensure
  File "build/bdist.macosx-10.3-fat/egg/genshi/path.py", line 588, in _generate
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 605, in _include
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 316, in _strip
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 545, in _flatten
  File "build/bdist.macosx-10.3-fat/egg/genshi/core.py", line 288, in _ensure
  File "build/bdist.macosx-10.3-fat/egg/genshi/path.py", line 588, in _generate
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 605, in _include
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/markup.py", line 316, in _strip
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 565, in _flatten
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/base.py", line 277, in _eval_expr
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/eval.py", line 178, in evaluate
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/templates/error.html", line 165, in <Expression u'shorten_line(repr(value))'>
    <td><code>${shorten_line(repr(value))}</code></td>
  File "build/bdist.linux-x86_64/egg/tracbzr/backend.py", line 243, in __repr__
AttributeError: 'BzrRepository' object has no attribute 'root_transport'

Tags: trac-0.12
Revision history for this message
Martin von Gagern (gagern) wrote :

Please have a look at the lp:~trac-bzr-team/trac-bzr/trac-0.12 branch. If that works for you, I guess I should merge it with current trunk and see about rolling a release.

Changed in trac-bzr:
assignee: nobody → Martin von Gagern (gagern)
importance: Undecided → Medium
milestone: none → 0.4.0
status: New → Incomplete
tags: added: trac-0.12
removed: 0.12
Revision history for this message
Vincent (vincent-) wrote :

Thanks Martin, it works :-)

Changed in trac-bzr:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.