user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
540 stars 65 forks source link

"Sort by views" - 500 Uncaught Exception #187

Closed stl3 closed 10 months ago

stl3 commented 11 months ago
  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

Similar to https://github.com/user234683/youtube-local/issues/181 Occurs on all channels I tested on.

user234683 commented 10 months ago

Tracking on #181