cal-itp/data-infra

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

Opened this issue · 1 comments

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(

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.