ubuntu / shotwell

2 stars 4 forks source link

Shotwell 0.32.2 (snap) not importing HEIC files in fresh install of Ubuntu 23.10 #8

Open yannos opened 11 months ago

yannos commented 11 months ago

I have installed a fresh Ubuntu 23.10 which is using kernel 6.5.0

I installed the Shotwell snap via App Center.

When importing HEIC files it fails. The log doesn't give any reason for the failure.

All other formats tried (jpeg, png etc) import just fine.

Here's the shotwell error log:

Import Results Report (Shotwell 0.32.2 @ 2023-12-12)

Attempted to import 8763 files. Of these, 4714 files were successfully imported.

Photos/Videos Not Imported for Other Reasons:

/home/montecristo/Pictures/2023/08/07/IMG_0038.HEIC
    error message: 

/home/montecristo/Pictures/2023/08/08/IMG_0085.HEIC
    error message: 

/home/montecristo/Pictures/2023/08/10/IMG_0098.HEIC
    error message: 

The error numbers tie up that all the HEIC files are the errors.

After searching for solutions, I thought it might be a package issue. but I now understand that snaps can't use system packages anyway so it can't be that.

yannos commented 11 months ago

I tried reinstalling the snap app. No change. I removed the snap and installed the deb repository version which is also 0.32.2 and it works as expected with all files imported.

sergio-costas commented 10 months ago

I've been trying both with the .deb in ubuntu 23.10 and a snap updated to 0.32.4, and both fail to open .heic files... Can you send here a .heic example that works in the .deb, please, to test by myself with something known to work? Also, did you install a heic library from a third-party repository, maybe?

yannos commented 10 months ago

I previously installed packages heif-gdk-pixbuf and heif-thumbnailer which are good candidates for packages required to handle .heic files

sergio-costas commented 10 months ago

It seems to not be enough. I'll try adding libheif1.

yannos commented 10 months ago

Yes libheif1 is also installed on my system on which it is working

RoboCrafty commented 7 months ago

Any updates to this? 0.32.6 (apt install) cant import HEIC either.

sergio-costas commented 7 months ago

For several reasons (mainly avoid risking compatibility), we won't add this to gnome-42-2204-sdk. But it is probable that it will do into gnome-46-2404-sdk.