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] Missing column index: 4 (IndexError) #4677

Open
christerjohansson opened this issue May 2, 2024 · 2 comments
Open

[Bug] Missing column index: 4 (IndexError) #4677

christerjohansson opened this issue May 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@christerjohansson
Copy link

Title: Missing column index: 4 (IndexError)
Date: 2024-05-02T21:46:39Z
Route: /data_control?referer=%2Ffeed%2Fplaylists
Version: 2024.04.27-eda7444 @ master

Backtrace

Missing column index: 4 (IndexError)
  from /usr/share/crystal/src/csv.cr:315:5 in '[]'
  from src/invidious/user/imports.cr:40:15 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 ???

@christerjohansson christerjohansson added the bug Something isn't working label May 2, 2024
@SamantazFox
Copy link
Member

Could you please provide more details regarding your problem?
If you tried to import data from another platform, can you please provide the relevant file (It can be done privately if you want).

@christerjohansson
Copy link
Author

christerjohansson commented May 20, 2024

Lifestyle-2024-05-20.csv

Here's a exported CSV from Youtube, a playlist called Lifestyle. I can't import it no matter how I format it.

EDIT: Tried using the TakeOut export as well, But to to no avail.

Example on CSV from export

Kanal-id,Kanalens webbadress,Kanaltitel
UC-5HLi3buMzdxjdTdic3Aig,http://www.youtube.com/channel/UC-5HLi3buMzdxjdTdic3Aig,The Modern Investor
UC-7nELDbJEPF3muAzSeT74g,http://www.youtube.com/channel/UC-7nELDbJEPF3muAzSeT74g,Disrupt
UC-91UA-Xy2Cvb98deRXuggA,http://www.youtube.com/channel/UC-91UA-Xy2Cvb98deRXuggA,Joshua Fluke
UC-MfnwB7hvcrqq8W2jDLEtA,http://www.youtube.com/channel/UC-MfnwB7hvcrqq8W2jDLEtA,Coding Homework
UC-N44TadAniwC7v8Zj858nQ,http://www.youtube.com/channel/UC-N44TadAniwC7v8Zj858nQ,Jamesons Travels

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

2 participants