Script1$_run_closure1 error

Support for Windows users
Post Reply
valdearg
Posts: 2
Joined: 20 Apr 2019, 11:07

Script1$_run_closure1 error

Post 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.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Script1$_run_closure1 error

Post by kim »

Code: Select all

X:\Media\TV Shows\{n}/{'Series '+s.pad(2)}/{n} - {s00e00} - {t}
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script1$_run_closure1 error

Post 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
:idea: Please read the FAQ and How to Request Help.
valdearg
Posts: 2
Joined: 20 Apr 2019, 11:07

Re: Script1$_run_closure1 error

Post 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.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script1$_run_closure1 error

Post by rednoah »

I suppose newer versions of FileBot, and underlying Groovy engine, are more strict about correct code
:idea: Please read the FAQ and How to Request Help.
Post Reply