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

EOFError: Compressed file ended before the end-of-stream marker was reached #218

Open
dagwieers opened this issue Mar 27, 2020 · 0 comments

Comments

@dagwieers
Copy link
Contributor

We are trying to make kodi-addon-checker a lot more reliable to run in a CI workflow (on GitHub CI). Unfortunately we are getting various different issues.

This one is a bit harder to tackle.

  • Can we check if the file was correctly downloaded? (check size, checksum, ...?)
  • Can we retry if any unarchiving issues happened?
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.2/x64/bin/kodi-addon-checker", line 11, in <module>
    load_entry_point('kodi-addon-checker==0.0.15', 'console_scripts', 'kodi-addon-checker')()
  File "/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/kodi_addon_checker/__main__.py", line 86, in main
    all_repo_addons = check_addon.get_all_repo_addons()
  File "/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/kodi_addon_checker/check_addon.py", line 121, in get_all_repo_addons
    repo_addons[branch] = Repository(branch, branch_url)
  File "/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/site-packages/kodi_addon_checker/addons/Repository.py", line 34, in __init__
    content = xml_file.read()
  File "/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/gzip.py", line 292, in read
    return self._buffer.read(size)
  File "/opt/hostedtoolcache/Python/3.8.2/x64/lib/python3.8/gzip.py", line 498, in read
    raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached
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