Bug 363998 - DigiKam sees Nikon D700 but cannot import files
Summary: DigiKam sees Nikon D700 but cannot import files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 4.14.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 18:31 UTC by Ray Di Mascio
Modified: 2017-08-16 05:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments
Install Results.docx (43.95 KB, application/vnd.ms-word.document.12)
2016-11-25 16:33 UTC, Ray Di Mascio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Di Mascio 2016-06-05 18:31:57 UTC
D700 is recognised on connecting, but "Failed to connect to camera".. etc. when Import is selected. I have checked dependencies using :

cat /etc/apt/apt.conf.d/99synaptic
apt policy digikam
apt recommends digikam

none missing.

There is no storage device setting on the D700 so selecting D700 PTP mode (in DK) makes no difference.

Reproducible: Always

Steps to Reproduce:
1.Select Import from auto-detected Nikon D700
2.
3.

Actual Results:  
Red banner saying "Failed to connect to the camera.  Please make sure it's connected properly and turned on"

Expected Results:  
Nice pictures to import !

Many thanks for any help offered.  I'm not an expert in Linux but can follow most simple instructions.
Comment 1 caulier.gilles 2016-06-19 18:08:22 UTC
Nikon and PTP want mean Gphoto2 driver is user to communicate with the camera.

Gilles Caulier
Comment 2 Ray Di Mascio 2016-06-20 20:22:18 UTC
Thanks for your reply but Gphoto2 is installed already.
Comment 3 caulier.gilles 2016-06-20 20:31:51 UTC
sure installed, else digiKam cannot be use it...

but the gphoto2 CLI tool is able to manage the Nikon camera as well ?

Gilles Caulier
Comment 4 Ray Di Mascio 2016-06-20 20:51:57 UTC
Gphoto2 --auto-detect is able to find the D700 on USB 006,005 PTP mode.  I'm very new to Linux so I'm not great at using the Terminal unless I'm given the commands ! It feels like DigiKam is not able to access the port.  Many thanks.
Comment 5 caulier.gilles 2016-07-04 20:09:10 UTC
This file still valid using digiKam 5.0.0 ?

Gilles Caulier
Comment 6 Ray Di Mascio 2016-07-05 11:28:29 UTC
I'm using DigiKam 4.14.0 with KDE 4.14.13 if that's what you are asking.  Thanks.
Comment 7 caulier.gilles 2016-11-25 06:54:13 UTC
This problem still reproducible using last DK 5.4.0 bundle ?

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWlRJenM

Gilles Caulier
Comment 8 Ray Di Mascio 2016-11-25 11:33:57 UTC
Yes, unfortunately.

Thanks.


On 25/11/16 06:54, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=363998
>
> --- Comment #7 from caulier.gilles@gmail.com ---
> This problem still reproducible using last DK 5.4.0 bundle ?
>
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWlRJenM
>
> Gilles Caulier
>
Comment 9 caulier.gilles 2016-11-25 12:10:53 UTC
How did you perform the test ?

The 5.4.0 AppImage bundle use last libgphoto2 2.5.11 released few days ago. Nikon D700 driver is a gphoto2 one.

What do you see on the console as debug statement when you try to be connected to camera ?

Gilles Caulier
Comment 10 Ray Di Mascio 2016-11-25 13:31:43 UTC
Dear Gilles,

I'm sorry, but I cannot understand how to connect AppImage with 
DigiKam.  This is a bit out of my league.  Nothing has updated my 
libgphoto2 and the latest version I can find online is 2.5.10-3.

I will leave this for a while until I have gone through the Forums to 
see if I can understand what to do with AppImage.

Many thanks.

Ray


On 25/11/16 12:10, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=363998
>
> --- Comment #9 from caulier.gilles@gmail.com ---
> How did you perform the test ?
>
> The 5.4.0 AppImage bundle use last libgphoto2 2.5.11 released few days ago.
> Nikon D700 driver is a gphoto2 one.
>
> What do you see on the console as debug statement when you try to be connected
> to camera ?
>
> Gilles Caulier
>
Comment 11 caulier.gilles 2016-11-25 14:29:57 UTC
No AppImage in a Linux bundle for application.

libgphoto2 2.5.11 is included inside... You have nothing to install on your computer. All the dependencies required to run digiKam are inside. That all...

https://www.digikam.org/node/761

The AppImage is and executable. just run it on a console, and you will see all debug statements, as a system based application.

Gilles Caulier
Comment 12 caulier.gilles 2016-11-25 14:32:28 UTC
Note : the link to download DK AppImage bundle is this one : 

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 13 Ray Di Mascio 2016-11-25 14:55:26 UTC
Dear Gilles,

Thank you for all your help.  I uninstalled DK 5.3.0, went to the link 
you gave me, downloaded and installed DK 5.4.0.

Libgphoto2 is still 2.5.9-3 and I still get the same error message.

What am I doing wrong??

Regards,

Ray


On 25/11/16 14:32, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=363998
>
> --- Comment #12 from caulier.gilles@gmail.com ---
> Note : the link to download DK AppImage bundle is this one :
>
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM
>
> Gilles Caulier
>
Comment 14 caulier.gilles 2016-11-25 15:56:17 UTC
Help/Components Info from digiKam menu must said libgphoto2 2.5.11.

The bundle do not install anything on your system. Your libgphoto2 from your system will still here as well...

run the bundle in a console and give me the backtrace.

Gilles Caulier
Comment 15 Ray Di Mascio 2016-11-25 16:33:55 UTC
Created attachment 102440 [details]
Install Results.docx

I'm sorry, I don't know how to do that.

I tried to install libgphoto2 2.5.11 but package manager still shows 
2.5.9-3. I have attached the install dump from the terminal.

I don't want to take up any more of your time, you've been very kind by 
trying to help me, but I don't have a deep knowledge of Linux.

Best regards,

Ray



On 25/11/16 15:56, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=363998
>
> --- Comment #14 from caulier.gilles@gmail.com ---
> Help/Components Info from digiKam menu must said libgphoto2 2.5.11.
>
> The bundle do not install anything on your system. Your libgphoto2 from your
> system will still here as well...
>
> run the bundle in a console and give me the backtrace.
>
> Gilles Caulier
>
Comment 16 caulier.gilles 2016-11-25 17:06:26 UTC
Stop imediatly (:=)))...

Read well my previous comments : YOU DONT need to install anything on your system to run the AppImage bundle.

Download the AppImage bundle on your computer, somewhere in your account. Make the file executable and start it as well from a console. That all. The bundle is an archive which will be decompressed in memory as a virtual file system. In this archive you have all shared libs that digiKam need to run. Also digiKam executable is also in the bundle of course. Running the bundle == run digiKam from the bundle.

It's simple simple simple. The libgphoto 2.5.11 is already in the bundle and digiKam will use it. Alll system libraries are not use in the bundle. If something is broken on your computer (or is badly packaged), this will not perturb digiKam run time. 

Voilà... You know all the stuff now...

Gilles Caulier
Comment 17 Ray Di Mascio 2016-11-25 19:17:06 UTC
I found the answer.  The camera has to be UNMOUNTED for DK to work !

Now we can all get some sleep.

All the best,

Ray


On 25/11/16 17:06, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=363998
>
> --- Comment #16 from caulier.gilles@gmail.com ---
> Stop imediatly (:=)))...
>
> Read well my previous comments : YOU DONT need to install anything on your
> system to run the AppImage bundle.
>
> Download the AppImage bundle on your computer, somewhere in your account. Make
> the file executable and start it as well from a console. That all. The bundle
> is an archive which will be decompressed in memory as a virtual file system. In
> this archive you have all shared libs that digiKam need to run. Also digiKam
> executable is also in the bundle of course. Running the bundle == run digiKam
> from the bundle.
>
> It's simple simple simple. The libgphoto 2.5.11 is already in the bundle and
> digiKam will use it. Alll system libraries are not use in the bundle. If
> something is broken on your computer (or is badly packaged), this will not
> perturb digiKam run time.
>
> Voilà... You know all the stuff now...
>
> Gilles Caulier
>