Bug 344465 - Digikam either can't detect camera (auto mode) or crashes (PTP) while import
Summary: Digikam either can't detect camera (auto mode) or crashes (PTP) while import
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 4.6.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 22:56 UTC by Basti
Modified: 2023-05-19 07:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Basti 2015-02-22 22:56:52 UTC
When trying to import photos from my Nikon D7000 Digikam is not able to get photos from my camera.

I don't know if this is a duplicate of #339008.

Reproducible: Always

Steps to Reproduce:
A: The auto-detect way
1. Start Digikam
2. Connect Camera (Nikon D7000, Firmware A 1.04 B 1.05)
3. Press Import -> From Camera -> Nikon D700 Auto-detected

B: The manual way

1. Start Digikam
2. Connect Camera (Nikon D7000, Firmware A 1.04 B 1.05)
3. Press Import -> From Camera -> Add manual
4. Add Nikon D7000 PTP, OK
5. Import -> From Camera -> Nikon D7000 PTP

Actual Results:  
Method A:
Nothing Happens. No import windows pops up.

Method B:
Digikam crashes reproducibly.

Expected Results:  
Show me my pictures on the camera.

Terminal output:
Mehod A:
digikam(4699)/digikam (core): Failed to get information for the listed camera 
digikam(4699)/digikam (core): Failed to detect camera with GPhoto2 from Solid information 

Method B:
digikam(4699)/digikam (core) Digikam::ImportStackedView::syncSelection: one or both of the models are null?! from: Digikam::ImportIconView(0x37439c0) to: Digikam::ImportThumbnailBar(0x1cf7480) 
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/user/.kde4/socket-user-pc-gentoo64/kdeinit4__0
digikam: Fatal IO error: client killed
Unable to start Dr. Konqi
Comment 1 caulier.gilles 2015-02-22 23:04:13 UTC
We need a GDB backtrace to hack. Follow instructions here :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 Basti 2015-03-01 09:35:53 UTC
Too bad I cannot reproduce it anymore. I'm sorry to have wasted your precious time.

If I can reproduce it, I'll report again here.