Modify

Opened 6 years ago

Closed 3 years ago

#5283 closed defect (duplicate)

Can't install TracDownloader on 0.11

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

Description (last modified by rjollos)

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 5 years ago by rjollos

#5303 is a duplicate.

comment:2 Changed 3 years ago by rjollos

  • Description modified (diff)
  • Owner changed from peca to rjollos
  • Status changed from new to assigned

Fixed in #5540.

comment:3 Changed 3 years ago by rjollos

  • Resolution set to duplicate
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.