Opened 10 years ago

Closed 10 years ago

#2447 closed defect (invalid)

some exceptions with 0.11

Reported by: rupert thurner Owned by: Radek Bartoň
Priority: normal Component: DownloadsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


i installed it yesterday (not sure if it was the final 0.11 version or not), and clicking in the admin panel gives:

TypeError: process_downloads() takes exactly 2 arguments (3 given)

File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/web/", line 406, in _dispatch_request


File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/web/", line 195, in dispatch

resp = chosen_handler.process_request(req)

File "/opt/csw/testing/lib/python/site-packages/Trac-0.11dev_r6398-py2.5.egg/trac/admin/", line 108, in process_request


File "build/bdist.solaris-2.10-sun4u/egg/tracdownloads/", line 44, in render_admin_panel

now i tried to reinstall, and it gives:

# easy_install --prefix /opt/csw/testing Downloading Doing subversion checkout from to /tmp/easy_install-Jk-dyv/0.11 Processing 0.11 Running -q bdist_egg --dist-dir /tmp/easy_install-Jk-dyv/0.11/egg-dist-tmp-OTfM8r zip_safe flag not set; analyzing archive contents... TracDownloads 0.2 is already the active version in easy-install.pth

Installed /opt/csw/testing/lib/python2.5/site-packages/TracDownloads-0.2-py2.5.egg Processing dependencies for TracDownloads==0.2 Traceback (most recent call last):

File "/opt/csw/bin/easy_install", line 8, in <module>

load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install')()

File "/opt/csw/lib/python/site-packages/", line 1670, in main

File "/opt/csw/lib/python/site-packages/", line 1659, in with_ei_usage

File "/opt/csw/lib/python/site-packages/", line 1674, in <lambda>

File "/opt/csw/lib/python/distutils/", line 151, in setup


File "/opt/csw/lib/python/distutils/", line 974, in run_commands


File "/opt/csw/lib/python/distutils/", line 994, in run_command

File "/opt/csw/lib/python/site-packages/", line 211, in run

File "/opt/csw/lib/python/site-packages/", line 422, in easy_install

File "/opt/csw/lib/python/site-packages/", line 473, in install_item

File "/opt/csw/lib/python/site-packages/", line 519, in process_distribution

File "/opt/csw/lib/python/site-packages/", line 529, in resolve


File "/opt/csw/lib/python/site-packages/", line 2107, in requires

dm = self._dep_map

File "/opt/csw/lib/python/site-packages/", line 2099, in _dep_map

for extra,reqs in split_sections(self._get_metadata(name)):

File "/opt/csw/lib/python/site-packages/", line 2518, in split_sections

for line in yield_lines(s):

File "/opt/csw/lib/python/site-packages/", line 1813, in yield_lines

for ss in strs:

File "/opt/csw/lib/python/site-packages/", line 2121, in _get_metadata

for line in self.get_metadata_lines(name):

File "/opt/csw/lib/python/site-packages/", line 1140, in get_metadata_lines

return yield_lines(self.get_metadata(name))

File "/opt/csw/lib/python/site-packages/", line 1137, in get_metadata

return self._get(self._fn(self.egg_info,name))

File "/opt/csw/lib/python/site-packages/", line 1195, in _get

return self.loader.get_data(path)

zipimport.ZipImportError: bad local file header in /opt/csw/testing/lib/python2.5/site-packages/TracDownloads-0.2-py2.5.egg

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Radek Bartoň

I made two changesets about port to 0.11 yesterday. If the first version you've tried is not r3114, delete DownloadsPlugin files in your /opt/csw/testing/lib/python2.5/site-packages/ and install r3114 aggain. If you tried this version already (which I doubt) just let me know.

comment:2 Changed 10 years ago by Radek Bartoň

Status: newassigned

comment:3 Changed 10 years ago by Radek Bartoň

Resolution: invalid
Status: assignedclosed

I'm quite sure that this was caused by not finished version so I'm closing it. Reopen if does same thing with lastest revision.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
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.