Bug 352932

Summary: SFTP: Filesystem expose does not work in Manjaro after reinstalling kdeconnect and sshfs
Product: [Applications] kdeconnect Reporter: Aditya Patil <35ac7a95>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aditya Patil 2015-09-20 05:46:08 UTC
The configuration is like this.
Computer: 
    Linux 4.2.0-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux

kdeconnect on computer:
    Qt: 4.8.7
    KDE Development Platform: 4.14.11
    kdeconnect-cli: 1.0

Android Phone:
    Yu Yureka
    CyanogenMod 12.0 (12.0-YNG1TAS1K0)
    Rooted phone, TWRP recovery

kdeconnect on android:
    version 0.9.1
    downloaded from google play store
--------------------------------------
The Story:
    The first time when I connected my phone to computer using kdeconnect, all worked fine. But I was unable to connect next time. The reason most likely was my lack of knowledge to do so.
I ended up reinstalling kdeconnect on computer (but config files were not removed). I set up the connection again. But this time, all features worked except filesystem expose.I can see four directories, that is
1. Camera pictures (Internal storage)
2. Camera pictures (SD card)
3. Internal storage
4. SD card
But when  I click on any of them I get such a error.

The file or folder /home/aditya/.kde4/share/apps/kdeconnect/b1ca93f37fe28bc6/storage/emulated/0 does not exist.

Later I removed and reinstalled all three softwares, kdeconnect-cli on computer, sshfs on computer and kdeconnect on android. I took care that all config files are removed. Yet it does not work.

It is worth noting that it works in Live Boot of Manjaro (If I install sshfs)
----------------------------

The network used is USB tethering from my phone to computer. I don't have wifi.

Reproducible: Always

Steps to Reproduce:
1. Connect android to computer using kdeconnect (This might be specific to USB tethering)
2. Enable Filesystem expose
3. Remove kdeconnect on computer (Maybe keep config files)
4. Reinstall kdeconnect on computer
5. Try Filesystem expose again

Actual Results:  
I get this (or similar) error on trying to open any of following  directories
1. Camera pictures (Internal storage)
2. Camera pictures (SD card)
3. Internal storage
4. SD card

The file or folder /home/aditya/.kde4/share/apps/kdeconnect/b1ca93f37fe28bc6/storage/emulated/0 does not exist.


Expected Results:  
The filesystem of phone should have been shown on my computer
Comment 1 Albert Vaca Cintora 2015-12-07 00:26:16 UTC
Should be fixed in 0.9, reopen otherwise.