Page 1 of 1

update-mes not working

Posted: 03 Oct 2014, 13:27
by te5s3rakt
So I've been trying to get this update MyEpisodes script going without much luck... Initially I thought it could be a wrong version, so have just freshly updated to Filebot 4.2 and Java v8u20, and still no luck... Initially I had another message coming up along similar lines, then now the one below...

Input:
/Applications/Filebot.app/Contents/MacOS/filebot.sh -script fn:update-mes "/Volumes/PROMISE PEGASUS/Series" --def login=user:***** addshows=y tick=acquired

Output:
MissingMethodException: No signature of method: MyEpisodesScraper.die() is applicable for argument types: (java.lang.String) values: [Login failed]
Possible solutions: use([Ljava.lang.Object;), is(java.lang.Object), wait(), any(), grep(), dump()
groovy.lang.MissingMethodException: No signature of method: MyEpisodesScraper.die() is applicable for argument types: (java.lang.String) values: [Login failed]
Possible solutions: use([Ljava.lang.Object;), is(java.lang.Object), wait(), any(), grep(), dump()
at MyEpisodesScraper$_closure2.doCall(Script1.groovy:74)
at MyEpisodesScraper.invokeMethod(Script1.groovy)
at MyEpisodesScraper$_closure4.doCall(Script1.groovy:98)
at MyEpisodesScraper$_closure4.doCall(Script1.groovy)
at Script1.run(Script1.groovy:9)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
at net.filebot.Main.main(Main.java:191)
Failure (°_°)

Any ideas?

Re: update-mes not working

Posted: 03 Oct 2014, 15:49
by rednoah
Try the latest 4.5_RC1

Re: update-mes not working

Posted: 04 Oct 2014, 05:29
by te5s3rakt
Legend... worked a treat...

So I use Hazel to run the FileBot scripts on a watched folder... Now would you recommend running the above script on my series folder when it detects changes, or use the myepisodes update extension of the amc script...

Re: update-mes not working

Posted: 04 Oct 2014, 07:35
by rednoah
As long as you avoid unnecessary runs / abusive behavior it'll be fine.

Re: update-mes not working

Posted: 05 Oct 2014, 13:13
by te5s3rakt
I notice on reruns of the update-mes script it goes through all the files again... is there a way to exclude previously processed files from processing, and only processes new files...

instead if i use the myepisodes switch of the amc script, how does that work in comparison to the update-mes script... does it mark new episodes as acquired and add new shows like the input i used above...

Re: update-mes not working

Posted: 05 Oct 2014, 13:16
by te5s3rakt
actually on re run, after I just downloaded a new series, the script ran from the very start of my tv show list again... but eventually stopped with this....

SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
at org.jsoup.helper.DataUtil.readToByteBuffer(DataUtil.java:142)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:483)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:424)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:178)
at org.jsoup.Connection$execute$0.call(Unknown Source)
at MyEpisodesScraper$_closure2.doCall(Script1.groovy:64)
at MyEpisodesScraper.invokeMethod(Script1.groovy)
at MyEpisodesScraper$_closure6.doCall(Script1.groovy:108)
at Script1$_run_closure7_closure10.doCall(Script1.groovy:29)
at Script1$_run_closure7.doCall(Script1.groovy:26)
at Script1.run(Script1.groovy:14)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:109)
at net.filebot.Main.main(Main.java:193)
Failure (°_°)

Re: update-mes not working

Posted: 05 Oct 2014, 15:41
by rednoah
The amc script is meant to be called on new files only so if the amc scripts calls the update-mes script internally it'll also only work on these newly added files.

Re: update-mes not working

Posted: 06 Oct 2014, 03:48
by te5s3rakt
ah cool...

so any idea though why i'm now getting the above error on run...

Re: update-mes not working

Posted: 06 Oct 2014, 05:09
by rednoah
Server is not responding.

Re: update-mes not working

Posted: 06 Oct 2014, 07:34
by te5s3rakt
So not something wrong on my end then?

I guess I'll give it a shot again tonight...

Re: update-mes not working

Posted: 07 Oct 2014, 11:46
by te5s3rakt
so been using the amc script with the myepisodes updater... on initial run and testing it seemed to run fine and update myepisodes... but when left to run in the background now with Hazel, seems to stop at the at the point myepisodes is updating... and as a result the final email log doesn't send... error from the local log below...

SocketTimeoutException: connect timed out
java.net.SocketTimeoutException: connect timed out
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:439)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:424)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:178)
at org.jsoup.Connection$execute$0.call(Unknown Source)
at MyEpisodesScraper$_closure2.doCall(Script13.groovy:64)
at MyEpisodesScraper.invokeMethod(Script13.groovy)
at MyEpisodesScraper$_closure4.doCall(Script13.groovy:94)
at MyEpisodesScraper$_closure4.doCall(Script13.groovy)
at Script13.run(Script13.groovy:9)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:78)
at net.filebot.cli.ScriptShellBaseClass.executeScript(ScriptShellBaseClass.java:114)
at net.filebot.cli.ScriptShellBaseClass.executeScript(ScriptShellBaseClass.java:97)
at Script1.run(Script1.groovy:431)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:109)
at net.filebot.Main.main(Main.java:193)
Failure (°_°)

Re: update-mes not working

Posted: 07 Oct 2014, 12:00
by rednoah
Should be fixed now. Use -script dev:amc for the latest revision.