java.io.IOException in FileSet

Support for Ubuntu and other Linux distros
Post Reply
gtrryu
Posts: 4
Joined: 06 Sep 2017, 08:57

java.io.IOException in FileSet

Post by gtrryu » 07 Sep 2017, 08:39

Hi,

I've a very strange behavior when I try to process my files.
If I try a file, I've this result :

Code: Select all

Run script [fn:amc] at [Thu Sep 07 05:09:00 CEST 2017]
Parameter: skipExtract = y
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = .excludes
Parameter: ut_dir = /home/user/Downloads/MyMovie
Parameter: ut_kind = multi
Parameter: ut_title = MyMovie
Parameter: ut_label = N/A
Parameter: minFileSize = 10
Parameter: minLengthMS = 0
Parameter: plex = *****
Use excludes: /mnt/drive/.excludes (1)
Repérage non permis
java.io.IOException: Repérage non permis
        at net.filebot.util.FileSet.append(FileSet.java:171)
        at Script1.run(Script1.groovy:303)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:119)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
        at net.filebot.Main.main(Main.java:115)

Failure (°_°)
And if I try it again, all is ok. It is processed !

Here are my sysinfo :

Code: Select all

$ filebot -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_144
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 17 MB Used Memory
OS: Linux (amd64)
Package: DEB
uname: Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Do you have an idea ?

Thx

User avatar
rednoah
The Source
Posts: 12457
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: java.io.IOException in FileSet

Post by rednoah » 08 Sep 2017, 03:29

Repérage non permis probably means that the drive didn't work at the time for some reason.
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

Image

Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

gtrryu
Posts: 4
Joined: 06 Sep 2017, 08:57

Re: java.io.IOException in FileSet

Post by gtrryu » 08 Sep 2017, 16:13

If I disable the 'exclude' parameter, all is ok...
Very strange.
The drive seems to be good.

For information, the drive is an Amazon Cloud Drive mounted with rclone.

User avatar
rednoah
The Source
Posts: 12457
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: java.io.IOException in FileSet

Post by rednoah » 08 Sep 2017, 16:20

It's trying to write to this file and the operating system denies access or the write operation fails for some other reason:

Code: Select all

/mnt/drive/.excludes
If you disable the exclude option, then it won't write that file and you won't get an error right away. That does not mean that the underlying problem of not being able to write to /mnt/drive is in any way solved. Not sure what the reason is, but fixing symptoms probably won't help you solve the problem. ;)
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

Image

Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

User avatar
rednoah
The Source
Posts: 12457
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: java.io.IOException in FileSet

Post by rednoah » 08 Sep 2017, 16:23

gtrryu wrote:
08 Sep 2017, 16:13
For information, the drive is an Amazon Cloud Drive mounted with rclone.
This is probably something that should have been mentioned in the very first sentence of the very first post. Remote filesystems are infinitely more error prone than local filesystems for obvious reasons. It's kinda up to rclone how to deal with error and how to present (or not present) them to higher-level applications.
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

Image

Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

gtrryu
Posts: 4
Joined: 06 Sep 2017, 08:57

Re: java.io.IOException in FileSet

Post by gtrryu » 08 Sep 2017, 19:12

I agree. Mounted storage are not the most stable.
But it is very strange than since I removed the exclude option, all seems to be ok...
If I have this problem again, I will swich to a local drive...
Thx for your help

User avatar
rednoah
The Source
Posts: 12457
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: java.io.IOException in FileSet

Post by rednoah » 09 Sep 2017, 03:54

You need to set --def excludeList and using a local file is probably a good idea:

Code: Select all

--def excludeList="$HOME/amc.excludes"
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

Image

Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

gtrryu
Posts: 4
Joined: 06 Sep 2017, 08:57

Re: java.io.IOException in FileSet

Post by gtrryu » 09 Sep 2017, 09:18

Good idea. I just ran with this option and it seems to be ok.
Thx

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest