iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.18k stars 1.79k forks source link

[Bug] Index out of bounds (IndexError) #4764

Closed puppinoo closed 3 months ago

puppinoo commented 3 months ago

Hi, I tried to import my subscriptions.csv (my account is italia) and this happened:

Title: Index out of bounds (IndexError) Date: 2024-06-25T17:43:09Z Route: /data_control?referer=%2Ffeed%2Fsubscriptions Version: 2024.06.05-9248b3c1 @ master

Backtrace

``` Index out of bounds (IndexError) from /usr/share/crystal/src/http/formdata.cr:121:11 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: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' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from src/invidious/helpers/handlers.cr:94:12 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 src/ext/kemal_static_file_handler.cr:112: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' from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'process' from /usr/share/crystal/src/http/server.cr:500:5 in '->' from /usr/share/crystal/src/fiber.cr:146:11 in 'run' from ??? ```

unixfox commented 3 months ago

https://github.com/iv-org/invidious/issues/3659

puppinoo commented 3 months ago

I'm sorry but I have no idea of what I am supposed to do (if anything). Do I have to clear some watch history?

Thanks.

unixfox commented 3 months ago

It's a bug. A fix will come at some point. For the moment you are stuck that's it.

Please continue the discussion in https://github.com/iv-org/invidious/issues/3659