<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Output on attempting to import is
below - I'm assuming the ALSA errors are not related<br>
</tt>
<blockquote><tt>digikam.geoiface: "setting backend marble"</tt><br>
<tt>ALSA lib conf.c:3750:(snd_config_update_r) Cannot access
file ././/share/alsa/alsa.conf</tt><br>
<tt>ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL
hw:0</tt><br>
<tt>AL lib: (EE) probe_devices: control open (hw:0): No such
file or directory</tt><br>
<tt>ALSA lib conf.c:3750:(snd_config_update_r) Cannot access
file ././/share/alsa/alsa.conf</tt><br>
<tt>ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL
hw:1</tt><br>
<tt>AL lib: (EE) probe_devices: control open (hw:1): No such
file or directory</tt><br>
<tt>ALSA lib conf.c:3750:(snd_config_update_r) Cannot access
file ././/share/alsa/alsa.conf</tt><br>
<tt>ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
default</tt><br>
<tt>AL lib: (EE) ALCplaybackAlsa_open: Could not open playback
device 'default': No such file or directory</tt><br>
<tt>digikam.general: AudioOutput backends: ("OpenAL", "null")</tt><br>
<tt>digikam.geoiface: "ROADMAP"</tt><br>
<tt>digikam.geoiface: "setting backend marble"</tt><br>
<tt>QLayout: Attempting to add QLayout "" to
Digikam::DNGConvertSettings "", which already has a layout</tt><br>
<tt>digikam.geoiface: "ROADMAP"</tt><br>
<tt>QFSFileEngine::open: No file name specified</tt><br>
<tt>digikam.import: Log ( "" "" : "Connecting to camera..."</tt><br>
<tt>digikam.geoiface: ----</tt><br>
<tt>digikam.import: Failed to initialize camera!</tt><br>
<tt>digikam.import: Libgphoto2 error: Could not lock the
device ( -60 )</tt><br>
<tt>digikam.import: Log ( "" "" : "Connection failed."</tt><br>
<tt>QWidget::insertAction: Attempt to insert null action</tt><br>
<tt>QFSFileEngine::open: No file name specified</tt><br>
<tt>QFSFileEngine::open: No file name specified</tt><br>
<tt>QFSFileEngine::open: No file name specified</tt><br>
<tt>QFSFileEngine::open: No file name specified</tt><br>
</blockquote>
<tt><br>
But outside the appimage I can access the Huawei device<br>
</tt><tt><br>
</tt>
<blockquote><tt>tonbaz@muscat:~$ gphoto2 --auto-detect</tt><br>
<tt>Model
Port </tt><br>
<tt>----------------------------------------------------------</tt><br>
<tt>USB PTP Class Camera usb:001,011 </tt><br>
<br>
<tt>tonbaz@muscat:~$ lsusb</tt><br>
.....<br>
Bus 001 Device 011: ID 12d1:107e Huawei Technologies Co., Ltd. <br>
</blockquote>
I'm not that familiar with appimage, but understand it to contain
all the libraries required.<br>
If that's the case it appears that the problem lies in the
digikam appimage or it's interface with Ubuntu.<br>
<br>
As Richard suggests I can transfer files to a Ubuntu directory and
import from that directory as a work around.<br>
<br>
Should I report this as a digikam bug, or is Is there something
else I can do?<br>
<br>
Tony<br>
<br>
<br>
<br>
<br>
On 11/02/18 21:19, Gilles Caulier wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHFG6sHyqK0RNX0GriiQQe4pNRaegiufWz6RB8cC__1keZiAEg@mail.gmail.com"
id="mid_CAHFG6sHyqK0RNX0GriiQQe4pNRaegiufWz6RB8cC__1keZiAEg_mail_gmail_com"
class=" cite">
<div dir="ltr">Well, the PTP protocol is implement through Gphoto2
driver. If this kind of error appear, this can be a dysfunction
located in Gphoto2 driver.
<div><br>
</div>
<div>To have more details about, run the appimage from a console
and look debug trace printed while you try to read the phone
contents.</div>
<div><br>
</div>
<div>Gilles Caulier</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2018-02-11 4:30 GMT+01:00 Tony Bazeley
<span dir="ltr"><<a href="mailto:tonyb@sa.apana.org.au"
target="_blank" moz-do-not-send="true">tonyb@sa.apana.org.au</a>></span>:<br>
<blockquote class="gmail_quote cite" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"
id="Cite_2918120">
<div text="#000000" bgcolor="#FFFFFF">
<p>I'm a bit new to digikam, and having trouble with
import procedures.<br>
Am trying to import from a Huawei P9 phone, configured
to PTP mode.</p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Trying
to import using the generic USB PTP Class camera or the
digikam suggested option "Huawei P9 Plus" both yield the
same error:<br>
<i>"Failed to connect to the camera. Please make sure it
is connected properly and turned on."</i></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
</p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I'm
using digikam-5.8.0-01-x86-64 under Ubuntu 16.04.3 LTS<br>
</p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Would
very much appreciate any thoughts on how to proceed.<br>
</p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
</p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">TIA</p>
<span class="HOEnZb"><font color="#888888">
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Tony<br>
</p>
<p><br>
</p>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>