Page 1 of 1

AMC Script down?

Posted: 25 Mar 2017, 06:43
by karanrajpal14
I can't rename my files. Apparently the AMC script is down. Here's the error:

Code: Select all

Resource not found: https://app.filebot.net/scripts/m1.jar
script not found: amc
java.io.FileNotFoundException: Script not found: amc
	at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:54)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:120)
Failure (°_°)
Also, for the past few days before this happened, there have been some issues with the cleaner script. Here's the error from yesterday's log:

Code: Select all

No such property: ApplicationFolder for class: Script1
groovy.lang.MissingPropertyException: No such property: ApplicationFolder for class: Script1
	at Script1.run(Script1.groovy:631)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:120)
Failure (°_°)

Re: AMC Script down?

Posted: 25 Mar 2017, 07:10
by rednoah
Please run filebot -version and post the output.

Re: AMC Script down?

Posted: 25 Mar 2017, 12:50
by magefesa
MacMini:~ Frank$ filebot -version
FileBot 4.7.8 (r4846) / Java(TM) SE Runtime Environment 1.8.0_25 / Mac OS X 10.12.3 (x86_64)
MacMini:~ Frank$ filebot -rename "The fly" --db TheMovieDB -non-strict --filter "y > 1980" --lang en --format "{primaryTitle} ({y})"
Illegal Argument: java.nio.file.NoSuchFileException: /Users/apple/The fly (The fly)
Rename movies using [TheMovieDB]

Re: AMC Script down?

Posted: 26 Mar 2017, 01:51
by benplace
I am having the same problem.

Re: AMC Script down?

Posted: 26 Mar 2017, 02:06
by benplace
I upgraded and it is working again.

Re: AMC Script down?

Posted: 26 Mar 2017, 07:48
by magefesa
Upgraded ? What version ? LAst is 4.7.8 right ?

Re: AMC Script down?

Posted: 26 Mar 2017, 22:26
by rednoah
Yes, 4.7.8 is the latest release.

Re: AMC Script down?

Posted: 27 Mar 2017, 20:05
by Akazukin
Hi

Got the same issue:

Code: Select all

Resource not found: https://app.filebot.net/scripts/m1.jar
Script not found: amc
java.io.FileNotFoundException: Script not found: amc
        at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:54)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:113)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:28)
        at net.filebot.Main.main(Main.java:124)
Failure (°_°)
did a filebot -script fn:sysinfo

Code: Select all

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: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/akazukin/.filebot/????
WARNING: sun.jnu.encoding = ANSI_X3.4-1968
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.8
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 6 GB Max Memory / 21 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /home/akazukin/.filebot
uname: Linux sd-48768 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
Done ?(?????)?
Did a ls -la in home/akazukin/.filebot

Code: Select all

