Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

zipimport.ZipImportError: when installing masterticktesplugin

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


rupert.thurner at gmail

Jul 16, 2008, 6:46 AM

Post #1 of 2 (195 views)
Permalink
zipimport.ZipImportError: when installing masterticktesplugin

what could be the reason for the following error when trying to
install masterticketsplugin ... but also happening to other plugins?
is this an easy_install thing, or a libz thing, or something else?

# easy_install http://trac-hacks.org/svn/masterticketsplugin/0.11/
Downloading http://trac-hacks.org/svn/masterticketsplugin/0.11/
Doing subversion checkout from http://trac-hacks.org/svn/masterticketsplugin/0.11/
to /tmp/easy_install-zqZNfa/0.11
Processing 0.11
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-zqZNfa/0.11/
egg-dist-tmp-GKB1oL
zip_safe flag not set; analyzing archive contents...
TracMasterTickets 2.1.2 is already the active version in easy-
install.pth

Installed /opt/csw/lib/python/site-packages/TracMasterTickets-2.1.2-
py2.5.egg
Processing dependencies for TracMasterTickets==2.1.2
Traceback (most recent call last):
File "/opt/csw/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c8', 'console_scripts',
'easy_install')()
File "/opt/csw/lib/python/site-packages/easy_install.py", line 1671,
in main

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

File "/opt/csw/lib/python/site-packages/easy_install.py", line 1675,
in <lambda>

File "/opt/csw/lib/python/distutils/core.py", line 151, in setup
dist.run_commands()
File "/opt/csw/lib/python/distutils/dist.py", line 974, in
run_commands
self.run_command(cmd)
File "/opt/csw/lib/python/distutils/dist.py", line 994, in
run_command
cmd_obj.run()
File "/opt/csw/lib/python/site-packages/easy_install.py", line 211,
in run

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

File "/opt/csw/lib/python/site-packages/easy_install.py", line 478,
in install_item

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

File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 529,
in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
2107, in requires
dm = self._dep_map
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
2099, in _dep_map
for extra,reqs in split_sections(self._get_metadata(name)):
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
2518, in split_sections
for line in yield_lines(s):
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
1813, in yield_lines
for ss in strs:
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
2121, in _get_metadata
for line in self.get_metadata_lines(name):
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
1140, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
1137, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line
1195, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /opt/csw/lib/python/
site-packages/TracMasterTickets-2.1.2-py2.5.egg

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


hyugaricdeau at gmail

Jul 16, 2008, 7:20 AM

Post #2 of 2 (182 views)
Permalink
Re: zipimport.ZipImportError: when installing masterticktesplugin [In reply to]

On Wed, Jul 16, 2008 at 9:46 AM, rupert thurner
<rupert.thurner[at]gmail.com> wrote:
>
> what could be the reason for the following error when trying to
> install masterticketsplugin ... but also happening to other plugins?
> is this an easy_install thing, or a libz thing, or something else?
>
> # easy_install http://trac-hacks.org/svn/masterticketsplugin/0.11/
> Downloading http://trac-hacks.org/svn/masterticketsplugin/0.11/
> Doing subversion checkout from http://trac-hacks.org/svn/masterticketsplugin/0.11/
> to /tmp/easy_install-zqZNfa/0.11
> Processing 0.11
> Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-zqZNfa/0.11/
> egg-dist-tmp-GKB1oL
> zip_safe flag not set; analyzing archive contents...
> TracMasterTickets 2.1.2 is already the active version in easy-
> install.pth
>

> zipimport.ZipImportError: bad local file header in /opt/csw/lib/python/
> site-packages/TracMasterTickets-2.1.2-py2.5.egg

That's a known problem in setuptools (I thought it was fixed by now)
when installing multiple versions. Just try to rm
/opt/csw/lib/python/site-packages/TracMasterTickets*.egg and then use
easy_install again.

Erik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.