Modify

Opened 15 years ago

Closed 13 years ago

#5540 closed defect (fixed)

TracDownloader crashes Trac

Reported by: anonymous Owned by: Ryan J Ollos
Priority: high Component: TracDownloaderPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Hi,

Whenever I have the TracDownloader egg installed (placed in plugins folder), I get this error message when trying to load any page on my trac:

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Trac-0.11.4-py2.5.egg\trac\web\api.py", line 367, in send_error
    'text/html')
  File "c:\python25\lib\site-packages\Trac-0.11.4-py2.5.egg\trac\web\chrome.py", line 708, in render_template
    data = self.populate_data(req, data)
  File "c:\python25\lib\site-packages\Trac-0.11.4-py2.5.egg\trac\web\chrome.py", line 618, in populate_data
    d['chrome'].update(req.chrome)
  File "c:\python25\lib\site-packages\Trac-0.11.4-py2.5.egg\trac\web\api.py", line 194, in __getattr__
    value = self.callbacks[name](self)
  File "c:\python25\lib\site-packages\Trac-0.11.4-py2.5.egg\trac\web\chrome.py", line 476, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build\bdist.win32\egg\tracdownloader\web_ui.py", line 53, in get_navigation_items
    self.env.href.downloader())
LookupError: unknown encoding: /my-project/downloader

How do I fix this?

Thanks.

Attachments (0)

Change History (7)

comment:1 Changed 15 years ago by anonymous

Severity: normalcritical

same error

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\trac\web\api.py", line 377, in send_error
    'text/html')
  File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 725, in render_template
    req.chrome[type_].append(
  File "C:\Python25\Lib\site-packages\trac\web\api.py", line 195, in __getattr__
    value = self.callbacks[name](self)
  File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 489, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build\bdist.win32\egg\tracdownloader\web_ui.py", line 53, in get_navigation_items
    self.env.href.downloader())
LookupError: unknown encoding: /nge/downloader

This append only when the Downloader Module is enabled.

[components]
tracdownloader.admin.downloaderadminpage = enabled
tracdownloader.web_ui.downloadermodule = enabled

==> previous error messsage

[components]
tracdownloader.admin.downloaderadminpage = enabled
tracdownloader.web_ui.downloadermodule = disable

==> no error but no ui

the plugin has been installed globaly (because local .egg need dependencies and i don't found pycatpcha for py2.5)

comment:2 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Petr Škoda to Ryan J Ollos
Status: newassigned

comment:3 Changed 13 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [11234]) Fixes #5540: Fixed encoding error in defining the navigation item for the INavigationContributor interface.

comment:4 Changed 13 years ago by anonymous

Resolution: fixed
Status: closedreopened

comment:4 Changed 13 years ago by anonymous

Resolution: fixed
Status: closedreopened

comment:5 Changed 13 years ago by Ryan J Ollos

You've reopened this, so I'm assuming you have more information to provide, like a description of why the fix isn't working for you?

comment:6 Changed 13 years ago by Ryan J Ollos

Resolution: fixed
Status: reopenedclosed

In the future, please make a comment when reopening tickets.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.