Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Index out of bounds import subscriptions csv #4143

Closed
reisept opened this issue Oct 4, 2023 · 1 comment
Closed

[Bug] Index out of bounds import subscriptions csv #4143

reisept opened this issue Oct 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@reisept
Copy link

reisept commented Oct 4, 2023

Exported my subscriptions from youtube and tried to import into my local docker instance without sucess

Steps to Reproduce

  1. Go to Manage Subscriptions
  2. Click on Select Youtube csv file
  3. Click on Import
  4. See error

Logs

out 04 15:33:21 Valium fc685c00ef66[1914]: 2023-10-04 14:33:21 UTC [info] 200 GET /subscription_manager 2.16ms
out 04 15:33:22 Valium fc685c00ef66[1914]: 2023-10-04 14:33:22 UTC [info] 200 GET /api/v1/auth/subscriptions?fields=authorId 2.46ms
out 04 15:33:23 Valium fc685c00ef66[1914]: 2023-10-04 14:33:23 UTC [info] 200 GET /data_control?referer=%2Ffeed%2Fsubscriptions 2.07ms
out 04 15:33:23 Valium fc685c00ef66[1914]: 2023-10-04 14:33:23 UTC [info] 200 GET /api/v1/auth/subscriptions?fields=authorId 2.51ms
out 04 15:33:30 Valium fc685c00ef66[1914]: Exception: Index out of bounds (IndexError)
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/json/parser.cr:117:5 in 'update_data_control'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from lib/kemal/src/kemal/route.cr:12:9 in '->'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from src/invidious/helpers/handlers.cr:30:37 in 'call'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from src/ext/kemal_static_file_handler.cr:112:11 in 'call'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from lib/kemal/src/kemal/init_handler.cr:12:7 in 'process'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/http/server.cr:500:5 in '->'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from /usr/share/crystal/src/fiber.cr:146:11 in 'run'
out 04 15:33:30 Valium fc685c00ef66[1914]:   from ???

Screenshots

Additional context
OS Ubuntu 22.04
Docker 24.0.6

@reisept reisept added the bug Something isn't working label Oct 4, 2023
@RadoslavL
Copy link
Contributor

It has the same backtrace as #4069, so it could be the same underlying issue.

@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants