Bug 387764 - Gphoto2 camera drivers not installed by PKG Installer
Summary: Gphoto2 camera drivers not installed by PKG Installer
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 5.8.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-10 10:27 UTC by Jo
Modified: 2017-12-27 23:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jo 2017-12-10 10:27:21 UTC
Digicam isn't able to recognize my :
Canon EOS 600D

Of course it's not acceptable for me. Not everyone *needs* always the latest camera model. I added my camera manually and got as thank you a crash. Your application looks amazing, but in front of such technical limitations I wouldn't offer a downloadable version till your product isn't mature. Looks more like s developer version than a public release.  :(
Comment 1 caulier.gilles 2017-12-10 10:47:54 UTC
Where the application crash exactly ? At new album contents scan or while camera contents downloading through USB cable ?

Can you share a file to try to reproduce the problem here ?

Can you test with current 5.8.0 pre release MacOS installer : 

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

Gilles Caulier
Comment 2 Jo 2017-12-10 13:01:26 UTC
Can't test version 5.8 right now, I'll see later and report back
After adding my camera (configured to use Usb) and pressing the import button in the main window, Digicam crashes, always. 

Apple's default "Image Capture" (very basic service for scanning, photo import-and buggy too) and Apple's default photo manager "Photos" (software for grandpa's and children) both see my camera.
Comment 3 Jo 2017-12-15 10:45:00 UTC
Digikam 5.8 
behaves in the same way as it's previous version for my:
Canon EOS 600D 

A) my camera isn't recognized
B) 'auto-detect' button fails (camera settings-devices) 
C) crash when importing (manually added-configured camera) 

Other software see my camera
Side note: "PtpCamera" is the background process responsible to import photos from cameras, your software seems to ignore that service
Comment 4 caulier.gilles 2017-12-19 22:50:14 UTC
The problem come from gphoto2 driver, included in digiKam PKG installer for MacOS which are not found by the library at run-time.

Probably the drivers are not at the right place in the bundle, or a path is missing.

I will investiguate.

Gilles Caulier
Comment 5 caulier.gilles 2017-12-27 09:14:01 UTC
Git commit e463802578f435168cf74b344ce0142d91cdb3dd by Gilles Caulier.
Committed on 27/12/2017 at 09:11.
Pushed by cgilles into branch 'master'.

Add Gphoto2 drivers support into MacOS package.
A fresh screenshot of digiKAm 5.8.0 installed under MacOS Sierra with gphoto camera setup dialog in action:
https://www.flickr.com/photos/digikam/38620600104/in/pool-1556383@N21
FIXED-IN: 5.8.0

M  +2    -0    project/bundles/macports/04-build-installer.sh

https://commits.kde.org/digikam-software-compilation/e463802578f435168cf74b344ce0142d91cdb3dd
Comment 6 caulier.gilles 2017-12-27 10:14:23 UTC
To test, pre release 5.8.0 PKG installer for MacOS have been just updated here :

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

Gilles Caulier
Comment 7 Jo 2017-12-27 22:52:59 UTC
OK. 
1) I had to go to preferences and click "detect camera" because Digikam didn't recognize my connected camera by itself. 
2) Clicking "import" I get a dialog which shows this message:
"Failed to connect the camera. Please make sure it is connected properly and turned on."
3) Retry doesn't give any results. 
4) switched camera my camera off and again on. Same results
5) quitting Digikam and starting again. No results

The default photo manager from apple,"Photos" was open all the same time and detected my connected camera. (Always the same camera Canon eos 600D)
Comment 8 caulier.gilles 2017-12-27 23:04:09 UTC
I tested here under MacOS Sierra with my Sony Alpha 77 in MPT mode (PTP protocol recognized by Gphoto), and the camera is detected properly.

Gilles Caulier