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

Can't import RAW (.NEF) files #634

Closed
3 tasks done
dotter-ak opened this issue Sep 9, 2022 · 2 comments
Closed
3 tasks done

Can't import RAW (.NEF) files #634

dotter-ak opened this issue Sep 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@dotter-ak
Copy link

dotter-ak commented Sep 9, 2022

πŸ› Bug Report

  • πŸ“ I've Included a ZIP file containing my librephotos log files
  • ❌ I have looked for similar issues (including closed ones)
  • 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

I've istalled LibrePhotos via Unraid community app and found an issue - my RAW photos (.NEF) cant be imported.
.JPG files imported without any issues.
In logs I've found this:

2022-09-09 07:57:19,352 : directory_watcher.py : handle_new_image : 116 : INFO : job ab02c651-20e8-4f3e-a284-5a933fc5a79e: handling image /var/lib/librephotos/photos/DSC_0002.NEF
2022-09-09 07:57:19,726 : directory_watcher.py : handle_new_image : 227 : ERROR : job ab02c651-20e8-4f3e-a284-5a933fc5a79e: could not load image /var/lib/librephotos/photos/DSC_0002.NEF. reason: unable to open image `/tmp/magick-WpfCSCvAtEIYR23rVWV6lpZ7dpoYZzJK.ppm': No such file or directory @ error/blob.c/OpenBlob/2924
Traceback (most recent call last):
  File "/usr/lib/librephotos/backend/api/directory_watcher.py", line 132, in handle_new_image
    photo._generate_thumbnail(True)
  File "/usr/lib/librephotos/backend/api/models/photo.py", line 244, in _generate_thumbnail
    createThumbnail(
  File "/usr/lib/librephotos/backend/api/thumbnails.py", line 60, in createThumbnail
    with Image(filename=inputPath) as img:
  File "/usr/lib/librephotos/.local/lib/python3.10/site-packages/wand/image.py", line 9110, in __init__
    self.read(filename=filename)
  File "/usr/lib/librephotos/.local/lib/python3.10/site-packages/wand/image.py", line 9705, in read
    self.raise_exception()
  File "/usr/lib/librephotos/.local/lib/python3.10/site-packages/wand/resource.py", line 222, in raise_exception
    raise e
wand.exceptions.BlobError: unable to open image `/tmp/magick-WpfCSCvAtEIYR23rVWV6lpZ7dpoYZzJK.ppm': No such file or directory @ error/blob.c/OpenBlob/2924
@dotter-ak dotter-ak added the bug Something isn't working label Sep 9, 2022
@rmu75
Copy link

rmu75 commented Nov 6, 2022

Have the same issue with sony .ARWs, manual install, ubuntu 20.04 lts.

@rmu75
Copy link

rmu75 commented Nov 6, 2022

It seems imagemagick is confured to call ufraw-batch to convert raw-files. I could not find current packages, but I was able to install debian packages of ufraw-batch, libjpeg62-turbo and libexiv2_14 from buster. Seems to work now.

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

3 participants