forked from janeczku/calibre-web
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
- No video was downloaded to
/library/calibre-webafter I clicked on "Download to IIAB" with https://vimeo.com/channels/staffpicks/893773360 :
- Subsequently trying again with equivalent/short URL https://vimeo.com/893773360 led to the exact same result.
Do the diagnostics below help?
root@lrn2:/library/downloads/calibre-web# tree
.
├── survey.db
├── survey.db.2023-11-28_12:45:50_CST
├── survey.db.2023-12-24_10:49:40_CST
└── Vimeo
└── Mattias_Evangelista
└── Actual_Air_5.53k_[893773360].jpg
2 directories, 4 files
root@lrn2:/library/downloads/calibre-web# ls -l Vimeo/Mattias_Evangelista/Actual_Air_5.53k_\[893773360\].jpg
-rw-r--r-- 1 root root 110760 Dec 24 10:49 'Vimeo/Mattias_Evangelista/Actual_Air_5.53k_[893773360].jpg'
root@lrn2:/library/downloads/calibre-web# mediainfo Vimeo/Mattias_Evangelista/Actual_Air_5.53k_\[893773360\].jpg
General
Complete name : Vimeo/Mattias_Evangelista/Actual_Air_5.53k_[893773360].jpg
Format : JPEG
File size : 108 KiB
Image
Format : JPEG
Width : 1 280 pixels
Height : 720 pixels
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Compression mode : Lossy
Stream size : 108 KiB (100%)
root@lrn2:~# tail -25 /var/log/calibre-log
[2023-12-24 10:46:51,585] DEBUG {cps.web:1410} You are now logged in as: 'Admin'
[2023-12-24 10:46:51,631] DEBUG {cps.ub:82} Login and store session : 7b51c8cd1a0300222e238fbe082b17560b5df60de619e059735108f54051dc2c033fb410262fb79e726b514223d132e68554a42ff0bd1c630ecc051fe2771fde
[2023-12-24 10:46:51,639] DEBUG {cps.ub:84} Found stored session: 7b51c8cd1a0300222e238fbe082b17560b5df60de619e059735108f54051dc2c033fb410262fb79e726b514223d132e68554a42ff0bd1c630ecc051fe2771fde
[2023-12-24 10:49:40,375] DEBUG {cps.services.worker:91} Add Task for user: Admin - Download https://vimeo.com/channels/staffpicks/893773360
[2023-12-24 10:49:40,377] INFO {cps.tasks.download:28} Starting download task for URL: https://vimeo.com/channels/staffpicks/893773360
[2023-12-24 10:49:40,377] INFO {cps.tasks.download:37} Subprocess args: ['lb-wrapper', 'https://vimeo.com/channels/staffpicks/893773360']
[2023-12-24 10:49:40,395] INFO {cps.tasks.download:50} /usr/local/bin/lb
[2023-12-24 10:49:53,953] INFO {cps.editbooks:382} Requested files list: ['https://vimeo.com/channels/staffpicks/893773360']
[2023-12-24 10:49:53,954] ERROR {cps:1414} Exception on /meta [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/usr/local/calibre-web-py3/cps/editbooks.py", line 471, in meta
if move_mediafile(requested_files, current_user_name, shelf_title):
File "/usr/local/calibre-web-py3/cps/editbooks.py", line 384, in move_mediafile
requested_file = open(requested_file, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'https://vimeo.com/channels/staffpicks/893773360'
[2023-12-24 10:49:54,045] ERROR {cps.tasks.download:81} Failed to send the list of requested files to https://lrn2.org/live/meta
root@lrn2:~# tail -4 /var/log/xklb.log
2023-11-28 12:45:57 - An error occurred while running the command. Output:
2023-12-24 10:49:40 - Old /library/downloads/calibre-web/survey.db moved aside.
2023-12-24 10:49:40 - Running command: lb tubeadd /library/downloads/calibre-web/survey.db https://vimeo.com/channels/staffpicks/893773360 --verbose && lb dl /library/downloads/calibre-web/survey.db --prefix /library/downloads/calibre-web --write-thumbnail --format best --format-sort 'tbr~1000' --video https://vimeo.com/channels/staffpicks/893773360 --verbose
2023-12-24 10:49:53 - Download completed successfully.
root@lrn2:/usr/local/calibre-web-py3# git log --oneline | head
e83c81e5 Merge branch 'janeczku:master' into master
4c64662b README.md: "Internet-in-a-Box does not support Docker"
2f7413cb Merge pull request #75 from deldesir/deldesir-tornado
93791b3a Increase Buffersize to 10GB
25fb8d93 Merge remote-tracking branch 'nl/master'
b456263d Merge pull request #72 from deldesir/deldesir-mp4-cover
525cd2fe Support case insensitive ext
bc0ebdb7 Updated Dutch translation.
cdfd9b31 Merge pull request #71 from deldesir/deldesir-description
04306ba2 Pull description
root@lrn2:~# cat /etc/issue
Ubuntu 22.04.3 LTS \n \l
root@lrn2:~# lb --version
2.2.192
root@lrn2:~# yt-dlp --version
2023.10.13
ASIDE: Since then I tried to upgrade yt-dlp...
root@lrn2:~# pipx upgrade --include-injected xklb
xklb is already at latest version 2.2.192 (location: /root/.local/pipx/venvs/xklb)
That was not sufficient — so in the end the much slower pipx reinstall xklb did finally force yt-dlp to upgrade...
root@lrn2:~# yt-dlp --version
2023.11.16
...either way that did not help, when I later tried downloading the same video using its shorter URL https://vimeo.com/893773360 — though with a different failure pattern in /var/log/calibre-log :
root@lrn2:~# tail -6 /var/log/calibre-log
[2023-12-24 11:37:04,820] DEBUG {cps.services.worker:91} Add Task for user: Admin - Download https://vimeo.com/893773360
[2023-12-24 11:37:04,822] INFO {cps.tasks.download:28} Starting download task for URL: https://vimeo.com/893773360
[2023-12-24 11:37:04,823] INFO {cps.tasks.download:37} Subprocess args: ['lb-wrapper', 'https://vimeo.com/893773360']
[2023-12-24 11:37:04,829] INFO {cps.tasks.download:50} /usr/local/bin/lb
[2023-12-24 11:37:15,284] ERROR {cps.tasks.download:81} Failed to send the list of requested files to https://lrn2.org/live/media?data=root&sort_param=stored
root@lrn2:~# tail -3 /var/log/xklb.log
2023-12-24 11:37:04 - Old /library/downloads/calibre-web/survey.db moved aside.
2023-12-24 11:37:04 - Running command: lb tubeadd /library/downloads/calibre-web/survey.db https://vimeo.com/893773360 --verbose && lb dl /library/downloads/calibre-web/survey.db --prefix /library/downloads/calibre-web --write-thumbnail --format best --format-sort 'tbr~1000' --video https://vimeo.com/893773360 --verbose
2023-12-24 11:37:15 - Download completed successfully.
Possibly related:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested