Download file error

38 views
Skip to first unread message

CYTsai

unread,
May 15, 2023, 6:43:37 AM5/15/23
to VOT Challenge technical support
Hi,  everyone, I would like to initialize a workspace for vots2023.
However, I continue encountering an error when downloading sequence files as follows:

 Downloading          |█████████████████████████                                                                                                                                    |  16% [41:03<3:35:59]
File is not a zip file
Traceback (most recent call last):
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/utilities/cli.py", line 412, in main
    do_evaluate(args)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/utilities/cli.py", line 177, in do_evaluate
    workspace = Workspace.load(config.workspace)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/workspace/__init__.py", line 143, in load
    return Workspace(directory, **config)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/workspace/__init__.py", line 162, in __init__
    Workspace.download_dataset(self.stack.dataset, dataset_directory)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/workspace/__init__.py", line 118, in download_dataset
    download_dataset(dataset, directory)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/dataset/__init__.py", line 584, in download_dataset
    download_dataset_meta(url, path)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/dataset/vot.py", line 198, in download_dataset_meta
    download_uncompress(channel_url, channel_directory)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/utilities/net.py", line 129, in download_uncompress
    extract_files(tmp_file, path)
  File "/home/rvl224/.local/lib/python3.7/site-packages/vot/utilities/__init__.py", line 169, in extract_files
    with ZipFile(file=archive) as zip_file:
  File "/usr/lib/python3.7/zipfile.py", line 1258, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

Can someone suggest how to deal with this problem?  
Thanks in advance.


luka.c...@gmail.com

unread,
May 16, 2023, 4:02:18 AM5/16/23
to VOT Challenge technical support
See: https://github.com/votchallenge/toolkit/issues/75 , we will discuss the problem there.
Reply all
Reply to author
Forward
0 new messages