Page 1 of 1

Hangs up after input:

Posted: 04 Jun 2017, 01:39
by xerrni
Filebot hangs up after getting input.
No matter how much files there is inside directory.
I tried living it for ~10h and still no output...

Code: Select all

filebot -script fn:amc \
--action test \
-non-strict "inputDir" \
--output "outputDir" \ 
--def clean=y \
--def seriesFormat="{plex}.{net.filebot.format.ExpressionFormatMethods.upper(languages.toString())+'.'}{vf}.{source}.{ac}.{channels}.{vc}{'-'+group}" \
--log-file /root/.filebot.log 

Code: Select all

Run script [fn:amc] at [Sun Jun 04 03:35:07 CEST 2017]
Argument[0]: /home/seedbox/torrents/rtorrent/completed/tv_shows
Input: ...
Input: ...
Input: ...

Code: Select all

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
GVFS: PlatformGVFS [/run/user/0/gvfs]
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 1 GB Max Memory / 18 MB Used Memory
OS: Linux (amd64)
Package: DEB
uname: Linux atm.x-serv.me 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ

Re: Hangs up after input:

Posted: 04 Jun 2017, 04:01
by rednoah
1.
Have you tried calling the script on a test folder that only contains a single file? Have you tried a simple -rename call to see if that works?

Nobody has ever reported an issue like that, so I have no idea what might be the cause of that. If you're one of the more technically inclined, you could try to connect to the JVM with jstack or VisualVM so you can get a stack dump and see where each thread is stuck:

Code: Select all

jstack <pid>

2.
I think you mean:

Code: Select all

languages.ISO3.upper()

3.
Running as root is probably a bad idea.