-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
Raw images are not getting scanned #842
Comments
Could you provide a sample photo to reproduce the issue? |
librephotos.com/temp/testfiles.tar.gz |
I was unable to reproduce the issue. I mapped the whole archive of sample photos and selected only raw folder to be used as data directory for the admin user. Pulled fresh docker images
|
Thanks for looking into this :) @DigitalWarrior can you look into the server to maybe see what's up with the raw images? They are either missing or corrupted, I think |
Will get it fixed. |
The error is that ImageMagick can't find the correct deleagate, which is in this case libraw. We install libraw from source to get .cr3 support and that also used to work... |
Cant reproduce the issue at the moment, because I get a different error. ImageMagick and Wand show that they support cr3, for example, but when I scan the process it hangs and never finishes. |
Weird thing though is that the process hangs while generating the image here. Creating a test script to process any raw file within the backend container is successful. root@27b92a8a2bec:/data# ls IMG_1811.*
IMG_1811.CR3
root@27b92a8a2bec:/data# cat test.py
#!/usr/bin/env python
from wand.image import Image
with Image(filename="./IMG_1811.CR3") as img:
with img.clone() as thumbnail:
thumbnail.save(filename="./IMG_1811.webp")
root@27b92a8a2bec:/data# ./test.py
root@27b92a8a2bec:/data# ls IMG_1811.*
IMG_1811.CR3 IMG_1811.webp |
There are other issues related to managing model data, but that's not related to this one. |
It could be an issue like this one here, but I am not sure yet: emcconville/wand#536 |
hah, interesting. I'll play around with it... |
#854 should fix this |
It's now fixed thanks to #854 |
RAW images are not getting scanned on demo2. If you select the subfolder, it adds all the files to the scan, but then it will just skip them. This is either an ImageMagick issue or something that got introduced with live photos together.
The text was updated successfully, but these errors were encountered: