Modify

Opened 8 years ago

Closed 6 years ago

#5283 closed defect (duplicate)

Can't install TracDownloader on 0.11

Reported by: roman@… Owned by: Ryan J Ollos
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

I've installed PyCAPTCHA: easy_install http://svn.navi.cx/misc/trunk/pycaptcha

I've installed PIL: yum install python-imaging.

Couldn't install tracdownloaderplugin with easy-install because there is a Syntax Error in setup.py on row 23.

I've downloaded zip, removed """" from rows 21 and 22, now it looks so:

 21   install_requires = ['PyCAPTCHA >= 0.4','PIL >= 1.1.5'],[[BR]]

 22   extras_require = {},

Installed it w/o errors but when I enabled Plugin in Web Admin I receive next error from Trac:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 684, in render_template
    data = self.populate_data(req, data)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 592, in populate_data
    d['chrome'].update(req.chrome)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 168, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 460, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/tracdownloader/web_ui.py", line 53, in get_navigation_items
    self.env.href.downloader())
LookupError: unknown encoding: /downloader

Now I've disabled it in trac.ini and Trac works.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Ryan J Ollos

#5303 is a duplicate.

comment:2 Changed 6 years ago by Ryan J Ollos

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

Fixed in #5540.

comment:3 Changed 6 years ago by Ryan J Ollos

Resolution: duplicate
Status: assignedclosed

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.