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 hash key: "label" (KeyError) #5095

Open
elDoctor1996 opened this issue Nov 27, 2024 · 2 comments
Open

[Bug] Missing hash key: "label" (KeyError) #5095

elDoctor1996 opened this issue Nov 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@elDoctor1996
Copy link

Describe the bug
It appears that some words can't be used for searching videos on my Invidious Instance. In particular, I was looking for a Serie A football match, Hellas Verona - Inter. I have noticed that if i type:

  • Hellas Verona --> error
  • hellas --> error
  • verona --> is ok
  • inter --> error
  • "hellas verona inter" (with double quotes) --> is ok
  • "hellas verona - inter" (with double quotes) --> is ok
  • "inter" (with double quotes) --> error
  • juventus (without double quotes) --> is ok
  • "juventus" (with double quotes) --> error

Steps to Reproduce

  1. Go to Homepage
  2. Search the following words, as them are written, once per time:
  • Hellas Verona
  • hellas
  • inter
  • "inter"
  • "juventus"
  1. See error

Logs

Title:Missing hash key: "label" (KeyError)Date:2024-11-27T12:51:24ZRoute:/search?q=interVersion:2024.11.10-5d2dd40 @ (HEAD detached at v2.20241110.0)`

Backtrace

Missing hash key: "label" (KeyError)
  from /usr/lib/crystal/core/string.cr:5672 in 'interpolation'
  from /usr/lib/crystal/core/json/any.cr:249:3 in 'process'
  from src/invidious/yt_backend/extractors.cr:986:17 in 'parse_item'
  from src/invidious/yt_backend/extractors.cr:424:18 in 'process'
  from src/invidious/yt_backend/extractors.cr:986:17 in 'parse_item'
  from src/invidious/yt_backend/extractors.cr:1033:14 in 'extract_items'
  from /usr/lib/crystal/core/array.cr:1141:11 in 'process'
  from src/invidious/routes/search.cr:61:17 in 'search'
  from lib/kemal/src/kemal/route.cr:13:9 in '->'
  from lib/kemal/src/kemal/config.cr:92:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32: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:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from /usr/lib/crystal/core/string.cr:3075:20 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/request_processor.cr:51:11 in 'handle_client'
  from /usr/lib/crystal/core/fiber.cr:143:11 in 'run'
  from ???

`

Screenshots

bug

Additional context

  • Browsers used: Mozilla Firefox and Google Chrome (both updated at the last version)
  • Invidious Host server OS: Raspbian
  • Deployed on: Docker
  • Invidious docker image used: latest-arm (ecdfe60cd63957732ff271ee982e853af1b08cb4082ca1a1ce935cbff1fbc654)
  • Both with and without VPN scenario
@alexandervlpl
Copy link

alexandervlpl commented Dec 26, 2024

To be clear: this only affect the web UI where it's still making search totally unusable for me. 😢
The same instance with Clipious is fine though!

@himazawa

This comment has been minimized.

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