akazukin@sd-48768:~/.filebot$ ls -la
total 88
drwxr-xr-x 5 akazukin akazukin  4096 Mar 27 22:07 .
drwxr-xr-x 9 akazukin akazukin  4096 Mar 27 21:25 ..
-rw-r--r-- 1 akazukin akazukin 52672 Aug  5  2016 FileBot.exe
-rw-r--r-- 1 akazukin akazukin   930 Aug  5  2016 FileBot.l4j.ini
drwxr-xr-x 3 akazukin akazukin  4096 Mar 27 21:24 cache
drwxr-xr-x 4 akazukin akazukin  4096 Aug  5  2016 data
-rw-r--r-- 1 akazukin akazukin   517 Aug  5  2016 filebot.cmd
-rwxr-xr-x 1 akazukin akazukin  1649 Aug  5  2016 filebot.sh
drwxr-xr-x 2 akazukin akazukin  4096 Mar 27 21:24 temp
-rwxr-xr-x 1 akazukin akazukin  1244 Aug  5  2016 update-filebot.sh
akazukin@sd-48768:~/.filebot$
as the locale seems weird, I tried sudo dpkg-reconfigure locales and selected en_US.UTF-8
Does not change anything :(

Even tried to reinstall (dpkg -- purge filebot then dpkg -i filebot.deb retrieved from wget -O filebot.deb 'https://app.filebot.net/download.php?ty ... arch=amd64'

I also tried to downgrade my version of java (from Java SE 8u121 to Java SE Runtime Environment 8u111) but not resolving the issue...
Any ideas ?

Best regards
Akazukin

Re: AMC Script down?

Posted: 28 Mar 2017, 05:07
by rednoah
Script not found: amc means that you're NOT running FileBot 4.7.8. Evidently, you have installed multiple versions of FileBot. Don't do that. It's confusing you. ;)

Re: AMC Script down?

Posted: 28 Mar 2017, 05:29
by Akazukin
damned :/

Any ideas of discovering multiple instances of filebot ?
I'll take a look but sound weird to me as it works completely fine 'till ~10 days ago
Just do debian updates as usual, never touch the filebot stuff

Anyway, I'll investigate.

Thanks for the tip

Akazukin

Re: AMC Script down?

Posted: 28 Mar 2017, 05:41
by rednoah
Time changed. The internet changed. Things can break without you doing anything. Accidentally using an old version of FileBot does not help with running things smoothly. ;)

filebot works so you probably installed the debian package. According to ls -la you also have files from the portable version in your ~/.filebot folder for no explicable reason.

The command you use to call the amc script (which you conveniently omitted) is probably bad.

:idea: Use the debian package. Don't use the portable package if you don't know what you're doing. ;)

Re: AMC Script down?

Posted: 28 Mar 2017, 06:19
by Akazukin
rednoah wrote:Time changed. The internet changed. Things can break without you doing anything. Accidentally using an old version of FileBot does not help with running things smoothly. ;)

filebot works so you probably installed the debian package. According to ls -la you also have files from the portable version in your ~/.filebot folder for no explicable reason.

The command you use to call the amc script (which you conveniently omitted) is probably bad.

:idea: Use the debian package. Don't use the portable package if you don't know what you're doing. ;)
You are totally right. I'll make a brand new install.
Sorry for the missing of calling the amc script, believe or not, I install this stuff most than a year ago and totally forgot that it was not a "official" filebot script.
My apologies and thanks again for your help :)

Akazukin

Re: AMC Script down?

Posted: 28 Mar 2017, 06:22
by hal01
Is there a way to have AMC script without installing Filebot 4.7.8 ?

I'm under DSM 5.2.X, and the package center is refusing to install the 4.7.8 version because it's made for DSM 6.X.X

Re: AMC Script down?

Posted: 28 Mar 2017, 06:27
by rednoah
You can update manually by logging in via SSH and replacing a few files:
viewtopic.php?f=13&t=4862

Re: AMC Script down?

Posted: 01 Apr 2017, 10:02
by Calcky82
I have something similar. I am running 4.7.2 now. I try to update, but it won't install. i am running Linux mint 18 (64 bit)

Script not found: sysenv
java.io.FileNotFoundException: Script not found: sysenv
at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:54)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:113)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:28)
at net.filebot.Main.main(Main.java:124)
Failure (°_°)

Any ideas?

Re: AMC Script down?

Posted: 01 Apr 2017, 10:13
by Calcky82
By the way; if I try to de-inslall the current versions also nothing happens :(

Re: AMC Script down?

Posted: 01 Apr 2017, 10:20
by rednoah
When you think "nothing happens" please take a screenshot of the screen at that point in time and post it here. Otherwise nobody will be able to get what you mean. ;)

This error is a known issue with 4.7.2 only, and could not possibly be an issue with 4.7.8 or higher:

Code: Select all

Script not found: sysenv

Re: AMC Script down?

Posted: 02 Apr 2017, 04:06
by karanrajpal14
rednoah wrote:Please run filebot -version and post the output.
Was running 4.7. I updated and everything is fine now. Will keep this in mind next time. Thank you for your help!

Re: AMC Script down?

Posted: 02 Apr 2017, 07:53
by Calcky82
Really nothing happened. So screenshot would have been be of my desktop :)

Anyway. I restarted my PC and this time it did uninstall the old version and install the new version. Now everything is working perfect again!

Thank you!