Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Import Error in v0.1.4 #228

Closed
PhuriousGeorge opened this issue Apr 16, 2022 · 1 comment
Closed

Manual Import Error in v0.1.4 #228

PhuriousGeorge opened this issue Apr 16, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@PhuriousGeorge
Copy link
Contributor

PhuriousGeorge commented Apr 16, 2022

Halted my ingestion of pre-archived videos to update to 0.1.4 and now cannot resume manual imports. I'm assuming it's looking for the thumbnail?

[2022-04-16 00:33:36,624: ERROR/ForkPoolWorker-1] Task home.tasks.run_manual_import[ff8e8483-7c1a-4fe0-b3ec-05863e1ef245] raised unexpected: FileNotFoundError(2, 'No such file or directory')

Traceback (most recent call last):
File "/root/.local/lib/python3.10/site-packages/celery/app/trace.py", line 451, in trace_task
R = retval = fun(*args, **kwargs)
File "/root/.local/lib/python3.10/site-packages/celery/app/trace.py", line 734, in __protected_call__
return self.run(*args, **kwargs)
File "/app/home/tasks.py", line 154, in run_manual_import
all_videos_added = import_handler.process_import()
File "/app/home/src/index/filesystem.py", line 241, in process_import
vid_dict = index_new_video(youtube_id)
File "/app/home/src/index/video.py", line 600, in index_new_video
video.build_json()
File "/app/home/src/index/video.py", line 405, in build_json
self._process_youtube_meta()
File "/app/home/src/index/video.py", line 440, in _process_youtube_meta
base64_blur = ThumbManager().get_base64_blur(self.youtube_id)
File "/app/home/src/download/thumbnails.py", line 250, in get_base64_blur
img_raw = Image.open(file_path)
File "/root/.local/lib/python3.10/site-packages/PIL/Image.py", line 3068, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/cache/videos/u/U1j8ldnZ-gM.jpg'
@bbilly1
Copy link
Member

bbilly1 commented Apr 16, 2022

Very unfortunate. Just pushed a quick fix for that. Pull the image again.

@bbilly1 bbilly1 added the bug Something isn't working label Apr 16, 2022
@bbilly1 bbilly1 closed this as completed Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants