iiab / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
3 stars 4 forks source link

All videos failed to download: "'NoneType' object is not subscriptable" — "Some formats may be missing" #222

Closed holta closed 1 month ago

holta commented 3 months ago

@nzola reports:

pi4 Calibre-Web new error. Note that this Calibre-Web has been downloading the majority of the single and playlists videos. Without performing update operation, the downloads are now producing this unique error for any videos.

IMG-20240713-WA0019~2

iiab-diagnostics: https://dpaste.com/69HP9F8NK

/var/log/calibre-web.log example:

[2024-07-13 12:25:33,390] ERROR {cps.tasks.download:132} An error occurred during the subprocess execution: 'NoneType' object is not subscriptable

Hypothetically might be related to:

deldesir commented 3 months ago

@nzola, your log shows you are using outdated versions of yt-dlp and xklb. Please reinstall IIAB Calibre-Web to get them updated image

I tested one of your failed URL and it went successful: image

holta commented 3 months ago

@nzola please run pipx reinstall xklb (as root) and then retest.

Thanks!

nzola commented 3 months ago

@nzola please run pipx reinstall xklb (as root) and then retest.

Thanks!

Ok @holta I will give it a try and report here. Thanks!

nzola commented 3 months ago

pipx reinstall xklb

After running the script here above on pi4 and run the test with these videos https://www.youtube.com/watch?v=hKnrOCxrSSs, https://www.youtube.com/watch?v=ZWQ4YM11hL8, https://www.youtube.com/watch?v=6eW8sJLhbMQ&t=11s here is the result: PUBLISHING TO URL... https://dpaste.com/8PT7K2UAH image

nzola commented 3 months ago

@deldesir @holta I reinstalled Multipass Calibre -Web today and tested the failing videos from pi4 here above, they all successfully downloaded without any problems.

holta commented 3 months ago

Ok! Should this ticket be closed?

nzola commented 3 months ago

Ok! Should this ticket be closed? @holta @deldesir It is not yet resolved on pi4. I have just ran the Calibre-Web upgrade on pi4 Calibre-Web installed 2 weeks ago, same pi4 which has been failing here above, still downloading is not ye successful. Here is the results: PUBLISHING TO URL... https://dpaste.com/DYMC665DM image

holta commented 3 months ago

not yet resolved on pi4. I have just ran the Calibre-Web upgrade on pi4 Calibre-Web installed 2 weeks ago, same pi4 which has been failing here above, still downloading is not [yet] successful. Here is the results: PUBLISHING TO URL... https://dpaste.com/DYMC665DM

@deldesir can you see anything wrong under https://dpaste.com/DYMC665DM#line-2441 ?

