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] crash when attempting to view specific channel #1869

Closed
andrewzah opened this issue Mar 5, 2021 · 2 comments
Closed

[Bug] crash when attempting to view specific channel #1869

andrewzah opened this issue Mar 5, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@andrewzah
Copy link

Describe the bug
crash report when attempting to view youtube channel

Steps to Reproduce
Enter https://www.youtube.com/channel/UCs6OTIFV53Z-EGT84lxTvqQ in search box, click on the channel (Anuja Kamat).
Logs

Title: `unexpected token '' at line 1, column 1 (JSON::ParseException)`
Date: `2021-03-05T21:02:20Z`
Route: `/channel/UCs6OTIFV53Z-EGT84lxTvqQ`
Version: `2021.02.05-88042d2 @ master`
<details>
<summary>Backtrace</summary>
<p>   
unexpected token '<EOF>' at line 1, column 1 (JSON::ParseException)
  from /usr/share/crystal/src/json/parser.cr:125:5 in 'parse_exception'
  from /usr/share/crystal/src/json/parser.cr:121:5 in 'unexpected_token'
  from /usr/share/crystal/src/json/parser.cr:37:7 in 'parse_value'
  from /usr/share/crystal/src/json/parser.cr:13:12 in 'parse'
  from /usr/share/crystal/src/json.cr:131:5 in 'parse'
  from /tmp/invidious/src/invidious/channels.cr:945:20 in 'get_60_videos'
  from /tmp/invidious/src/invidious.cr:1716:20 in '->'
  from /usr/share/crystal/src/primitives.cr:255:3 in '->'
  from /usr/share/crystal/src/primitives.cr:255:3 in 'process_request'
  from /tmp/invidious/lib/kemal/src/kemal/route_handler.cr:17:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/lib/kemal/src/kemal/websocket_handler.cr:13:14 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/src/invidious/helpers/handlers.cr:212:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/src/invidious/helpers/handlers.cr:145:12 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/src/invidious/helpers/handlers.cr:70:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/src/invidious/helpers/static_file_handler.cr:189:11 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/src/invidious/helpers/logger.cr:17:35 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
  from /tmp/invidious/lib/kemal/src/kemal/init_handler.cr:12:7 in 'call'
  from /usr/share/crystal/src/http/server/request_processor.cr:50:11 in 'process'
  from /usr/share/crystal/src/http/server.cr:513:5 in 'handle_client'
  from /usr/share/crystal/src/http/server.cr:468:13 in '->'
  from /usr/share/crystal/src/primitives.cr:255:3 in 'run'
  from /usr/share/crystal/src/fiber.cr:92:34 in '->'
  from ???
</p>
</details>

Additional context

@andrewzah andrewzah added the bug Something isn't working label Mar 5, 2021
@hackerncoder hackerncoder added duplicate This issue or pull request already exists and removed bug Something isn't working labels Mar 5, 2021
@hackerncoder
Copy link
Contributor

This appears to be a duplicate of #1838. If so, please comment on the appropriate existing issue instead. If you believe this is not really a duplicate, please leave a comment briefly explaining why. Thank you.

@github-actions
Copy link

github-actions bot commented Jun 9, 2021

This issue has been automatically locked since there has not been any activity in it in the last 30 days. If this is still applicable to the current version of Invidious feel free to open a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants