I cannot import from a Canon Camera on last version on Ubuntu 22.04
Mandatory: Shotwell version the issue was seen with
When attaching an image, compress the image using Zip/gzip... to prevent gitlab from
Potentially stripping the meta-data
0.32.1, ubuntu 22.04.3
The expected behaviour
Connecting camera, lists camera in Shotwell
What was actually happening
Shotwell is not reacting when connecting the camera
Steps to reproduce the issue
install shotwell via 'ubuntu' software, start shotwell. Connect Camera to computer and 'nothing happens in shotwell. Notes:
- It is working correctly in Shotwell 0.30.14.
- When I remove 0.32.1 again, reinstall 0.30.14 is works correctly.
- when looking in software, I get these 2 Shotwell versions. One is the 'normal' one, one is the snap one. The one with the issue is the snap version.
- It looks like permission error; I gave the snap version all permissions possible, but still it is not working.
Permissions I added: read/write on removable storage devices, read system mount information and disk quotas, access hardware information (functionally last one seems not needed). some error message when running from terminal:(shotwell:13580): libunity-CRITICAL **: 00:12:03.703: unity-inspector.vala:96: Unable to connect to session bus: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.256" (uid=1000 pid=13580 comm="/snap/shotwell/7/usr/bin/shotwell " label="snap.shotwell.shotwell (enforce)") interface="org.freedesktop.DBus" member="NameHasOwner" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
and when trying to import from the camera on a mounted drive:(shotwell:13580): GLib-GIO-CRITICAL **: 00:13:09.049: g_file_new_for_uri: assertion 'uri != NULL' failed L 13580 2024-02-05 00:13:09 [CRT] app_dirs_is_in_import_dir: assertion 'G_TYPE_CHECK_INSTANCE_TYPE (file, g_file_get_type ())' failed
Edited by Andre Klapper