mapillary / mapillary_sls

Mapillary Street-level Sequences Dataset
https://github.com/mapillary/mapillary_sls/blob/main/README.md
MIT License
106 stars 15 forks source link

Challenge: BadZipfile #8

Closed Tobias-Fischer closed 4 years ago

Tobias-Fischer commented 4 years ago

Hiya, I get the following error when trying to submit to the challenge:

Traceback (most recent call last):
  File "/worker/worker.py", line 313, in run
    bundles = get_bundle(root_dir, 'run', bundle_url)
  File "/worker/worker.py", line 173, in get_bundle
    metadata[k] = get_bundle(bundle_path, k, v)
  File "/worker/worker.py", line 173, in get_bundle
    metadata[k] = get_bundle(bundle_path, k, v)
  File "/worker/worker.py", line 132, in get_bundle
    with ZipFile(bundle_file.file, 'r') as z:
  File "/usr/local/lib/python2.7/zipfile.py", line 770, in __init__
    self._RealGetContents()
  File "/usr/local/lib/python2.7/zipfile.py", line 811, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file

The zip file contains only the predictions.csv file. I can open the zipfile alright in a Python 2 environment on my local machine. I tried several ways to compress the zip file, too. I attach one of the zip files that didn't work.

It would be great if you could let me know how to get around this issue.

Best, Tobias predictions.zip

mlopezantequera commented 4 years ago

Hi @Tobias-Fischer , thanks for the heads-up. We're looking into this, will let you know once it's fixed

mlopezantequera commented 4 years ago

@Tobias-Fischer , the issue is fixed now. Can you try again?

Tobias-Fischer commented 4 years ago

Yes that's working now, thanks @mlopezantequera