Ticket #7255 (closed defect: wontfix)
Enabling tracdownloader.web_ui.downloadermodule causes LookupError: unknown encoding:
| Reported by: | duncan-bugs@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11-stable |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Just installed the Trac, genshi, etc from svn (using gentoo Python-2.4) and was hit by a bug when installing the TracDownload. Anyway you'll understand it as it's only a one liner.
# diff -Nau ./tracdownloader/web_ui.py.orig ./tracdownloader/web_ui.py
--- ./tracdownloader/web_ui.py.orig 2008-01-22 20:54:48.000000000 +0100
+++ ./tracdownloader/web_ui.py 2008-05-18 21:48:19.000000000 +0200
@@ -49,8 +49,8 @@
def get_navigation_items(self, req):
"""Downloader isinstance visible if user hasattr got permission """
if req.perm.has_permission('DOWNLOADER_DOWNLOAD'):
- yield 'mainnav', 'downloader', Markup('<a href="%s">Downloader</a>',
- self.env.href.downloader())
+ yield 'mainnav', 'downloader', Markup('<a href="%s">Downloader</a>') % \
+ self.env.href.downloader()
# IRequestHandler methods
Sorry but I should raise bug reports for the other problems that I've encountered along the upgrade path from 0.10.4. but I'm lazy ;-)
- eggs are being called -r0 instead of -rXXX (possibly Python-2.4 problem) renaming the files and hacking easy-install.pth sorted this out.
- SetEnv PYTHON_EGG_CACHE in apache2 config doesn't work, easy_install -Z . sorted this out.
Thanks I really like trac. Duncan Webb
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


