Script1$_run_closure1 error

Support for Windows 10 users and the Microsoft Store package
Post Reply
valdearg
Posts: 2
Joined: 20 Apr 2019, 11:07

Script1$_run_closure1 error

Post by valdearg » 20 Apr 2019, 11:18

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 [email protected]/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: 802
Joined: 15 May 2014, 16:17

Re: Script1$_run_closure1 error

Post by kim » 20 Apr 2019, 16:44

Code: Select all

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

User avatar
rednoah
The Source
Posts: 16578
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script1$_run_closure1 error

Post by rednoah » 20 Apr 2019, 17:37

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: https://www.filebot.net/forums/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 » 20 Apr 2019, 17:56

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: 16578
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script1$_run_closure1 error

Post by rednoah » 20 Apr 2019, 18:18

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