Bug #341

bad local file header when installing python *.egg files

Added by Florian Lier over 9 years ago. Updated almost 9 years ago.

Status:RejectedStart date:2014-11-24
Priority:HighDue date:
Assignee:Florian Lier% Done:


Category:-Spent time:-
Target version:Toolkit 0.1


Since one week I randomly noticed a Jenkins error during the installation phase of python components.

 File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1425, in _get
    return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /media/local_data/flier/icub-nightly/lib/python2.7/site-packages/pyscxml-0.8.3_20120108-py2.7.egg

I saw this in pyscxml and rsb-python for instance

Associated revisions

Revision f2255807
Added by Michael Goerlich over 9 years ago

removed hack due to fix of nfs bug + build on ayq ( refs #341 )


#1 Updated by Florian Lier over 9 years ago

  • Category set to build-generator
  • Target version set to Toolkit 0.1

#2 Updated by Norman Köster over 9 years ago

If this occurs in the techfak environment, it is related to the filesystem-bug (new created files being invisible to the first process accessing them). It also happens to me when I install python projects by hand :'(

simple solution: just build it again until it works -.-

#3 Updated by Florian Lier over 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Florian Lier

Workaround in recipe:

"pre-build-hook/unix.command": "rm -rf ${toolkit.dir}/lib/python2.7/site-packages/pyscxml*.egg" 

#4 Updated by Jan Moringen over 9 years ago

  • Category deleted (build-generator)

#5 Updated by Michael Goerlich over 9 years ago

Hey, since we have a bugfree kernel and the jenkins-setup at ayq does not support the hack I removed it.

#6 Updated by Johannes Wienke over 9 years ago

I just received this error on a local volume. Are there any others ideas what could cause this?

#8 Updated by Florian Lier almost 9 years ago

Is this fixed?

#9 Updated by Johannes Wienke almost 9 years ago

  • Status changed from Feedback to Rejected

This is basically an upstream issue. We cannot deal with this here apart from giving the advice to locally upgrade setuptools and pip.

Also available in: Atom PDF