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

Worker thread caught an exception: Error -3 while decompressing: invalid code lengths se #11

Open
disanda opened this issue Aug 16, 2020 · 0 comments

Comments

@disanda
Copy link

disanda commented Aug 16, 2020

Worker thread caught an exception:
Traceback (most recent call last):
File "h5tool.py", line 97, in run
result = func(*args)
File "h5tool.py", line 146, in task_func
return process_func(prepared)
File "h5tool.py", line 573, in process_func
delta_bytes = zip.read('delta%05d.dat' % idx)
File "/home/disanda/anaconda3/envs/py27/lib/python2.7/zipfile.py", line 958, in read
return self.open(name, "r", pwd).read()
File "/home/disanda/anaconda3/envs/py27/lib/python2.7/zipfile.py", line 653, in read
data = self.read1(n)
File "/home/disanda/anaconda3/envs/py27/lib/python2.7/zipfile.py", line 707, in read1
max(n - len_readbuffer, self.MIN_READ_SIZE)
error: Error -3 while decompressing: invalid code lengths set

Traceback (most recent call last):
File "h5tool.py", line 696, in
execute_cmdline(sys.argv)
File "h5tool.py", line 691, in execute_cmdline
func(**vars(args))
File "h5tool.py", line 597, in create_celeba_hq
for orig_fn, aimg64, aimg128, aimg256, aimg512, aimg1024 in pool.process_items_concurrently(fields['idx'], process_func=process_func, max_items_in_flight=num_tasks):
File "h5tool.py", line 161, in process_items_concurrently
for res in retire_result(): yield res
File "h5tool.py", line 149, in retire_result
processed, (prepared, idx) = self.get_result(task_func)
File "h5tool.py", line 126, in get_result
raise result.type, result.value
zlib.error: Error -3 while decompressing: invalid code lengths set

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