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

ValueError: Unparseable zip: File/directory structure within zipfile cannot be unpacked #3313

Open
cal-itp-sentry bot opened this issue Mar 20, 2024 · 1 comment

Comments

@cal-itp-sentry
Copy link

Sentry Issue: CAL-ITP-DATA-INFRA-27T5

ValueError: Unparseable zip: File/directory structure within zipfile cannot be unpacked
  File "unzip_gtfs_schedule.py", line 165, in unzip_individual_feed
    zipfile_files, zipfile_md5_hash = process_feed_files(
  File "unzip_gtfs_schedule.py", line 125, in process_feed_files
    raise ValueError(
@evansiroky
Copy link
Member

This error is occurring with the City of Morro Bay file: https://www.morrobayca.gov/DocumentCenter/View/18183/Morro-Bay-GTFS

The GTFS Schedule parser should be able to first try to find various files in the base folder and only if it can't then it can look into subdirectories.

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

No branches or pull requests

1 participant