Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Orleans feed does not open in python zipfile module #39

Open
demory opened this issue Oct 23, 2012 · 1 comment
Open

New Orleans feed does not open in python zipfile module #39

demory opened this issue Oct 23, 2012 · 1 comment
Labels

Comments

@demory
Copy link

demory commented Oct 23, 2012

unzip on command line works fine


New Orleans Regional Transit Authority_6345: 1
process standalone: 1c0b4a6d-7542-46e8-8e81-4c53680e3033
 shortening
Traceback (most recent call last):
  File "/var/otp/resources/process_gtfs/shortenGtfsFeed.py", line 38, in <module>
    with ZipFile(infileName) as infile:
  File "/usr/lib/python2.7/zipfile.py", line 712, in __init__
    self._GetContents()
  File "/usr/lib/python2.7/zipfile.py", line 746, in _GetContents
    self._RealGetContents()
  File "/usr/lib/python2.7/zipfile.py", line 761, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
@novalis
Copy link

novalis commented Oct 24, 2012

This works for me locally on Python 2.7.3. Let's try upgrading Python on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants