[solved, FreeBSD] FileBot fail to process .rar file

Any questions? Need some help?
Post Reply
Hatoris
Posts: 6
Joined: 03 Sep 2018, 12:42

[solved, FreeBSD] FileBot fail to process .rar file

Post by Hatoris »

I try the best I can to find response on the forum, but seems to be I miss somthing, I'm pretty sure you will tell me is only a little thing.

My build :

FreeBSD Jail + FileBot + jdownloader

Here is output of filebot -script fn:sysinfo :

Code: Select all

FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 18.05
Apache Commons VFS: [zip, rar]
FFprobe: 4.0.2
Chromaprint: 1.4.3
Extended Attributes: java.io.IOException: UserDefinedFileAttributeView is not supported
Unicode Filesystem: OK
Script Bundle: 2018-08-14 (r534)
Groovy: 2.5.1
JRE: OpenJDK Runtime Environment 1.8.0_172
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 6 Core / 1 GB Max Memory / 26 MB Used Memory
OS: FreeBSD (amd64)
HW: FreeBSD jdownloader 11.2-RELEASE-p2 FreeBSD 11.2-RELEASE-p2 #0: Tue Aug 14 21:45:40 UTC 2018     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
DATA: /usr/home/fileBot/data/root
Package: TAR
License: FileBot License P4106996 (Valid-Until: 2019-07-22)
Done ヾ(@⌒ー⌒@)ノ
When download is finished jdownloader call the filebot-postprocess.sh who look like this :

Code: Select all

#!/bin/sh -xu

# Input Parameters
PACKAGE_LIBRARY_PATH="/usr/local/lib/libmediainfo.so"

export PATH=$PATH:/usr/local/bin:/usr/local/openjdk8/bin/java

# Configuration
CONFIG_OUTPUT="/media"

/usr/home/fileBot/filebot.sh -script fn:amc "/media/Downloads" -extract -no-xattr --output "$CONFIG_OUTPUT" --action move --conflict auto -non-strict --log-file /media/Logs/amc.log.txt --def skipExtract=n deleteAfterExtract=y unsorted=y
music=y artwork=n excludeList="/media/Logs/excludes.txt" plex=192.168.2.21:XXXXXXXXXXX pushbullet=XXXXXXXXXX

#clean
/usr/home/fileBot/filebot.sh -script fn:cleaner "/media/Downloads"
When download is finished and jdownloader call the filebot-postprocess.sh :

Code: Select all

Run script [fn:amc] at [Thu Sep 06 06:26:17 EDT 2018]
Parameter: skipExtract = n
Parameter: deleteAfterExtract = y
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = n
Parameter: excludeList = /media/Logs/excludes.txt
Parameter: plex = *****
Parameter: pushbullet = *****
Argument[0]: /media/Downloads
Use excludes: /media/Logs/excludes.txt (135)
FileSystemException: Could not resolve file "rar:file:///media/Downloads/DEGA1080.part01.rar!/".
FileSystemException: Could not resolve file "rar:file:///media/Downloads/VGDB1080.part01.rar!/".
Input: /media/Downloads/DEGA1080.part01/Downloads
Input: /media/Downloads/DEGA1080.part02/Downloads
Input: /media/Downloads/DEGA1080.part03/Downloads
Input: /media/Downloads/DEGA1080.part04/Downloads
Input: /media/Downloads/DEGA1080.part05/Downloads
Input: /media/Downloads/DEGA1080.part06/Downloads
Input: /media/Downloads/DEGA1080.part07/Downloads
Input: /media/Downloads/DEGA1080.part08/Downloads
Input: /media/Downloads/DEGA1080.part09/Downloads
Input: /media/Downloads/VGDB1080.part01/Downloads
Input: /media/Downloads/VGDB1080.part02/Downloads
Input: /media/Downloads/VGDB1080.part03/Downloads
Input: /media/Downloads/VGDB1080.part04/Downloads
Input: /media/Downloads/VGDB1080.part05/Downloads
Input: /media/Downloads/VGDB1080.part06/Downloads
Input: /media/Downloads/VGDB1080.part07/Downloads
Input: /media/Downloads/VGDB1080.part08/Downloads
Input: /media/Downloads/VGDB1080.part09/Downloads
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part01/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part02/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part03/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part04/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part05/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part06/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part07/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part08/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/DEGA1080.part09/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part01/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part02/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part03/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part04/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part05/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part06/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part07/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part08/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Failed to read xattr: NoSuchFileException: /media/Downloads/VGDB1080.part09/Downloads
Downloads [series: null, movie: null]
Unable to differentiate: [Downloads] => [null] VS [null]
Group: [:] => [Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads, Downloads]
Processing 18 unsorted files
Skipped [/media/Downloads/DEGA1080.part01/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part02/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part03/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part04/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part05/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part06/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part07/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part08/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/DEGA1080.part09/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part01/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part02/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part03/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part04/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part05/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part06/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part07/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part08/Downloads] because [/media/Unsorted] already exists
Skipped [/media/Downloads/VGDB1080.part09/Downloads] because [/media/Unsorted] already exists
Processed 0 files
Delete archive /media/Downloads/DEGA1080.part03.rar
Delete archive /media/Downloads/VGDB1080.part02.rar
Delete archive /media/Downloads/VGDB1080.part05.rar
Delete archive /media/Downloads/DEGA1080.part04.rar
Delete archive /media/Downloads/VGDB1080.part04.rar
Delete archive /media/Downloads/DEGA1080.part05.rar
Delete archive /media/Downloads/DEGA1080.part02.rar
Delete archive /media/Downloads/VGDB1080.part03.rar
Delete archive /media/Downloads/DEGA1080.part01.rar
Delete archive /media/Downloads/VGDB1080.part07.rar
Delete archive /media/Downloads/DEGA1080.part06.rar
Delete archive /media/Downloads/VGDB1080.part09.rar
Delete archive /media/Downloads/DEGA1080.part08.rar
Delete archive /media/Downloads/VGDB1080.part08.rar
Delete archive /media/Downloads/DEGA1080.part09.rar
Delete archive /media/Downloads/VGDB1080.part06.rar
Delete archive /media/Downloads/DEGA1080.part07.rar
Delete archive /media/Downloads/VGDB1080.part01.rar
Finished without processing any files
Failure (°_°)
Here is what my filebot folder contain :

