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

"Sort by oldest" - 500 Uncaught Exception #188

Open
stl3 opened this issue Dec 5, 2023 · 1 comment
Open

"Sort by oldest" - 500 Uncaught Exception #188

stl3 opened this issue Dec 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@stl3
Copy link

stl3 commented Dec 5, 2023

Traceback (most recent call last):
  File "F:\Programming\GitHub\youtube-local\python\Lib\site-packages\flask\app.py", line 1455, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Programming\GitHub\youtube-local\python\Lib\site-packages\flask\app.py", line 869, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Programming\GitHub\youtube-local\python\Lib\site-packages\flask\app.py", line 867, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Programming\GitHub\youtube-local\python\Lib\site-packages\flask\app.py", line 852, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Programming\GitHub\youtube-local\youtube\channel.py", line 537, in get_channel_page
    return get_channel_page_general_url('https://www.youtube.com/channel/' + channel_id, tab, request, channel_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Programming\GitHub\youtube-local\youtube\channel.py", line 461, in get_channel_page_general_url
    util.check_gevent_exceptions(*tasks)
  File "F:\Programming\GitHub\youtube-local\youtube\util.py", line 602, in check_gevent_exceptions
    raise task.exception
  File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
  File "F:\Programming\GitHub\youtube-local\youtube\channel.py", line 236, in get_channel_tab
    content = util.fetch_url(
              ^^^^^^^^^^^^^^^
  File "F:\Programming\GitHub\youtube-local\youtube\util.py", line 359, in fetch_url
    raise FetchError(str(response.status), reason=response.reason,
youtube.util.FetchError: HTTP error during request: 500 Internal Server Error

Sorting by oldest on a channel page yields this error.
Occurs on all channels I tested on.

@user234683 user234683 added the bug Something isn't working label Jan 21, 2024
@a-arbabian
Copy link

Same with "Sort by views"!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants