Bug 470530

Summary: Camera list is missing when adding camera.
Product: [Applications] digikam Reporter: Collin Cutler <cutlercollin99>
Component: Setup-CamerasAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.5.0
Sentry Crash Report:
Attachments: Screenshot of Camera Config page with Camera List missing.

Description Collin Cutler 2023-06-01 16:55:53 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When trying to add a camera, the camera list in the Camera Configuration window is empty. I can't figure out how to add my Sony camera. Previously, I've selected USB Disk in the import dropdown to select my camera. 

STEPS TO REPRODUCE
1. Open Camera Settings
2. Press "+Add"
3. Camera list on left is empty

OBSERVED RESULT
The camera list is empty. I don't know if this is a permissions issue. 

EXPECTED RESULT
I expected to see a list of camera as shown in the Camera Settings page in the Digikam documentation. (https://docs.digikam.org/en/setup_application/camera_settings.html#camera-settings)

SOFTWARE/OS VERSIONS 
macOS: 11.7.7 Big Sur


ADDITIONAL INFORMATION
If I try to select USB for Camera Port Option and guess the mount path, Digikam crashes when selecting the camera from import drop-down list.
Comment 1 Collin Cutler 2023-06-01 16:57:03 UTC
Created attachment 159396 [details]
Screenshot of Camera Config page with Camera List missing.
Comment 2 Maik Qualmann 2023-06-01 17:35:57 UTC

*** This bug has been marked as a duplicate of bug 451719 ***
Comment 3 caulier.gilles 2024-09-15 06:28:41 UTC
Hi all,

The next digiKam 8.5.0 will be compiled natively for Apple Silicon computer (arm64 architecture).
Here the pre-release PKG installer list all gphoto2 drivers as expected:

https://i.imgur.com/UkkBoDn.png

You can download and test the Qt6 based PKG installer fir macOS available here:

https://files.kde.org/digikam/  

Thanks in advance for your feedback

Gilles Caulier
Comment 4 caulier.gilles 2024-09-17 05:46:56 UTC
Git commit b976d40cc24f9f7f43b935ed884593040d4903ec by Gilles Caulier.
Committed on 17/09/2024 at 05:44.
Pushed by cgilles into branch 'master'.

Add PATH env. vars for gphoto2 drivers
Related: bug 451719, bug 451727, bug 460252

M  +10   -3    core/app/utils/digikam_globals_bundles.cpp

https://invent.kde.org/graphics/digikam/-/commit/b976d40cc24f9f7f43b935ed884593040d4903ec
Comment 5 caulier.gilles 2024-09-17 07:00:17 UTC
Git commit dac1942db33b28e8103e5bff43d417fe765cfba1 by Gilles Caulier.
Committed on 17/09/2024 at 06:54.
Pushed by cgilles into branch 'master'.

Move the gpohto2 drivers at the right place in the macOS bundle generated by Macports.

Tested on a fresh installation of digiKam on a macbook air M1 without macports, xcode, and other dev tools.

The list of gphoto2 camera can be listed and used.

This can be tested with the digiKam 8.5.0 pre-release PKG installer for Apple Silicon (arm64)
published today at: https://files.kde.org/digikam/
Related: bug 451719, bug 451727, bug 460252

FIXED-IN: 8.5.0

M  +8    -6    project/bundles/macports/04-build-installer.sh
M  +1    -1    project/bundles/macports/data/qt.conf

https://invent.kde.org/graphics/digikam/-/commit/dac1942db33b28e8103e5bff43d417fe765cfba1