Closed Gleek closed 1 year ago
This backtrace is fine, but I'd like to reproduce the error if possible. Can you provide the link to the Youtube video that produced this error?
It'll also help to know your country, since the captions HTML that Youtube serves up (that elfeed-tube parses) differs by region. I can check using a VPN.
Hey, I ran into this issue too. No transcript or description is show for this video (elfeed-tube doesnt show any error) and elfeed=tube shows the error mentioned above for this video
elfeed-tube config:
(use-package elfeed-tube
:ensure t
:after elfeed
:init
(setq elfeed-tube-auto-save-p t
elfeed-tube-auto-fetch-p t
elfeed-tube-thumbnail-size 'large)
:config
(elfeed-tube-setup))
(use-package elfeed-tube-mpv
:ensure t
:after elfeed)
Backtrace:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
signal(wrong-type-argument (arrayp nil))
(closure (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) nil (signal ... ...))()
funcall((closure ... nil ...))
(if (funcall fetched-p) (progn (elfeed-tube-show (or entry elfeed-show-entry))))
(closure ((entry . #s(elfeed-entry :id ("www.youtube.com" . "yt:video:cC6HFd1zcbo") :title "Did I Pick The Right Database???" :link "https://www.youtube.com/watch?v=cC6HFd1zcbo" :date 1660541138.0 :content nil :content-type nil :enclosures nil :tags (tech yt) :feed-id "https://www.youtube.com/feeds/videos.xml?channel_i..." :meta (:authors ((:name "Theo - ping․gg" :uri "https://www.youtube.com/channel/UCbRP3c757lWg9M-U7..."))))) cl-struct-elfeed-tube-item-tags t) (fetched-p) (if (funcall fetched-p) (progn (elfeed-tube-show (or entry elfeed-show-entry)))))((closure ... nil ...))
apply((closure ... ... ...) (closure ... nil ...))
timer-event-handler([t 25338 38642 984250 nil ... ... nil 244000 nil])
@dhruvSHA256: The second issue (elfeed-tube errors out) should be fixed in 18d89f19, please test?
@Gleek: Could you update and try it?
The first issue (missing description/caption) is going to be harder to fix. It looks like some API calls are failing because the video is age-restricted. I'll work on finding a solution.
@karthink tested it, error is fixed now thanks for the response and this awesome package
Closing this issue since the remaining problem is tracked by #10.
Hello, Thank you for sharing this as a package. I've just started using it and have run into issues when downloading a custom subtitle (not the auto generated one, which works fine). I'm attaching a trimmed backtrace below as the full backtrace is very large. Let me know in case this isn't sufficient and you need a full one.
This is the code I use:
Backtrace: