Page 1 of 1
findMatch errors on filebot/amc
Posted: 29 Oct 2016, 12:53
by redbull666
Since last Friday my Filebot/amc script is broken and throwing these type of errors:
Code: Select all
No signature of method: java.lang.String.findMatch() is applicable for argument types: (java.util.regex.Pattern) values: [.nfo|.srt]
(see
http://pastie.org/pastes/10952256/text? ... d0pja8s9kg for full log)
I haven't changed anything on my side, only coincidentally noticed this happening.
Re: findMatch errors on filebot/amc
Posted: 29 Oct 2016, 13:00
by rednoah
The --def ignore option seems to be broken.
EDIT: Fixed.
Re: findMatch errors on filebot/amc
Posted: 29 Oct 2016, 15:04
by redbull666
Mine is still throwing the same error, do I need to force it to update AMC somehow? Or alternatively, how can I see whether it's updated properly. Any versioning?
I tried both fn:amc and dev:amc.
Thanks!
Re: findMatch errors on filebot/amc
Posted: 29 Oct 2016, 17:19
by rednoah
You can do a
-clear-cache and then run again. If you call the script with
dev:script it should never be more than a few minutes behind the latest revision (or 24h without clear cache).
sysinfo will tell you the current
fn:script revision which should update once a week:
Re: findMatch errors on filebot/amc
Posted: 29 Oct 2016, 19:40
by redbull666
rednoah wrote:You can do a
-clear-cache and then run again. If you call the script with
dev:script it should never be more than a few minutes behind the latest revision (or 24h without clear cache).
sysinfo will tell you the current
fn:script revision which should update once a week:
Fixed, thanks!
Re: findMatch errors on filebot/amc
Posted: 06 Nov 2016, 05:01
by 2moons
Hi,
I am getting these errors also.
Mine are related to folders (labels) using ignore=....
filebot -script fn:amc --output "//home/boxuser/Downloads/Filebot Outputs/Filebot Auto/" --action move --conflict skip -non-strict --log-file "/home/boxuser/Downloads/Finished/amc.log" --def ignore="Anime|Audio|Collecting|Fixes|Manual|Test|Z To Sort" unsorted=n music=n artwork=n clean=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"
AMC works correctly but clean=y does not work.
If I remove all of the ignore=........ part then clean does work
eg if the Folder(label) was called FileBot_test_clean then the content would be processed correctly but the left over files would not be cleaned.
When testing a folder(label) assigned as ignore it is successfully ignored
Additional info
Ive been doing a few different fresh OS installs the last week all using Ubuntu 16.04 LTS 64bit based
- Ubuntu
- Mint
- Gnome
Ive been having this problem for the last week.
Gnome is a fresh install as of today with a new download of filebot_4.7.2_amd64.deb.
I did run -clear-cache but this has not done anything.
Im not sure how (syntax) to apply dev:script to try that.
Thanks
Re: findMatch errors on filebot/amc
Posted: 06 Nov 2016, 06:34
by rednoah
Please try the latest FileBot_4.7.5_B1 release.
EDIT:
I think I found the issue. Please try with dev:amc (instead of fn:amc) and see if it works now.
Re: findMatch errors on filebot/amc
Posted: 06 Nov 2016, 09:08
by 2moons
Hi
sorry for the lack of logs previously (is very late and hunger has set in).
I tried FileBot_4.7.5_B1 and the outcome was the same with the files being processed but the folder not being cleaned.
log as follows:
Code: Select all
**********************************************************************************
Run script [fn:amc] at [Sun Nov 06 03:15:41 EST 2016]
Parameter: ignore = Anime|Audio|Collecting|Fixes|Manual|Test|Z To Sort
Parameter: unsorted = n
Parameter: music = n
Parameter: artwork = n
Parameter: clean = y
Parameter: ut_dir = /home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_kind = multi
Parameter: ut_title = The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_label = filebot test clean
Input: /home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.mkv
Input: /home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.srt
Group: [tvs:the big bang theory] => [The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.mkv, The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
[MOVE] Rename [/home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.mkv] to [/home/boxuser/Downloads/Filebot Outputs/Filebot Auto/TV Shows/The Big Bang Theory/Season 10/The Big Bang Theory - S10E06 - The Fetal Kick Catalyst.mkv]
[MOVE] Rename [/home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.srt] to [/home/boxuser/Downloads/Filebot Outputs/Filebot Auto/TV Shows/The Big Bang Theory/Season 10/The Big Bang Theory - S10E06 - The Fetal Kick Catalyst.eng.srt]
Processed 2 files
Clean clutter files and empty folders
No signature of method: java.lang.String.findMatch() is applicable for argument types: (java.util.regex.Pattern) values: [Anime|Audio|Collecting|Fixes|Manual|Test|Z To Sort]
Possible solutions: findMatch(java.lang.String), findAll(java.util.regex.Pattern), findAll(), eachMatch(java.util.regex.Pattern, groovy.lang.Closure), find(java.util.regex.Pattern), eachMatch(java.util.regex.Pattern, groovy.lang.Closure)
groovy.lang.MissingMethodException: No signature of method: java.lang.String.findMatch() is applicable for argument types: (java.util.regex.Pattern) values: [Anime|Audio|Collecting|Fixes|Manual|Test|Z To Sort]
Possible solutions: findMatch(java.lang.String), findAll(java.util.regex.Pattern), findAll(), eachMatch(java.util.regex.Pattern, groovy.lang.Closure), find(java.util.regex.Pattern), eachMatch(java.util.regex.Pattern, groovy.lang.Closure)
at Script2$_run_closure13.doCall(Script2.groovy:21)
at Script2$_run_closure16.doCall(Script2.groovy:58)
at net.filebot.cli.ScriptShellMethods.getFiles(ScriptShellMethods.java:154)
at Script2.run(Script2.groovy:58)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ScriptShellBaseClass.executeScript(ScriptShellBaseClass.java:117)
at net.filebot.cli.ScriptShellBaseClass.executeScript(ScriptShellBaseClass.java:100)
at Script1.run(Script1.groovy:676)
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:113)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:28)
at net.filebot.Main.main(Main.java:124)
Failure (°_°)
**********************************************************************************
I also tried the dev:amc (with FileBot_4.7.5_B1 installed) suggestion but this resulted in no files being processed
log as follows
Code: Select all
**********************************************************************************
Run script [dev:amc] at [Sun Nov 06 03:41:33 EST 2016]
Parameter: ignore = Anime|Audio|Collecting|Fixes|Manual|Test|Z To Sort
Parameter: unsorted = n
Parameter: music = n
Parameter: artwork = n
Parameter: clean = y
Parameter: ut_dir = /home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_kind = multi
Parameter: ut_title = The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_label = filebot test clean
Ignore pattern: /home/boxuser/Downloads/Finished/filebot test clean/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
No files selected for processing
Failure (°_°)
**********************************************************************************
Thanks
Re: findMatch errors on filebot/amc
Posted: 06 Nov 2016, 11:48
by rednoah
--def ignore is case-insensitive so your ignore pattern /Test/ matches your folder "filebot test".
Re: findMatch errors on filebot/amc
Posted: 06 Nov 2016, 22:16
by 2moons
I simplified the number of ignore folders/labels to avoid complications and retried.
The files were successfully processed and the remaining files were cleaned.
Did it a few times with different files and labels and they all worked.
For good measure also confirmed that when requested to be ignored they are.
log from files being process and cleaned
Code: Select all
**************************************************************************
Run script [dev:amc] at [Sun Nov 06 15:56:50 EST 2016]
Parameter: ignore = Anime|Audio|Collecting|Fixes|Manual
Parameter: unsorted = n
Parameter: music = n
Parameter: artwork = n
Parameter: clean = y
Parameter: ut_dir = /home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_kind = multi
Parameter: ut_title = The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_label = cleanrun
Input: /home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.mkv
Input: /home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.srt
Group: [tvs:the big bang theory] => [The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.mkv, The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
[MOVE] Rename [/home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.mkv] to [/home/boxuser/Downloads/Filebot Outputs/Filebot Auto/TV Shows/The Big Bang Theory/Season 10/The Big Bang Theory - S10E06 - The Fetal Kick Catalyst.mkv]
[MOVE] Rename [/home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN.srt] to [/home/boxuser/Downloads/Filebot Outputs/Filebot Auto/TV Shows/The Big Bang Theory/Season 10/The Big Bang Theory - S10E06 - The Fetal Kick Catalyst.eng.srt]
Processed 2 files
Clean clutter files and empty folders
Delete /home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]/RARBG.com.txt
Delete /home/boxuser/Downloads/Finished/cleanrun/The.Big.Bang.Theory.S10E06.The.Fetal.Kick.Catalyst.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Done ヾ(@⌒ー⌒@)ノ
**************************************************************************
log from files being successfully ignored
**************************************************************************
Run script [dev:amc] at [Sun Nov 06 16:36:41 EST 2016]
Parameter: ignore = Anime|Audio|Collecting|Fixes|Manual
Parameter: unsorted = n
Parameter: music = n
Parameter: artwork = n
Parameter: clean = y
Parameter: ut_dir = /home/boxuser/Downloads/Finished/Collecting/The.Big.Bang.Theory.S10E07.The.Veracity.Elasticity.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_kind = multi
Parameter: ut_title = The.Big.Bang.Theory.S10E07.The.Veracity.Elasticity.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
Parameter: ut_label = Collecting
Ignore pattern: /home/boxuser/Downloads/Finished/Collecting/The.Big.Bang.Theory.S10E07.The.Veracity.Elasticity.1080p.WEB-DL.DD5.1.H264-BTN[rarbg]
No files selected for processing
Failure (°_°)
**************************************************************************
Re: findMatch errors on filebot/amc
Posted: 06 Nov 2016, 22:25
by rednoah
Thanks! Alright, good to know it's working again. I've reverted the fn:amc script for the 4.7.2 release to the state of last week just in case and leave it that way. The latest scripts and updates will only be pushed to the >= 4.7.5 releases from now on.