Bug 344465

Summary: Digikam either can't detect camera (auto mode) or crashes (PTP) while import
Product: [Applications] digikam Reporter: Basti <s.hs>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 8.1.0

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.