invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Bug] Channels - Missing hash key: "interactiveTabbedHeaderRenderer"

Open ungamestudios opened this issue 4 years ago • 9 comments

Describe the bug On YouTube-created channels there is a display bug.

Steps to Reproduce

  1. Search 'gaming'
  2. Click on the channel 'Gaming' with this description: 'YouTube's gaming channel, featuring news, reviews, playthroughs, and more. This channel was generated automatically by YouTube ...'
  3. See error

Logs Title: Missing hash key: "interactiveTabbedHeaderRenderer" (KeyError) Date: 2021-06-08T13:36:18Z Route: /channel/UCOpNcN46UbXVtpKMrmU4Abg Version: 2021.05.28-93f6252 @ master

Backtrace

Missing hash key: "interactiveTabbedHeaderRenderer" (KeyError)
  from /usr/share/crystal/src/hash.cr:1030:9 in '[]'
  from src/invidious/channels.cr:831:14 in 'get_about_info'
  from src/invidious.cr:1672:15 in '->'
  from lib/kemal/src/kemal/route.cr:13:9 in '->'
  from /usr/share/crystal/src/primitives.cr:255:3 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/static_file_handler.cr:189:11 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from lib/kemal/src/kemal/init_handler.cr:12:7 in 'process'
  from /usr/share/crystal/src/http/server.cr:498:5 in '->'
  from /usr/share/crystal/src/primitives.cr:255:3 in 'run'
  from ???

ungamestudios avatar Jun 08 '21 13:06 ungamestudios

You can add the logs back into the github issue, they're made for that :)

SamantazFox avatar Jun 08 '21 23:06 SamantazFox

oh lol it didn't display properly lmao

ungamestudios avatar Jun 09 '21 14:06 ungamestudios

Here, did it for you :)

SamantazFox avatar Jun 10 '21 14:06 SamantazFox

Also applies to invalid (and deleted) channels. See #2214

syeopite avatar Jun 26 '21 22:06 syeopite

Server logs

[error] RefreshChannelsJob: UCOpNcN46UbXVtpKMrmU4Abg : Could not extract JSON. Youtube API returned error 400 with message:<br>"Request contains an invalid argument."
[error] RefreshChannelsJob: UCOpNcN46UbXVtpKMrmU4Abg fiber : backing off for 00:01:04s

Perflyst avatar Jul 01 '21 21:07 Perflyst

Server logs

[error] RefreshChannelsJob: UCOpNcN46UbXVtpKMrmU4Abg : Could not extract JSON. Youtube API returned error 400 with message:<br>"Request contains an invalid argument."
[error] RefreshChannelsJob: UCOpNcN46UbXVtpKMrmU4Abg fiber : backing off for 00:01:04s

So something is either missing or in excess in the request made to youtube's "innertube" API. I guess that auto-generated channel don't require the same browse andpoint parameters as normal channels.

SamantazFox avatar Jul 02 '21 15:07 SamantazFox

same here

Title: Missing hash key: "interactiveTabbedHeaderRenderer" (KeyError) Date: 2021-07-28T10:09:30Z Route: /channel/UClgRkhTL3_hImCAmdLfDE4g Version: 2021.07.27-5c76cda @ master

Backtrace

Missing hash key: "interactiveTabbedHeaderRenderer" (KeyError)
  from /usr/lib/crystal/core/hash.cr:1027:11 in '[]'
  from /usr/lib/crystal/core/json/any.cr:102:7 in '[]'
  from src/invidious/channels/about.cr:53:14 in 'get_about_info'
  from src/invidious.cr:1669:15 in '->'
  from /usr/lib/crystal/core/primitives.cr:255:3 in '->'
  from /usr/lib/crystal/core/primitives.cr:255:3 in 'process_request'
  from lib/kemal/src/kemal/route_handler.cr:17:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from lib/kemal/src/kemal/websocket_handler.cr:13:14 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:212:5 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:145:12 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:70:5 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/static_file_handler.cr:189:11 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from src/invidious/helpers/logger.cr:17:35 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next'
  from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call'
  from /usr/lib/crystal/core/http/server/request_processor.cr:51:11 in 'process'
  from /usr/lib/crystal/core/http/server.cr:513:5 in 'handle_client'
  from /usr/lib/crystal/core/http/server.cr:468:13 in '->'
  from /usr/lib/crystal/core/primitives.cr:255:3 in 'run'
  from /usr/lib/crystal/core/fiber.cr:92:34 in '->'
  from ???

mizzunet avatar Jul 28 '21 10:07 mizzunet

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.

github-actions[bot] avatar Apr 12 '23 01:04 github-actions[bot]

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.

github-actions[bot] avatar Jun 11 '24 01:06 github-actions[bot]