(@nzola's upgrade of IIAB Calibre-Web would appear to be successful — what else should he try?)

nzola commented 3 months ago

not yet resolved on pi4. I have just ran the Calibre-Web upgrade on pi4 Calibre-Web installed 2 weeks ago, same pi4 which has been failing here above, still downloading is not [yet] successful. Here is the results: PUBLISHING TO URL... https://dpaste.com/DYMC665DM

@deldesir can you see anything wrong under https://dpaste.com/DYMC665DM#line-2441 ?

(@nzola's upgrade of IIAB Calibre-Web would appear to be successful — what else should he try?)

@deldesir @holta PLEASE NOTE: Not all the videos are failing to download. I continued testing and Some videos are successful. See this: image

deldesir commented 3 months ago

Thanks @nzola. Some videos still fail to download due to missing format error and I am afraid this is an unrecoverable error for now.

I am wondering however why nothing is displayed in the task to acknowledge the errors. I'll work on this and come back with something.

holta commented 3 months ago

Thanks @nzola for your screenshots & followup!

To help us all improve these outcomes, hopefully very shortly!

holta commented 2 months ago

@nzola ran iiab-update -f to ensure his IIAB Calibre-Web is updated — this is his new report:

Even with update, the 4 videos cannot still download on pi4 Calibre-Web but only on Multipass Calibre-Web. PUBLISHING TO URL... https://dpaste.com/D9NECMQWY

image

holta commented 2 months ago

@deldesir can you please help @nzola interpret his new results below?

I built a new p4 iiab today. I tested all the 5 failing videos, they all passed. I updated the 3 weeks ago [build, where] these 5 videos were originally failing, but still fail. I first [ran] iiab-update -f and iiab-update without -f, but no change.

Thanks @nzola !!

nzola commented 2 months ago

@deldesir can you please help @nzola interpret his new results below?

I built a new p4 iiab today. I tested all the 5 failing videos, they all passed. I updated the 3 weeks ago [build, where] these 5 videos were originally failing, but still fail. I first [ran] iiab-update -f and iiab-update without -f, but no change.

Thanks @nzola !!

I successfully run sudo ./runrole --reinstall calibre-web. But still cannot download the 5 videos.

holta commented 2 months ago
  1. @deldesir please respond to @nzola this week.

I built a new p4 iiab today. I tested all the 5 failing videos, they all passed. I updated the 3 weeks ago [build, where] these 5 videos were originally failing, but still fail. I first [ran] iiab-update -f and iiab-update without -f, but no change.

  1. What do his 2 error log excerpts below mean? Thanks!!
COMMAND: /usr/bin/journalctl -u calibre-web | tail -100    # Calibre-Web systemd log

Jul 15 14:44:54 lokole2 python3[607]:     if self.shouldRollover(record):
Jul 15 14:44:54 lokole2 python3[607]:        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/logging/handlers.py", line 196, in shouldRollover
Jul 15 14:44:54 lokole2 python3[607]:     msg = "%s\n" % self.format(record)
Jul 15 14:44:54 lokole2 python3[607]:                    ^^^^^^^^^^^^^^^^^^^
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/logging/__init__.py", line 953, in format
Jul 15 14:44:54 lokole2 python3[607]:     return fmt.format(record)
Jul 15 14:44:54 lokole2 python3[607]:            ^^^^^^^^^^^^^^^^^^
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/logging/__init__.py", line 687, in format
Jul 15 14:44:54 lokole2 python3[607]:     record.message = record.getMessage()
Jul 15 14:44:54 lokole2 python3[607]:                      ^^^^^^^^^^^^^^^^^^^
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/logging/__init__.py", line 377, in getMessage
Jul 15 14:44:54 lokole2 python3[607]:     msg = msg % self.args
Jul 15 14:44:54 lokole2 python3[607]:           ~~~~^~~~~~~~~~~
Jul 15 14:44:54 lokole2 python3[607]: TypeError: not enough arguments for format string
Jul 15 14:44:54 lokole2 python3[607]: Call stack:
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps.py", line 51, in <module>
Jul 15 14:44:54 lokole2 python3[607]:     main()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/main.py", line 83, in main
Jul 15 14:44:54 lokole2 python3[607]:     success = web_server.start()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/server.py", line 286, in start
Jul 15 14:44:54 lokole2 python3[607]:     self._start_tornado()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/server.py", line 272, in _start_tornado
Jul 15 14:44:54 lokole2 python3[607]:     self.wsgiserver.start()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 205, in start
Jul 15 14:44:54 lokole2 python3[607]:     self.asyncio_loop.run_forever()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
Jul 15 14:44:54 lokole2 python3[607]:     self._run_once()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
Jul 15 14:44:54 lokole2 python3[607]:     handle._run()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
Jul 15 14:44:54 lokole2 python3[607]:     self._context.run(self._callback, *self._args)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/lib/python3.11/site-packages/tornado/wsgi.py", line 156, in handle_request
Jul 15 14:44:54 lokole2 python3[607]:     app_response = await loop.run_in_executor(
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 266, in run_in_executor
Jul 15 14:44:54 lokole2 python3[607]:     return self.asyncio_loop.run_in_executor(executor, func, *args)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3.11/asyncio/base_events.py", line 829, in run_in_executor
Jul 15 14:44:54 lokole2 python3[607]:     executor.submit(func, *args), loop=self)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/lib/python3.11/site-packages/tornado/concurrent.py", line 62, in submit
Jul 15 14:44:54 lokole2 python3[607]:     future_set_result_unless_cancelled(future, fn(*args, **kwargs))
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2548, in __call__
Jul 15 14:44:54 lokole2 python3[607]:     return self.wsgi_app(environ, start_response)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/reverseproxy.py", line 79, in __call__
Jul 15 14:44:54 lokole2 python3[607]:     return self.app(environ, start_response)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2525, in wsgi_app
Jul 15 14:44:54 lokole2 python3[607]:     response = self.full_dispatch_request()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in full_dispatch_request
Jul 15 14:44:54 lokole2 python3[607]:     rv = self.dispatch_request()
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1796, in dispatch_request
Jul 15 14:44:54 lokole2 python3[607]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/editbooks.py", line 450, in meta
Jul 15 14:44:54 lokole2 python3[607]:     resp = move_mediafile(requested_file, current_user_name, shelf_id)
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/editbooks.py", line 402, in move_mediafile
Jul 15 14:44:54 lokole2 python3[607]:     error = helper.update_dir_structure(
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/helper.py", line 736, in update_dir_structure
Jul 15 14:44:54 lokole2 python3[607]:     return update_dir_structure_file(book_id,
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/helper.py", line 486, in update_dir_structure_file
Jul 15 14:44:54 lokole2 python3[607]:     error = move_files_on_change(calibre_path,
Jul 15 14:44:54 lokole2 python3[607]:   File "/usr/local/calibre-web-py3/cps/helper.py", line 561, in move_files_on_change
Jul 15 14:44:54 lokole2 python3[607]:     log.debug("Moving title: %s to %s/%s", original_filepath, new_path)
Jul 15 14:44:54 lokole2 python3[607]: Message: 'Moving title: %s to %s/%s'
Jul 15 14:44:54 lokole2 python3[607]: Arguments: ('/tmp/calibre_web/4aa53c421d1dd8f607a19c01fe22cc3b', '/library/calibre-web/Afrique Media News/FOCUS THOMAS LUHAKA (86)')
-rw-r--r-- 1 root root 1047684 Jul 18 13:52 /var/log/xklb.log
[...]
2024-07-18 13:51:42 - [Info] Using yt-dlp 2024.07.16
2024-07-18 13:51:42 - [Info] Running xklb command: lb dl '/library/calibre-web/xklb-metadata.db' --video --search 'https://www.youtube.com/watch?v=UMUztLQNqSI' --format best --format-sort 'tbr~1000' --write-thumbnail --subs --live --live-from-start -o '/library/downloads/calibre-web/%(extractor_key,extractor)s/%(uploader,uploader_id)s/%(title).170B_%(view_count)3.2D_[%(id).64B].%(ext)s' -vv
2024-07-18 13:51:43 - [Debug] library v2.8.072
2024-07-18 13:51:43 - [Debug] ['/usr/local/bin/lb', 'dl', '/library/calibre-web/xklb-metadata.db', '--video', '--search', 'https://www.youtube.com/watch?v=UMUztLQNqSI', '--format', 'best', '--format-sort', 'tbr~1000', '--write-thumbnail', '--subs', '--live', '--live-from-start', '-o', '/library/downloads/calibre-web/%(extractor_key,extractor)s/%(uploader,uploader_id)s/%(title).170B_%(view_count)3.2D_[%(id).64B].%(ext)s', '-vv']
2024-07-18 13:51:43 - [Debug] {'include': ['https://www.youtube.com/watch?v=UMUztLQNqSI'], 'subs': True, 'profile': 'video', 'live': True, 'paths': []}
2024-07-18 13:51:44 - [Debug] None
2024-07-18 13:51:44 - [Debug] {'path': 'https://www.youtube.com/watch?v=UMUztLQNqSI', 'title': 'What is Cardano? ADA Explained with Animations', 'duration': 608, 'time_created': 1721335900, 'size': 0, 'time_modified': 0, 'time_downloaded': 0, 'time_deleted': 0, 'error': None, 'extractor_key': 'Playlist-less media'}
2024-07-18 13:51:44 - [Debug] {'noprogress': True, 'lazy_playlist': True, 'noplaylist': True, 'no_check_certificate': True, 'ignore_no_formats_error': True, 'skip_playlist_after_errors': 21, 'playlistend': 20000, 'extractor_args': {'youtube': {'skip': ['authcheck']}}, 'check_formats': 'selected', 'logger': <xklb.createdb.tube_backend.download.<locals>.DictLogger object at 0x7fa146de50>, 'postprocessors': [{'key': 'FFmpegMetadata'}, {'key': 'FFmpegEmbedSubtitle'}], 'playlist_items': '1', 'extractor_retries': 3, 'retries': 12, 'retry_sleep_functions': {'extractor': <function download.<locals>.<lambda> at 0x7fa08632e0>, 'http': <function download.<locals>.<lambda> at 0x7fa0863380>, 'fragment': <function download.<locals>.<lambda> at 0x7fa0863420>}, 'outtmpl': {'default': '/library/downloads/calibre-web/%(extractor_key,extractor)s/%(uploader,uploader_id)s/%(title).170B_%(view_count)3.2D_[%(id).64B].%(ext)s'}, 'progress_hooks': [<function download.<locals>.<lambda> at 0x7fa08634c0>], 'subtitlesformat': 'srt/best', 'writesubtitles': True, 'writeautomaticsub': True, 'format': 'best', 'format_sort': ['tbr~1000'], 'writethumbnail': True, 'live_from_start': True, '_warnings': ['"-f best" selects the best pre-merged format which is often not the best option.\n         To let yt-dlp download and merge the best available formats, simply do not pass any format selection.\n         If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning'], 'include': ['https://www.youtube.com/watch?v=UMUztLQNqSI'], 'subs': True, 'profile': 'video', 'live': True}
2024-07-18 13:51:55 - [Debug] [https://www.youtube.com/watch?v=UMUztLQNqSI]: Downloaded to /library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '186.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '0.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '62.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '124.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '248.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '372.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '310.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '434.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '496.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '558.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:51:55 - [Debug] ('systemd-run', '--user', '-p', 'MemoryMax=4G', '-p', 'MemorySwapMax=1G', '--pty', '--pipe', '--same-dir', '--wait', '--collect', '--service-type=exec', '--quiet', '--', 'ffmpeg', '-nostdin', '-hide_banner', '-nostats', '-xerror', '-v', '16', '-err_detect', 'explode', '-ss', '608.00', '-i', '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4', '-t', '1', '-f', 'null', '/dev/null')
2024-07-18 13:51:55 - [Debug] Failed to connect to bus: No medium found
2024-07-18 13:52:17 - [Debug] Metadata 10:09 does not match actual duration 10:08 (diff 1.92s): /library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].mp4
2024-07-18 13:52:18 - [Debug] Extra media data {'time_modified': 0, 'time_downloaded': 0, 'time_deleted': 0, 'requested_subtitles_en_ext': 'vtt', 'requested_subtitles_en_url': 'https://www.youtube.com/api/timedtext?v=UMUztLQNqSI&ei=YICZZuSgNvH6sfIPtq-nsAs&caps=asr&opi=112496729&xoaf=5&hl=en&ip=0.0.0.0&ipbits=0&expire=1721361104&sparams=ip%2Cipbits%2Cexpire%2Cv%2Cei%2Ccaps%2Copi%2Cxoaf&signature=47AAE44B05D44073262E0304A375AFFF33CA1C70.DAB153999800A9ED297318158212CEBBCCFE112E&key=yt8&kind=asr&lang=en&fmt=vtt', 'requested_subtitles_en_name': 'English', 'requested_subtitles_en_filepath': '/library/downloads/calibre-web/Youtube/Whiteboard Crypto/What is CardanoM-oM-<M-^_ ADA Explained with Animations_1.23M_[UMUztLQNqSI].en.vtt', 'corruption': 0}
2024-07-18 13:52:20 - [Info] lb-wrapper's xklb command (dl) completed successfully.
holta commented 1 month ago

@deldesir explains this should have been fixed upstream by xklb:

Please @deldesir & @nzola retest & update us, Thanks!

  1. @deldesir please respond to @nzola this week.

I built a new p4 iiab today. I tested all the 5 failing videos, they all passed. I updated the 3 weeks ago [build, where] these 5 videos were originally failing, but still fail. I first [ran] iiab-update -f and iiab-update without -f, but no change.

  1. What do his 2 error log excerpts below mean? Thanks!!
holta commented 1 month ago

@deldesir please retest "Download to IIAB" with the very latest IIAB Calibre-Web to be sure, Thank You!

test with these videos https://www.youtube.com/watch?v=hKnrOCxrSSs https://www.youtube.com/watch?v=ZWQ4YM11hL8 https://www.youtube.com/watch?v=6eW8sJLhbMQ&t=11s

deldesir commented 1 month ago

The 3 of them downloaded successfully for me:

image

holta commented 1 month ago

Thanks @deldesir for confirming!