invidious
invidious copied to clipboard
[Bug] Channels - Missing hash key: "interactiveTabbedHeaderRenderer"
Describe the bug On YouTube-created channels there is a display bug.
Steps to Reproduce
- Search 'gaming'
- 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 ...'
- 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 ???
You can add the logs back into the github issue, they're made for that :)
oh lol it didn't display properly lmao
Here, did it for you :)
Also applies to invalid (and deleted) channels. See #2214
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
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.
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 ???
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.
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.