← Back to team overview

touch-packages team mailing list archive

[Bug 444407] Re: easy_install crashed with ZipImportError in _get()

 

This version is outdated and no more supported

** Changed in: python-setuptools (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/444407

Title:
  easy_install crashed with ZipImportError in _get()

Status in python-setuptools package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: python-setuptools

  1)
  lsb_release -rd
  Description:    Ubuntu karmic (development branch)
  Release:        9.10

  2)
  apt-cache policy python-setuptools
  python-setuptools:
    Installed: 0.6c9-0ubuntu5
    Candidate: 0.6c9-0ubuntu5
    Version table:
   *** 0.6c9-0ubuntu5 0
          500 http://de.archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status

  3)
  sudo easy_install TracHideVals-1.1-py2.6.egg -> install the egg

  4)
  sudo easy_install TracHideVals-1.1-py2.6.egg                                                                               
  Processing TracHideVals-1.1-py2.6.egg                                                                                                                                          
  Removing /usr/local/lib/python2.6/dist-packages/TracHideVals-1.1-py2.6.egg                                                                                                     
  Copying TracHideVals-1.1-py2.6.egg to /usr/local/lib/python2.6/dist-packages                                                                                                   
  TracHideVals 1.1 is already the active version in easy-install.pth                                                                                                             

  Installed /usr/local/lib/python2.6/dist-packages/TracHideVals-1.1-py2.6.egg
  Processing dependencies for TracHideVals==1.1                              
  Traceback (most recent call last):                                         
    File "/usr/bin/easy_install", line 8, in <module>                        
      load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1717, in main
      with_ei_usage(lambda:                                                                       
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1705, in with_ei_usage
      return f()                                                                                           
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1721, in <lambda>     
      distclass=DistributionWithoutHelpCommands, **kw                                                      
    File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
      dist.run_commands()
    File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 229, in run
      self.easy_install(spec, not self.no_deps)
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 445, in easy_install
      return self.install_item(None, spec, tmpdir, deps, True)
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 496, in install_item
      self.process_distribution(spec, dist, deps)
    File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 537, in process_distribution
      [requirement], self.local_index, self.easy_install
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 529, in resolve
      requirements.extend(dist.requires(req.extras)[::-1])
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2108, in requires
      dm = self._dep_map
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2100, in _dep_map
      for extra,reqs in split_sections(self._get_metadata(name)):
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2519, in split_sections
      for line in yield_lines(s):
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1813, in yield_lines
      for ss in strs:
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2122, in _get_metadata
      for line in self.get_metadata_lines(name):
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1140, in get_metadata_lines
      return yield_lines(self.get_metadata(name))
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1137, in get_metadata
      return self._get(self._fn(self.egg_info,name))
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1197, in _get
      return self.loader.get_data(path)
  zipimport.ZipImportError: bad local file header in /usr/local/lib/python2.6/dist-packages/TracHideVals-1.1-py2.6.egg

  ProblemType: Crash
  Architecture: i386
  Date: Tue Oct  6 11:44:43 2009
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/easy_install
  InterpreterPath: /usr/bin/python2.6
  Package: python-setuptools 0.6c9-0ubuntu5
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/easy_install TracHideVals-1.1-py2.6.egg
  ProcEnviron:
   PATH=(custom, no user)
   LANG=C
   LANGUAGE=
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
  PythonArgs: ['/usr/bin/easy_install', 'TracHideVals-1.1-py2.6.egg']
  SourcePackage: python-setuptools
  Title: easy_install crashed with ZipImportError in _get()
  Uname: Linux 2.6.31-11-generic i686
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/444407/+subscriptions