Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError: when running protonup --releases #42

Open
ace510 opened this issue Jun 27, 2024 · 1 comment
Open

TypeError: when running protonup --releases #42

ace510 opened this issue Jun 27, 2024 · 1 comment

Comments

@ace510
Copy link

ace510 commented Jun 27, 2024

Steps to reproduce:

  1. python 3.12.3
  2. pip install protonup
  3. run protonup --releases

expected result: view proton releasese

actual result
protonup --releases Traceback (most recent call last): File "/home/cetadmin/.local/bin/protonup", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/cetadmin/.local/share/pipx/venvs/protonup/lib/python3.12/site-packages/protonup/__init__.py", line 4, in main return main() ^^^^^^ File "/home/cetadmin/.local/share/pipx/venvs/protonup/lib/python3.12/site-packages/protonup/cli.py", line 47, in main for tag in fetch_releases(): ^^^^^^^^^^^^^^^^ File "/home/cetadmin/.local/share/pipx/venvs/protonup/lib/python3.12/site-packages/protonup/api.py", line 41, in fetch_releases tags.append(release['tag_name']) ~~~~~~~^^^^^^^^^^^^ TypeError: string indices must be integers, not 'str'

OS: Fedora
Python 3.12.3

@xz-dev
Copy link

xz-dev commented Dec 19, 2024

Due to Github API speed limit

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants