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

BadZipFile error for some replays #18

Open
Kaszanas opened this issue Apr 23, 2022 · 0 comments
Open

BadZipFile error for some replays #18

Kaszanas opened this issue Apr 23, 2022 · 0 comments

Comments

@Kaszanas
Copy link
Owner

This needs to be looked into.

ERROR:root:zipfile error was raised
Traceback (most recent call last):
  File "f:\Projects\SC2EGSet_Experiments\src\dataset\utils\zip_utils.py", line 31, in unpack_zipfile
    zip_file.extract(member, path_to_extract)
  File "C:\Users\kasza\.pyenv\pyenv-win\versions\3.10.2\lib\zipfile.py", line 1617, in extract
    return self._extract_member(member, path, pwd)
  File "C:\Users\kasza\.pyenv\pyenv-win\versions\3.10.2\lib\zipfile.py", line 1689, in _extract_member        
    shutil.copyfileobj(source, target)
  File "C:\Users\kasza\.pyenv\pyenv-win\versions\3.10.2\lib\shutil.py", line 195, in copyfileobj
    buf = fsrc_read(length)
  File "C:\Users\kasza\.pyenv\pyenv-win\versions\3.10.2\lib\zipfile.py", line 923, in read
    data = self._read1(n)
  File "C:\Users\kasza\.pyenv\pyenv-win\versions\3.10.2\lib\zipfile.py", line 1013, in _read1
    self._update_crc(data)
  File "C:\Users\kasza\.pyenv\pyenv-win\versions\3.10.2\lib\zipfile.py", line 941, in _update_crc
    raise BadZipFile("Bad CRC-32 for file %r" % self.name)
zipfile.BadZipFile: Bad CRC-32 for file '138403fd434342459b7382639a222b91.SC2Replay.json'
@Kaszanas Kaszanas pinned this issue Apr 23, 2022
@Kaszanas Kaszanas unpinned this issue Jul 25, 2022
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