Code: Select all

drwxr-xr-x  2 root  wheel        2 Sep  6 07:17 FileBot/
drwxr-xr-x  3 root  wheel        6 Aug 31 21:14 data/
-rwxr-xr-x  1 root  wheel     1932 Aug  8 10:43 filebot.sh*
drwxr-xr-x  2 root  wheel       61 Aug 31 16:05 jar/
drwxr-xr-x  7 root  wheel        7 Aug 31 16:05 lib/
-rwxr-xr-x  1 root  wheel  2761166 Sep  5 14:52 lib7-Zip-JBinding.so*
-rw-r--r--  1 root  wheel     3375 Jul 17 06:44 maintainer.gpg
-rwxr-xr-x  1 root  wheel      117 Aug  8 10:43 reinstall-filebot.sh*
-rwxr-xr-x  1 root  wheel     1053 Aug  8 10:43 update-filebot.sh*
So what I missing ? Thank you in advance for your help :)
Last edited by Hatoris on 08 Sep 2018, 20:39, edited 2 times in total.
User avatar
rednoah
The Source
Posts: 18822
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [help, FreeBSD] FileSystemException: Could not resolve file

Post by rednoah »

Looks like there's something odd with this particular set of input files. My best guess is that each .part01 folder contains some sort of disk image, and without any identifying information other than "DEGA1080.part01" (which means nothing to me at least) FileBot basically fails to process them.

There's also probably something going wrong with the default unsorted format Unsorted/{file.structurePathTail} with {file.structurePathTail} not evaluating to anything in this particular case.



EDIT:

This warning message means nothing and has no effect and is not the cause for things not working as expected:

Code: Select all

FileSystemException: Could not resolve file ...
:idea: Please read the FAQ and How to Request Help.
Hatoris
Posts: 6
Joined: 03 Sep 2018, 12:42

Re: [help, FreeBSD] FileBot fail to process .rar file

Post by Hatoris »

So did I miss something to install, 7zip or something else ? Normaly, in old version, filebot was able to process the first one and then process all part of .rar files.
User avatar
rednoah
The Source
Posts: 18822
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [help, FreeBSD] FileBot fail to process .rar file

Post by rednoah »

Presumably, it works on a different set of files and specifically does not work in this particular set of files.

Maybe it's just that the rar Extension is missing in this case?
:idea: Please read the FAQ and How to Request Help.
Hatoris
Posts: 6
Joined: 03 Sep 2018, 12:42

Re: [help, FreeBSD] FileBot fail to process .rar file

Post by Hatoris »

Oki, a new error comes and it's look heavy :twisted:

Code: Select all

