Modify ↓
Opened 17 years ago
Closed 16 years ago
#282 closed defect (fixed)
Bitten timeline event provider is broken w/ the latest Trac and Genshi dev. release
Reported by: | manu.blot@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | Trac plugin | Version: | dev |
Keywords: | Cc: | ||
Operating System: | BSD |
Description
Since I've upgraded Trac and Genshi, the Timeline page in Trac fails with the following error:
Builds event provider (BuildController) failed: LookupError: unknown encoding: build-project
System Information
Trac: 0.11dev-r6886 Python: 2.5 (release25-maint, Dec 9 2006, 14:35:53) setuptools: 0.6c3 SQLite: 3.3.8 pysqlite: 2.3.2 Genshi: 0.5dev-r847 Pygments: 0.9 Subversion: 1.4.2 (r22196) jQuery: 1.2.3
(using the branches/experimental/trac-0.11 branch)
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by anonymous
- Priority changed from blocker to major
comment:2 Changed 17 years ago by Emmanuel Blot <manu.blot@…>
comment:3 Changed 17 years ago by Emmanuel Blot <manu.blot@…>
With Genshi 0.5-pre, the following patch seems to work
-
bitten/web_ui.py
490 490 for step, error in errors: 491 491 if step not in steps: 492 492 steps.append(step) 493 steps = [Markup('<em>%s</em>' ,step) for step in steps]493 steps = [Markup('<em>%s</em>' % step) for step in steps] 494 494 if len(steps) < 2: 495 495 message = steps[0] 496 496 elif len(steps) == 2: … … 498 498 elif len(steps) > 2: 499 499 message = Markup(', ').join(steps[:-1]) + ', and ' + \ 500 500 steps[-1] 501 message = Markup('Step%s %s failed' ,502 len(steps) != 1 and 's' or '', message)501 message = Markup('Step%s %s failed' % \ 502 (len(steps) != 1 and 's' or '', message)) 503 503 yield event_kinds[status], href, title, stopped, None, message 504 504 505 505 # Internal methods
comment:4 follow-up: ↓ 5 Changed 16 years ago by ebray
This was fixed by cmlenz in r551.
comment:5 in reply to: ↑ 4 Changed 16 years ago by dfraser
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
The Trac log shows the following details about the error: