Bug 451727 - Empty Camera List
Summary: Empty Camera List
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-MacOS (show other bugs)
Version: 7.6.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-20 13:56 UTC by Ette
Modified: 2023-04-09 07:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Empty List (2.31 MB, image/png)
2022-03-20 14:20 UTC, Ette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ette 2022-03-20 13:56:53 UTC
Installed a fresh MACOs
***
Agfter installing Digikam,  I tried to import from a Cananon EOS.
Adding Camera manually.
But there are no entrys in the Camera List.
***


OBSERVED RESULT
Empty List

EXPECTED RESULT
Something in the List

SOFTWARE/OS VERSIONS
macOS: 11.6.4


ADDITIONAL INFORMATION
Tried to install gphoto2 via Terminal - > same empty CameraList
Comment 1 caulier.gilles 2022-03-20 14:01:36 UTC
Not reproducible with 7.7.0 pre-release :

https://i.imgur.com/25Dk1gS.png

Gilles Caulier
Comment 2 Ette 2022-03-20 14:20:42 UTC
Created attachment 147619 [details]
Empty List

What can I do?
Comment 3 caulier.gilles 2022-03-20 14:24:31 UTC
Hum, try with the PKG here, this is what i use to test :

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

Gilles Caulier
Comment 4 Ette 2022-03-20 14:35:57 UTC
Still empty ???
Comment 5 caulier.gilles 2022-03-20 14:40:02 UTC
This is a question or an affirmation ?

If it still empty, please run digiKam from a Terminal like explain here :

https://www.digikam.org/contribute/

Gilles Caulier
Comment 6 Ette 2022-03-20 17:02:04 UTC
digikam.geoiface: ----
digikam.general: Testing  "exiftool" ...
digikam.general: Testing  "exiftool" ...
digikam.general: Testing  "/usr/local/bin/exiftool" ...
digikam.general: All Binaries Found :  false
digikam.general: Testing  "/Applications/digiKam.org/digikam.app/Contents/bin/exiftool" ...
digikam.general: All Binaries Found :  false
digikam.general: Testing  "/opt/local/bin/exiftool" ...
digikam.general: All Binaries Found :  false
digikam.general: Testing  "/usr/bin/exiftool" ...
digikam.general: All Binaries Found :  false
digikam.general: Testing  "/usr/local/bin/exiftool" ...
digikam.general: All Binaries Found :  false
digikam.general: Testing  "/bin/exiftool" ...
digikam.general: All Binaries Found :  false
digikam.general: Testing  "exiftool" ...
digikam.general: All Binaries Found :  false
digikam.dimg: "/Applications/digiKam.org/digikam.app/Contents/Resources/digikam/data/sample-aix.png" : "PNG" file identified
digikam.metaengine: Loading metadata with "Exiv2" backend from "/Applications/digiKam.org/digikam.app/Contents/Resources/digikam/data/sample-aix.png"
digikam.dimg.png: Opening file "/Applications/digiKam.org/digikam.app/Contents/Resources/digikam/data/sample-aix.png"
digikam.dimg.png: PNG in >=8 bits/color/pixel.
digikam.dimg.png: PNG in PNG_COLOR_TYPE_RGB
digikam.general: new search text settings: "" : hasResult = true , validRows = 16
digikam.import: Number of cameras supported: 0
digikam.import: Number of ports supported: 0
digikam.import: Number of cameras supported: 0
digikam.import: Number of ports supported: 0
digikam.import: Number of cameras supported: 0
digikam.import: Number of ports supported: 0
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.geoiface: ----
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
Comment 7 caulier.gilles 2022-03-20 17:43:46 UTC
Yes, it's the same here : no device drivers found, even if .so files are present.

libgphoto2 use a dynamic loading at run time to plug drivers in memory.

libgphoto2 uses 2 variables to customize place where modules are : IOLIBS and CAMLIBS

By default both are ".", so modules are checked in directory where is located the libgphoto2. I placed all files here, but no change.

Gilles Caulier
Comment 8 Maik Qualmann 2022-03-20 17:53:57 UTC
No ports are found either, probably no ports - no cameras. I think it's a rights issue.

Maik
Comment 9 Ette 2022-03-27 17:29:33 UTC
How can i fix that?
Comment 10 caulier.gilles 2022-03-27 17:33:43 UTC
I don't know yet. I must investigate to find where is the difference between my 2 computers : one show the list, the second no...
Comment 11 Ette 2022-04-24 16:22:14 UTC
Anything new about this bug.
Die you find the difference between the 2 computers ?

LG 
Elmar Kusch
Comment 12 caulier.gilles 2022-04-24 17:10:37 UTC
Hi,

No i don't find the difference.

I suspect the right to access to devices from MacOS. Typically, the right to access to USB port and communicate with the connected camera (here an iphone in fact).

I don't find a way from the command line to query the MacOS rights database to compare. If you have a tip, i'm open.

Best

Gilles Caulier
Comment 13 Ette 2022-04-25 10:35:12 UTC
Hi,
you don´t mean the "sudo ls -le -R .."

Did you try:
system settings -> Security &Privacy -> Full Disk Access -> Terminal -> Yes

Terminal:
su admin
sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db

There is an Article at https://www.kolide.com/blog/macos-catalina-osquery
Comment 14 Tobias Cohen 2022-04-26 05:40:07 UTC
I'm having the same issue on Windows with v7.6.0. I tried reinstalling, and running the program as Administrator, and neither helped.
Comment 15 Maik Qualmann 2022-04-26 05:52:45 UTC
It is currently not implemented in digiKam for Windows. See this story: Bug 398166

Maik
Comment 16 caulier.gilles 2022-04-26 06:02:58 UTC
Hi all,

To be more precise, the Gphoto2 is implemented under Windows, but the solution do not work without a admin right operation to replace the native Windows USB hardware layer by a libusb1 based solution. So a native solution based on Microsoft WIA API must be implemented instead, we have no other solution...

Under MacOS, i'm 90% sure that the problem is relevant of rights not set due to unsigned bundle (typically digiKam is not on the Apple Store).
But who want to pay 100 euros to the Big Apple by years to just publish a open source program to a proprietary store ?

Gilles Caulier
Comment 17 caulier.gilles 2022-11-24 07:10:00 UTC
Hi all,

I just test with last MacOS Monterrey under a MacBook pro Intel, and 8.0.0 pre-release package provide the gphoto2 list of drivers :

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

I don't yet tested with 7.9.0 pre-release, but as application in compiled with the same environment, this must work too.

Note that i suspect a gphoto2 library compilation problem here. This library is built using Macports.

Best regards

Gilles Caulier
Comment 18 caulier.gilles 2023-04-09 07:10:46 UTC
With last update of MacOS Monterrey (Intel), digiKam 8.0.0 PKG gives the list of camera from Gphoto.

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

Gilles Caulier