[BUG] won't work with files on a SAMBA share (/GVFS)

All your suggestions, requests and ideas for future development
Post Reply
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

[BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

unable to drop files from a network share.
- many versions ago, filebot shellscript needed to be adited to "-DuseGVFS=true"
-then it just worked, now I see this setting by default, but 2-3 versions ago, it stopped working...
(an attempt to drop files , makes the droptarget deny them, with visual feedback.

FileBot 4.7.8 (r4846)
JNA Native: 5.1.0
MediaInfo: 0.7.92.1
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: OK
Script Bundle: 2017-02-20 (r481)
Groovy: 2.4.8
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 6 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /home/andre/.filebot
uname: Linux loke 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:27:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

Is there any console output?
:idea: Please read the FAQ and How to Request Help.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

Yes;
java.io.FileNotFoundException: smb://192.168.1.20/episodes/TEST%20FILE.mkv
that's the referance from Nautilus , I modified the actual item here, but it's a valid path, if %20 is ok instead of spaces, if you can access it that way.
normally, the file should be accessed as:

/run/user/1000/gvfs/smb-share\:server\=192.168.1.20\,share\=episodes/TEST\ FILE.mkv
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

Is your $XDG_RUNTIME_DIR set correctly?

e.g. filebot.sh

Code: Select all

-Dnet.filebot.gio.GVFS="$XDG_RUNTIME_DIR/gvfs"
:idea: Please read the FAQ and How to Request Help.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

yes, it looks good:
echo $XDG_RUNTIME_DIR
/run/user/1000
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

Please replace the jar with r4863 and try again. There should be more thorough logging now.
https://sourceforge.net/projects/filebo ... ebot/HEAD/
:idea: Please read the FAQ and How to Request Help.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

it's low logged as:
GVFS: smb://192.168.1.20/episodes/0_INCOMING/TEST.mkv => /run/user/1000/gvfs/smb-share:server=192.168.1.20,share=mp3-christmas/episodes/0_INCOMING/TEST.mkv

as you can see, it fails by attempting to use wrong share "mp3-christmas" instead of "episodes"
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

What does ls -l "$XDG_RUNTIME_DIR/gvfs" say?

Code: Select all

ls -l "$XDG_RUNTIME_DIR/gvfs"
:idea: Please read the FAQ and How to Request Help.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

it gives :
total 8
drwx------ 1 andre andre 0 jan. 10 22:03 smb-share:server=192.168.1.20,share=backup
drwx------ 1 andre andre 0 feb. 24 20:35 smb-share:server=192.168.1.20,share=episodes
drwx------ 1 andre andre 0 des. 16 19:28 smb-share:server=192.168.1.20,share=movies
drwx------ 1 andre andre 0 april 11 2016 smb-share:server=192.168.1.20,share=mp3
drwx------ 1 andre andre 0 feb. 19 22:43 smb-share:server=192.168.1.20,share=mp3-christmas
drwx------ 1 andre andre 0 feb. 19 22:43 smb-share:server=192.168.1.20,share=mp3-comedy
drwx------ 1 andre andre 8192 des. 16 22:54 smb-share:server=192.168.1.81,share=d$

nothing strange there, except I could have unmounted xmas music two months ago :)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

Please try r4866. Upload might take another ~30 min though.
:idea: Please read the FAQ and How to Request Help.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

30min ? - I will be disappointed if the patch is >5GB :D
- will let you know :)
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

r4866 works as expected. :)
Thank you.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

If you could try r4867 as well that'd be appreciated.
:idea: Please read the FAQ and How to Request Help.
Andre-K
Donor
Posts: 49
Joined: 30 Oct 2012, 19:15

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by Andre-K »

r4867 works fine too.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG] won't work with files on a SAMBA share (/GVFS)

Post by rednoah »

OK. Thanks.
:idea: Please read the FAQ and How to Request Help.
Post Reply