invidious
invidious copied to clipboard
[Bug] Index out of bounds (IndexError) - subscriptions
Describe the bug Can't view subscription
Steps to Reproduce Go to subscriptions feed
Logs
Title: Index out of bounds (IndexError)
Date: 2023-02-23T19:25:15Z
Route: /feed/subscriptions
Version: 2023.02.22-0995e044 @ master
Backtrace
Index out of bounds (IndexError)
from /usr/lib/crystal/crystal/spin_lock.cr:25:5 in 'unbuffered_write'
from lib/pg/src/pq/connection.cr:99:7 in 'send_parse_message'
from lib/pg/src/pg/statement.cr:13:5 in 'query_all:as'
from src/invidious/users.cr:179:18 in 'get_subscription_feed'
from src/invidious/routes/feeds.cr:97:29 in 'subscriptions'
from lib/kemal/src/kemal/route.cr:13:9 in '->'
from src/invidious/helpers/handlers.cr:30:37 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call'
from /usr/lib/crystal/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/http/server/handler.cr:28:7 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call_next'
from src/invidious/helpers/handlers.cr:94:12 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call_next'
from src/invidious/helpers/handlers.cr:151:29 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call_next'
from src/ext/kemal_static_file_handler.cr:106:14 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call'
from /usr/lib/crystal/http/server/handler.cr:28:7 in 'call'
from /usr/lib/crystal/http/server/request_processor.cr:51:11 in 'process'
from /usr/lib/crystal/http/server.cr:500:5 in '->'
from /usr/lib/crystal/fiber.cr:146:11 in 'run'
from ???
Note to Invidious team: subscriptions file sent in the private matrix channel
Which instance are you using?
Running my own: https://inv.pigg.es
Did you try to recreate your account? To which channels are you subscribed so we can try to replicate the bug on our side?
I created a new account and as soon as I imported the subscriptions I got the same problem. Where could I send you the subscriptions list?
If you don't mind publicly sharing them you can upload them on github. You may have to compress it in zip before.
Or you can send it in private on matrix: https://matrix.to/#/@unixfox:matrix.org
I am having the same issue if you need additional .csv files.
I came to the conclusion that it was something with the watch history since it started working again when I cleared it.
Watch history of what? I am trying this on a new instance I haven't used before, with a brand new account and no history.
Same trouble here. Fresh install as docker container. Exported my CSV using Google Takeout and I get the infamous Out of bounds error.
Title: Index out of bounds (IndexError)
Date: 2024-06-25T18:01:57Z
Route: /data_control?referer=%2Fwatch%3Fv%3Dn5827qaMhOs%26listen%3Dfalse
Version: 2024.04.27-eda7444 @ master
Backtrace
Index out of bounds (IndexError)
from /usr/share/crystal/src/json/any.cr:237:3 in 'update_data_control'
from lib/kemal/src/kemal/route.cr:12:9 in '->'
from src/invidious/helpers/handlers.cr:30:37 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30: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:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
from src/invidious/helpers/handlers.cr:94:12 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
from src/ext/kemal_static_file_handler.cr:112:11 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'handle_client'
from /usr/share/crystal/src/fiber.cr:146:11 in 'run'
from ???