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

dl fails downloading xml #39

Open
mgaitan opened this issue Sep 12, 2024 · 0 comments
Open

dl fails downloading xml #39

mgaitan opened this issue Sep 12, 2024 · 0 comments

Comments

@mgaitan
Copy link
Collaborator

mgaitan commented Sep 12, 2024

$ shbin dl https://github.com/Shiphero/pastebin/blob/main/mgaitan/ci2otel/reruns_app_endpoints_tests_naruto.xml
Traceback (most recent call last):
  File "/home/tin/lab/Shiphero-API/.venv/bin/shbin", line 8, in <module>
    sys.exit(main())
  File "/home/tin/lab/Shiphero-API/.venv/lib/python3.10/site-packages/shbin.py", line 141, in main
    return download(args["<url_or_path>"], repo, user)
  File "/home/tin/lab/Shiphero-API/.venv/lib/python3.10/site-packages/shbin.py", line 114, in download
    content = content.decoded_content
  File "/home/tin/lab/Shiphero-API/.venv/lib/python3.10/site-packages/github/ContentFile.py", line 92, in decoded_content
    assert self.encoding == "base64", f"unsupported encoding: {self.encoding}"
AssertionError: unsupported encoding: none
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