Bug 380022 - kdeconnect: can't browse files
Summary: kdeconnect: can't browse files
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 22:45 UTC by Fergus Incoronato
Modified: 2019-03-08 15:23 UTC (History)
2 users (show)

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


Attachments
Browsing Xiaomi error (58.37 KB, image/png)
2017-06-24 18:01 UTC, pmargeti34
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fergus Incoronato 2017-05-19 22:45:08 UTC
I installed `kdeconnect` and `indicator-kdeconnect` as explained at [OMG! Ubuntu!](http://www.omgubuntu.co.uk/2017/02/easy-way-connect-android-to-ubuntu-pc) and [github](https://github.com/vikoadi/indicator-kdeconnect/issues/43):

    sudo add-apt-repository ppa:varlesh-l/indicator-kdeconnect
    sudo apt update
    sudo apt install kdeconnect indicator-kdeconnect

Everything seems to work properly except the ***Browse device*** functionality. If I click on the indicator and then on *Browse device*, `nautilus` pops-up however the directory (`$HOME/.config/kdeconnect/[DEVICEID]/kdeconnect_sftp/[DEVICEID]`) is empty.

Do you have any suggestion on how to proceed from here?

Thanks in advance.

Environment
===
---
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID:	Ubuntu
    Description:	Ubuntu 16.04.2 LTS
    Release:	    16.04
    Codename:	    xenial

Package Version
===
---
**dbus**

    $ apt show dbus
    Version: 1.10.6-1ubuntu3.3


**kdeconnect**

    $ apt show kdeconnect
    Version: 1.0.3ubuntu16.04

**indicator-kdeconnect**

    $ apt show indicator-kdeconnect
    Version: 0.6ubuntu16.04.1

Syslog
===
---
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Mount device: "google"
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Created mounter
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Unmount QObject(0x0)
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Starting process:  "sshfs kdeconnect@192.168.1.3:/ /home/ncrfgs/.config/kdeconnect/28cebede2fc57937/kdeconnect_sftp/28cebede2fc57937 -p 1739 -f -F /dev/null -o IdentityFile=/home/ncrfgs/.config/kdeconnect/privateKey.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o HostKeyAlgorithms=ssh-dss -o password_stdin"
    org.kde.kdeconnect[12766]: QDBusAbstractAdaptor: Cannot relay signal SftpPlugin::packageReceived(NetworkPackage): Unregistered input type in parameter list: NetworkPackage
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Process started
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: "google" "Remote filesystem mounted at /home/[USER]/.config/kdeconnect/[DEVICEID]/kdeconnect_sftp/[DEVICEID]"
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: stdout: "fuse: bad mount point `/home/[USER]/.config/kdeconnect/[DEVICEID]/kdeconnect_sftp/[DEVICEID]': Transport endpoint is not connected\n"
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Process finished (exit code:  1 )
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: "google" Remote filesystem unmounted
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Unmount KProcess(0x1d92650)
    org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Destroy mounter
Comment 1 pmargeti34 2017-06-24 18:00:09 UTC
Archlinux KDE Connect 1.0.3
Xiaomi redmi note 3 pro KDE Connect 1.6.4

Trying to access Xiaomi in places in Dolphin generates this output in journal:

Jun 24 19:24:19 loonix dolphin[1176]: Trying to convert empty KLocalizedString to QString.
Jun 24 19:24:19 loonix kdeinit5[1277]: kdeconnect.kio: Setting host:  "84a764d5d205905a"
Jun 24 19:24:19 loonix kdeinit5[1277]: kdeconnect.kio: Listing... QUrl("kdeconnect://84a764d5d205905a/")
Jun 24 19:24:19 loonix kdeinit5[1277]: kdeconnect.kio: ListDevice "84a764d5d205905a"
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Mount device: "Xiaomi"
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Created mounter
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Starting loop to wait for mount
Jun 24 19:24:19 loonix kdeinit5[1279]: kdeconnect.kio: Setting host:  "84a764d5d205905a"
Jun 24 19:24:19 loonix kdeinit5[1279]: kdeconnect.kio: Stat:  QUrl("kdeconnect://84a764d5d205905a/")
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Unmount QObject(0x0)
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Starting process:  "sshfs kdeconnect@192.0.2.1:/ /home/anon/.config/kdeconnect/84a764d5d205905a/kdeconnect_sftp/84a764d5d205905a -p 1739 -f -F /dev/null -o IdentityFile=/home/anon/.config/kdeconnect/privateKey.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o HostKeyAlgorithms=ssh-dss -o password_stdin"
Jun 24 19:24:19 loonix kdeconnectd[475]: QDBusAbstractAdaptor: Cannot relay signal SftpPlugin::packageReceived(NetworkPackage): Unregistered input type in parameter list: NetworkPackage
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Process started
Jun 24 19:24:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: "Xiaomi" "Remote filesystem mounted at /home/anon/.config/kdeconnect/84a764d5d205905a/kdeconnect_sftp/84a764d5d205905a"
Jun 24 19:25:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: stdout: "Timeout waiting for prompt\n"
Jun 24 19:25:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Process finished (exit code:  1 )
Jun 24 19:25:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: "Xiaomi" Remote filesystem unmounted
Jun 24 19:25:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Unmount KProcess(0xe0b260)
Jun 24 19:25:19 loonix kdeconnectd[475]: kdeconnect.plugin.sftp: Destroy mounter
Comment 2 pmargeti34 2017-06-24 18:01:37 UTC
Created attachment 106277 [details]
Browsing Xiaomi error
Comment 3 Sebastian Frei 2017-11-30 12:50:51 UTC
I think this is a duplicate of 364571.
Comment 4 Erik Duisters 2019-03-08 15:23:31 UTC
Things have changed considerably since this bug was reported the latest commit a6fdddf84379dc6d6da06295217870d1a1e970d2 also allows read/write access to KitKat and newer devices