Sep 06, 2018 2:27:26 PM com.github.junrar.Archive setFile
WARNING: exception in archive constructor maybe file is encrypted or currupt
com.github.junrar.exception.RarException: badRarArchive
        at com.github.junrar.Archive.readHeaders(Archive.java:278)
        at com.github.junrar.Archive.setFile(Archive.java:153)
        at com.github.junrar.Archive.setVolume(Archive.java:634)
        at com.github.junrar.Archive.<init>(Archive.java:123)
        at com.github.junrar.Archive.<init>(Archive.java:100)
        at com.github.junrar.vfs2.provider.rar.RARFileSystem.init(RARFileSystem.java:66)
        at org.apache.commons.vfs2.provider.AbstractVfsContainer.addComponent(AbstractVfsContainer.java:49)
        at org.apache.commons.vfs2.provider.AbstractFileProvider.addFileSystem(AbstractFileProvider.java:96)
        at org.apache.commons.vfs2.provider.AbstractLayeredFileProvider.createFileSystem(AbstractLayeredFileProvider.java:80)
        at org.apache.commons.vfs2.impl.DefaultFileSystemManager.createFileSystem(DefaultFileSystemManager.java:901)
        at org.apache.commons.vfs2.impl.DefaultFileSystemManager.createFileSystem(DefaultFileSystemManager.java:918)
        at net.filebot.archive.ApacheVFS.<init>(ApacheVFS.java:40)
        at net.filebot.archive.Archive$Extractor.newInstance(Archive.java:41)
        at net.filebot.archive.Archive.open(Archive.java:61)
        at net.filebot.cli.CmdlineOperations.extract(CmdlineOperations.java:1144)
        at net.filebot.cli.ScriptShellBaseClass.extract(ScriptShellBaseClass.java:431)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1235)
        at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:230)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:68)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
        at Script1.extract(Script1.groovy:205)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1235)
        at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:230)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:68)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
        at Script1.resolveInput(Script1.groovy:293)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:352)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:68)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
        at Script1$_resolveInput_closure93.doCall(Script1.groovy:289)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
        at groovy.lang.Closure.call(Closure.java:421)
        at groovy.lang.Closure.call(Closure.java:437)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:3539)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:3524)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:3624)
        at org.codehaus.groovy.runtime.dgm$83.invoke(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:246)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
        at Script1.resolveInput(Script1.groovy:289)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:352)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:68)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
        at Script1$_run_closure48.doCall(Script1.groovy:302)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
        at groovy.lang.Closure.call(Closure.java:421)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.flatten(DefaultGroovyMethods.java:13295)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.flatten(DefaultGroovyMethods.java:13285)
        at org.codehaus.groovy.runtime.dgm$280.invoke(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:246)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
        at Script1.run(Script1.groovy:302)
        at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:321)
        at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:159)
        at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233)
        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:154)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
        at net.filebot.Main.main(Main.java:131)
This error give you an idea what's going on, or like "FileSystemException" it's mean nothing :P

Thank for your patience
User avatar
rednoah
The Source
Posts: 18822
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [help, FreeBSD] FileBot fail to process .rar file

Post by rednoah »

1.
This error simply means that this RAR archive can't be extracted:

Code: Select all

WARNING: exception in archive constructor maybe file is encrypted or currupt

2.
You can try alternative extractor. You can change to using the 7z command-line tool for extraction by setting the system properties via FILEBOT_OPTS environment variable accordingly.

Code: Select all

export FILEBOT_OPTS="-Dnet.filebot.Archive.extractor=SevenZipExecutable"
:idea: Please read the FAQ and How to Request Help.
Hatoris
Posts: 6
Joined: 03 Sep 2018, 12:42

Re: [help, FreeBSD] FileBot fail to process .rar file

Post by Hatoris »

You are genious, just add your export to your "jdownloader-postprocess.sh" like so :

Code: Select all

#!/bin/sh -xu
export FILEBOT_OPTS="-Dnet.filebot.Archive.extractor=SevenZipExecutable"

/usr/home/fileBot/filebot.sh -script fn:amc /media/Downloads -extract -no-xattr --output /media --action move --conflict auto -non-strict --log-file /media/L
ogs/amc.log.txt --def skipExtract=n deleteAfterExtract=y unsorted=y music=y artwork=n excludeList="/media/Logs/excludes.txt" plex=xxxxxxx pushbullet=xxxxx

#clean
/usr/home/fileBot/filebot.sh -script fn:cleaner "/media/Downloads"

And everything work as expected.

Thank you very much rednoah for your precious help.

Last question, I use Openjdk8 => Java 8 do you think here is why it's bug? I read in another thread that filebot run with Java 9.
User avatar
rednoah
The Source
Posts: 18822
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [solved, FreeBSD] FileBot fail to process .rar file

Post by rednoah »

Java 8 is recommended on generic Linux and FreeBSD. The POSIX package is compiled against Java 8.

:idea: On Windows and Mac, Java 10 is required, and Java 8 won't work.
:idea: Please read the FAQ and How to Request Help.
Post Reply