invidious
invidious copied to clipboard
Document is empty (XML::Error)
I sadly don't have any channel url where this happens.
Could be related to https://github.com/iv-org/invidious/issues/1516
Backtrace:
Exception: Document is empty (XML::Error)
from ../../../usr/share/crystal/src/xml.cr:78:5 in 'parse_html'
from src/invidious/views/community.ecr:30:47 in '->'
from ../../../usr/share/crystal/src/primitives.cr:255:3 in '->'
from ../../../usr/share/crystal/src/primitives.cr:255:3 in 'process_request'
from 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 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 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 src/invidious/helpers/handlers.cr:212:5 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_next'
from src/invidious/helpers/handlers.cr:145:12 in 'call'
from ../../../usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from src/invidious/helpers/handlers.cr:70:5 in 'call'
from ../../../usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from 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 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 src/invidious/helpers/logger.cr:19:35 in 'call'
from ../../../usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from 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 ???
Same here make my instance out of order.
URL
Title: Document is empty (XML::Error)
Date: 2021-05-30T20:31:27Z
Route: /channel/UCZWadyLVO4ZnMgLrRVtS6VA/community
Version: 2021.05.13-75e5b49 @ master
Backtrace
Document is empty (XML::Error)
from /usr/share/crystal/src/xml.cr:78:5 in 'parse_html'
from src/invidious/views/community.ecr:30:47 in '->'
from /usr/share/crystal/src/primitives.cr:255:3 in '->'
from /usr/share/crystal/src/primitives.cr:255:3 in 'process_request'
from 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 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 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 src/invidious/helpers/handlers.cr:212:5 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_next'
from src/invidious/helpers/handlers.cr:145:12 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from src/invidious/helpers/handlers.cr:70:5 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from 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 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 src/invidious/helpers/logger.cr:17:35 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from 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 ???
It looks like some youtube edge case... The community tab is broken anyway, I hope I'll be able to work on that in the next days.
Not sure if this is helpful, but in this linked comment, someone describes that this issue might have to do with channel description when it's empty. I checked the channel in this comment and also found no description.
Not sure if this is helpful, but in this linked comment, someone describes that this issue might have to do with channel description when it's empty. I checked the channel in this comment and also found no description.
Ooooh, yep, I think I know where it comes from ^^ See https://github.com/iv-org/invidious/pull/1985#issuecomment-847794961
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.