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

program crash when checking update #508

Closed
3 of 4 tasks
AnodeGrindYo opened this issue Jan 28, 2023 · 0 comments
Closed
3 of 4 tasks

program crash when checking update #508

AnodeGrindYo opened this issue Jan 28, 2023 · 0 comments

Comments

@AnodeGrindYo
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

I'm submitting a ...

Description

Traceback (most recent call last):
File "youtube_viewer.py", line 965, in
File "youtube_viewer.py", line 176, in check_update
KeyError: 'tag_name'
[14248] Failed to execute script 'youtube_viewer' due to unhandled exception!

So i've checked your code, and when it tries to check https://api.github.com/repos/MShawon/YouTube-Viewer/releases/latest it return (for my ip) :
{"message":"API rate limit exceeded for XX.XXX.XXX.XX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Could you make the "check_update()" optionnal ?

Environment

- OS : windows 10
- Python : EXE without Python
- Script version : 1.7.6

config.json

{
    "http_api": {
        "enabled": true,
        "host": "0.0.0.0",
        "port": 5000
    },
    "database": true,
    "views": 99999,
    "minimum": 85.0,
    "maximum": 95.0,
    "proxy": {
        "category": "f",
        "proxy_type": "http",
        "filename": "http.txt",
        "authentication": false,
        "proxy_api": false,
        "refresh": 0.0
    },
    "background": false,
    "bandwidth": false,
    "playback_speed": 1,
    "max_threads": 10,
    "min_threads": 2
}
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