You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason ytsm is not able to download soem files. My assumption is that it has something todo with spaces in the video file names see the log please.
I also have no idea why it is creating spaces in these file names.
2020-02-23 05:09:27,182 | DownloadVideoJob | scheduler.py:249 | CRITICAL | Job failed with exception: Traceback (most recent call last):
File "/media/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1784, in process_info
with io.open(encodeFilename(descfn), 'w', encoding='utf-8') as descfile:
FileNotFoundError: [Errno 2] No such file or directory: '/media/VIDEO/YOUTUBE/Jimmy Gunawan/001-LIVENODING / Simulating Grease Pencil On Edges-[z9fHP_NJZ6Y].description'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/media/opt/ytsm/app/YtManagerApp/scheduler.py", line 245, in _run_job
job_instance.run()
File "/media/opt/ytsm/app/YtManagerApp/management/jobs/download_video.py", line 40, in run
ret = yt.download(["https://www.youtube.com/watch?v=" + self.__video.video_id])
File "/media/d/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/media/d/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/media/d/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 862, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/media/d/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1643, in process_video_result
self.process_info(new_info)
File "/media/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1787, in process_info
self.report_error('Cannot write description file ' + descfn)
File "/media/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 624, in report_error
self.trouble(error_message, tb)
File "/media/opt/ytsm/.env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Cannot write description file /media/VIDEO/YOUTUBE/Jimmy Gunawan/001-LIVENODING / Simulating Grease Pencil On Edges-[z9fHP_NJZ6Y].description
INFO:apscheduler.executors.default:Job "YtsmScheduler._run_job (trigger: date[2020-02-23 05:09:25 UTC], next run at: 2020-02-23 05:09:25 UTC)" executed successfully
The text was updated successfully, but these errors were encountered:
This looks like a problem with youtube-dl, try updating it to the latest (using pip). Make sure the permissions are set correctly, and the directory exists.
Hi
For some reason ytsm is not able to download soem files. My assumption is that it has something todo with spaces in the video file names see the log please.
I also have no idea why it is creating spaces in these file names.
The text was updated successfully, but these errors were encountered: