Page 2 of 2

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 13:31
by nicoparker
My bad you're right, the actual path in /run/user is :

Code: Select all

/run/user/1000/gvfs/sftp:host=myserver.org,user=nico/home/nico/Series/The Grand Tour - Season 1

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 15:51
by nicoparker
I've just made a quick test, built a KDE Neon VM (similar to Kubuntu, but with the latest KDE packages) and I'm getting the same error.
I've mounted the SSHFS folder with Dolphin ; it passes the same kind of URI to Filebot, with the same result :

Code: Select all

Invalid file URI: sftp://[email protected]/home/nico/Series/etc...

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 15:53
by rednoah
Yeah, the issue is that my GVFS code doesn't consider your username, so it maps the URI to the wrong file path.

I'll upload a new release later. Check back in a few hours and see if it works.

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 16:00
by nicoparker
Wow that's cool, thanks for the quick answer!
It looks like though that the KIO side is also... KO ^^
I've tried to locate where the SFTP folder was mounted but I couldn'f find it.

Maybe it's the same kind of problem?

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 16:21
by rednoah
GVFS is semi-supported. KIO isn't supported at all. Why Nautilus and Konqueror can't just use (or at least include) the local VFS file paths when dragging files like on Windows and Mac is a mystery to me.

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 16:45
by rednoah
Please try FileBot 4.7.5 RC2:
viewtopic.php?f=7&t=1609

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 17:09
by nicoparker
Works \o/ I've checked the console, it throws no error.
Well, congrats, and thanks a lot for your help, you just made my life easier :-)

PS : I've made you a small donation, hope that helps you going on!

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 17:23
by rednoah
Sure, thanks for testing.

On Linux, the FileBot GUI is a bit rough cause Java Swing isn't supported as well and very few people actually use it and report issues. So feel free to report any issues you may find. ;)

Re: bug: Dragging files from network shares does not work.

Posted: 18 Nov 2016, 17:31
by nicoparker
I will for sure!
I know I should optimize my work flow, but I'm used to move, rename and download subs with the local GUI on the remote server.
I should though give a try to the CLI directly on the server (headless jre).

I wish you a very nice week-end - and thanks again for your great work.