Summary: | Camera list is empty | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | aschlottau |
Component: | Import-Gphoto2 | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, cutlercollin99, Elmarkusch, js, metzpinguin, pbcachim |
Priority: | NOR | ||
Version: | 7.6.0 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | 8.5.0 | |
Sentry Crash Report: | |||
Attachments: |
Camera configuration
attachment-21165-0.html Screenshot 2022-03-20 at 16.01.19.png Screenshot 2022-03-20 at 16.03.07.png Screenshot 2022-03-20 at 16.03.30.png Screenshot 2022-03-20 at 16.03.55.png Screenshot 2022-03-20 at 16.10.22.png |
This list is empty before adding a camera(s). Maik When you click "Add..." a list of cameras currently supported by GPhoto2 appears? Maik Not reproducible here. As explaining Maik, pressing Add... button from Camera Setup Dialog list all Gphoto2 drivers available : https://i.imgur.com/25Dk1gS.png I'm sure, i fixed this problem with 7.6.0 (a problem with packaging Gphoto2 modules in the MacOS bundle). Gilles Thank you for your quick reply! > On 20 Mar 2022, at 10:28, Maik Qualmann <bugzilla_noreply@kde.org> wrote: > > https://bugs.kde.org/show_bug.cgi?id=451719 > > --- Comment #2 from Maik Qualmann <metzpinguin@gmail.com> --- > When you click "Add..." a list of cameras currently supported by GPhoto2 > appears? No! And when I add my Panasonic DMC-TZ57 manually and then try to import Digikam crashes > > Maik > > -- > You are receiving this mail because: > You reported the bug. It shouldn't crash, but the DMC-TZ57 camera is currently not in the GPhoto2 supported camera list. Maik Did you see an empty list if you install digiKam 7.7.0 pre-release available here : https://files.kde.org/digikam/ Gilles Caulier Ok, thank you!
I can use the camera as a USB drive instead, which works fine but I have to relaunch Digikam every time I connect it for it to be available.
Not a real problem but it would be nice if Digikam could acknowledge the USB drive being hot plugged…
Sascha
> On 20 Mar 2022, at 10:53, Maik Qualmann <bugzilla_noreply@kde.org> wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=451719
>
> --- Comment #5 from Maik Qualmann <metzpinguin@gmail.com> ---
> It shouldn't crash, but the DMC-TZ57 camera is currently not in the GPhoto2
> supported camera list.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Thank you Gilles!
I’ll try this later and report (prefer to go out now an enjoy the sunny weather here in Paris 😁)
Sascha
> On 20 Mar 2022, at 10:59, bugzilla_noreply@kde.org wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=451719
>
> --- Comment #6 from caulier.gilles@gmail.com ---
> Did you see an empty list if you install digiKam 7.7.0 pre-release available
> here :
>
> https://files.kde.org/digikam/
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You reported the bug.
7.7.0 pre-release is this version that i use to take the screenshot. So, it must work typically... Gilles Created attachment 147621 [details] attachment-21165-0.html Just tried with 7.7.0 as you suggested. But the camera list is still empty… I then added the camera manually: and tried to import from it but Digikam crashed: As I said, if I import from it as an USB Storage device it works But unfortunately only if I plug in the camera before launching Digikam… Please let me know if I can do anything to help you to understand the problem! Regards Sascha P.S.: Nevertheless, Digikam is just gorgeous! Thank you for your great work! > On 20 Mar 2022, at 11:06, bugzilla_noreply@kde.org wrote: > > https://bugs.kde.org/show_bug.cgi?id=451719 > > --- Comment #9 from caulier.gilles@gmail.com --- > 7.7.0 pre-release is this version that i use to take the screenshot. So, it > must work typically... > > Gilles > > -- > You are receiving this mail because: > You reported the bug. Created attachment 147622 [details]
Screenshot 2022-03-20 at 16.01.19.png
Created attachment 147623 [details]
Screenshot 2022-03-20 at 16.03.07.png
Created attachment 147624 [details]
Screenshot 2022-03-20 at 16.03.30.png
Created attachment 147625 [details]
Screenshot 2022-03-20 at 16.03.55.png
Created attachment 147626 [details]
Screenshot 2022-03-20 at 16.10.22.png
Please scroll to thread 28 that is the thread that crashed or post the full log. Maik I just tried with my second macbook pro, and i can reproduce the problem : https://i.imgur.com/01yw6KQ.png Gilles Caulier I suspect an access right to add in MacOS config panel, section "Security..." On my first computer where list is populated, digiKam appear in plenty of entries : - Files and folders; - Accessibility; - Photos. On my mac, digiKam appears in "Files and folders”, I added it manually to “Accessibilty”, but that did not change anything.
For “Photos” one can’t add an app via the GUI, maybe through Terminal ? But anyhow, I can hardly imagine how this could be the reason...
> On 20 Mar 2022, at 16:47, bugzilla_noreply@kde.org wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=451719
>
> --- Comment #18 from caulier.gilles@gmail.com ---
> I suspect an access right to add in MacOS config panel, section "Security..."
>
> On my first computer where list is populated, digiKam appear in plenty of
> entries :
>
> - Files and folders;
> - Accessibility;
> - Photos.
>
> --
> You are receiving this mail because:
> You reported the bug.
*** Bug 460252 has been marked as a duplicate of this bug. *** Here my screenshot of digiKam 8.0.0 taken under my macbook pro 2015 Intel : https://i.imgur.com/WmgomT5.png As you can see the camera list is populated properly. I setup all the rights to the application listed on the online documentation: https://docs.digikam.org/en/getting_started/installation.html#digikam-on-macos Gilles Caulier Bonjour M. Caulier, Sorry to say but it still doesn't work for me. I really would like to understand what I'm doing wrong... Here's how I proceeded to be sure to start from a fresh installation: I deleted the old apps I also deleted: ~/Library/Preferences/digikamrc, ~/Library/Preferences/digikam_systemrc, ~/Library/Caches/digikam and ~/Library/Application Support/digikam I downloaded version 8, installed it and gave it all the necessary rights (see attached screenshots) But the camera list is still empty... https://www.dropbox.com/sh/676lv0a4vwix28p/AACXl86buonyqgqDMvo_zF7ea?dl=0 Any idea? Thank you Sascha Well no. Typically all digiKam settings is not relevant of Gphoto2 right access. I'm sure that problem is located with the MacOS right settings. But what's exactly ??? Gilles Caulier Just for your information: I just did the same installation on my wife's Mac (Ventura 13.2) with the same result: the camera list is empty... In case it might help: when launching Digikam with Terminal I get the following messages: alexanderschlottau@Macbook-pro ~ % /Applications/digiKam.org/digikam.app/Contents/MacOS/digikam qt.qpa.fonts: Populating font family aliases took 281 ms. Replace uses of missing font family ".AppleSystemUIFont" with one that exists to avoid this cost. dbus[6787]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kf.xmlgui: Unhandled container to remove : Digikam::DigikamApp No idea if the dynamic session problem is related to the gphoto2 problem... Regards Sascha Dynamic session is DBUS used by Qt. It's a protocol based on a local server to allows to communicate between application. It's only Linux stuff, even if it can run under other OS. It's not used by digiKam at all. Gilles As you already said: if on your Mac the camera list is filled and on our two Macs it's not, the problem probably is that the GPhoto2 code is not being executed and/or has not sufficient rights on our Macs. Could it be that as a developer you put up your Mac with some special privileges? Not all. I have not set anything excepted the rights from the macOS ctrl panel Gilles *** Bug 470530 has been marked as a duplicate of this bug. *** I see the same behavior on Windows 11 Pro 22H2 and on Windows 10 with digiKam 8.1.0. After a fresh install, the list of supported cameras is empty. Tried running the app as admin and installing as admin user - no difference. I have no previous experience with digiKam, so cannot say whether it worked on Windows before. Are there any debug options or logfiles I could look at to see what's going on? Or should I rather file this as a separate Bug as it is on Windows not Mac? Unfortunately this is a showstopper for me - otherwise the app looks really great - exactly what I was looking for! (In reply to Jarmo from comment #30) > I see the same behavior on Windows 11 Pro 22H2 and on Windows 10 with > digiKam 8.1.0. > After a fresh install, the list of supported cameras is empty. > Tried running the app as admin and installing as admin user - no difference. > > I have no previous experience with digiKam, so cannot say whether it worked > on Windows before. > > Are there any debug options or logfiles I could look at to see what's going > on? Or should I rather file this as a separate Bug as it is on Windows not > Mac? > > Unfortunately this is a showstopper for me - otherwise the app looks really > great - exactly what I was looking for! Right after posting this I was able to solve the problem thanks to a comment in bug 398166: dikiKam needs to be started from the installation folder (C:\Program Files\digiKam\) an not from the Start Menu. Maybe that is something that should be mentioned in documentation if it can't be fixed? Unfortunately import still does not work - no connection to camera is established. Will keep searching for a solution... Hi, Gphoto2 support do not work under Windows. This is a limitation of Gphoto2, not digiKam, even if Gphoto2 can be compiled under Windows now. this require a change in usb module inside the Windows core to work, which is out of scope from digiKam. The only way for the future is to support the native Windows API to deal with camera, which is not yet implemented. The MacOS problem is different as it's relevant of right access to the camera to setup from end users to the bundled application. Best Gilles Caulier *** Bug 451727 has been marked as a duplicate of this bug. *** 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 (In reply to caulier.gilles from comment #34) > 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 Hi Gilles, I'm on an Intel Mac (Ventura 13.6.9) with DigiKam 8.4.0 and still have an empty camera list. I would very much like to test a pre-release for Intel! The pre-release for Intel (Qt5 based) will arrives in few hours in the legacy/ sub directory of the same download area. I currently recompile whole Macports from scratch since 8 hours and it's will be ready later today i hope. Please be patient... 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 451727, bug 460252, bug 470530 M +10 -3 core/app/utils/digikam_globals_bundles.cpp https://invent.kde.org/graphics/digikam/-/commit/b976d40cc24f9f7f43b935ed884593040d4903ec 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 451727, bug 460252, bug 470530 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 Sounds great! Thank you! Eager to test it on my Intel Mac! |
Created attachment 147613 [details] Camera configuration Shouldn't the list be filled with compatible cameras? Or is there a way to fill it? SOFTWARE/OS VERSIONS macOS: 12.3