Page 1 of 1

Script1$_run_closure1 error

Posted: 20 Apr 2019, 11:18
by valdearg
I'm using version 4.8.5.0 from the Microsoft Store and launched the app to do some renaming today and I'm getting the error above.

Format is: X:\Media\TV Shows\{n}/{'Series '+{s.pad(2)}}/{n} - {s00e00} - {t}

New name is: X:/Media/TV Shows/Series Script1$_run_closure1@25080f93/Game of Thrones - S08E01 - Winterfell

Original file name: "X:\Media\CompletedTorrents\game.of.thrones.s08e01.1080p.web.h264-memento.mkv"

Very odd, been using this for a while now. Does anyone have any suggestions?

This happens with all files added, it is not exclusive to this file.

Re: Script1$_run_closure1 error

Posted: 20 Apr 2019, 16:44
by kim

Code: Select all

X:\Media\TV Shows\{n}/{'Series '+s.pad(2)}/{n} - {s00e00} - {t}

Re: Script1$_run_closure1 error

Posted: 20 Apr 2019, 17:37
by rednoah
Yep, this code is incorrect:

Code: Select all

{'Series '+{s.pad(2)}}
This is what you mean:

Code: Select all

{'Series '+s.pad(2)}
:idea: viewtopic.php?f=5&t=1895

Re: Script1$_run_closure1 error

Posted: 20 Apr 2019, 17:56
by valdearg
Thanks, seems to have worked.

Not sure why it's suddenly changed now as it's been working for at least a year.

Re: Script1$_run_closure1 error

Posted: 20 Apr 2019, 18:18
by rednoah
I suppose newer versions of FileBot, and underlying Groovy engine, are more strict about correct code