Illegal usage: bad file arguments or ut_dir/ut_file parameters

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
maristar
Posts: 1
Joined: 02 Sep 2016, 07:43

Illegal usage: bad file arguments or ut_dir/ut_file parameters

Post by maristar »

Hi,

I have been using the script in utorrent as outlined here: viewtopic.php?t=215

It worked great for ages and then just stopped working. Have updated filebot and re-written the script to no avail. Tested out the basic script in cmd and am getting this:

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

Code: Select all

C:\Users\Marissa>filebot -script fn:amc --output "D:/Torrents" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Locking C:\Users\Marissa\AppData\Roaming\FileBot\logs\amc.log
Run script [fn:amc] at [Fri Sep 02 17:41:06 AEST 2016]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = %L
Parameter: ut_state = %S
Parameter: ut_title = %N
Parameter: ut_kind = %K
Parameter: ut_file = %F
Parameter: ut_dir = %D
Illegal usage: bad file arguments or ut_dir/ut_file parameters
Failure (┬░_┬░)
Here is the filebot sysinfo:

Code: Select all

C:\Users\Marissa>filebot -script fn:sysinfo
FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_60
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 889 MB Max Memory / 23 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Data: C:\Users\Marissa\AppData\Roaming\FileBot
Done ?(?????)?
Not having much experience with cmd I'm not sure exactly what this means or how to fix it. can anyone help?

Cheers!

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

Re: Move/Rename - bad file arguments or parameters

Post by rednoah »

You're not passing in any input, so it's complaining.

Please read the Troubleshooting section more carefully. ;)
:idea: Please read the FAQ and How to Request Help.
surfswitch
Posts: 2
Joined: 16 Sep 2016, 00:29

Re: Move/Rename - bad file arguments or parameters

Post by surfswitch »

Same problem since 4.7.2.
surfswitch
Posts: 2
Joined: 16 Sep 2016, 00:29

Re: Move/Rename - bad file arguments or parameters

Post by surfswitch »

I just rolled back to 4.7 and that fixed it. ¯\_(ツ)_/¯
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Move/Rename - bad file arguments or parameters

Post by rednoah »

1.
surfswitch wrote:I just rolled back to 4.7 and that fixed it. ¯\_(ツ)_/¯
Please make your own thread. Whatever issue you had with the latest release, it could not possibly be the same as what this thread is about.


2.
This could not possibly work:

Code: Select all

Parameter: ut_label = %L
Parameter: ut_state = %S
Parameter: ut_title = %N
Parameter: ut_kind = %K
Parameter: ut_file = %F
Parameter: ut_dir = %D
Illegal usage: bad file arguments or ut_dir/ut_file parameters
Because:
rednoah wrote:Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in a new console window and see what happens. You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first (just right-click one of the other tabs like Info).
:idea: Please read the FAQ and How to Request Help.
Post Reply