"File not found" from uTorrent, ok from command line

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
genuinefafa
Posts: 4
Joined: 26 Oct 2014, 16:56

"File not found" from uTorrent, ok from command line

Post by genuinefafa »

I'm pretty new to this, but I cannot find the problem. First of all, my info

Code: Select all

FileBot 4.5 (r2612)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 22 MB Used Memory
OS: Windows 8.1 (amd64)
Done ?(?????)?
I can see the uTorrent log telling me

Code: Select all

Executing: "C:/Program Files/Filebot/filebot.exe" -script fn:amc --output "U:/Downloads.Ready" --log-file "U:/Downloads.Ready/amc.log" --action copy --conflict override -non-strict --def subtitles=y subtitles=en,es music=y artwork=y "ut_label=" "ut_state=5" "ut_title=The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]" "ut_kind=multi" "ut_file=RARBG.com.txt" "ut_dir=U:\Downloads\uTorrent\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]" "seriesFormat=TV/{n}/{fn}" "movieFormat=Movies/{fn}" >> "U:\Downloads.Ready\amc-console.log" 2>&1
!Edit With this as Run Command

Code: Select all

"C:/Program Files/Filebot/filebot.exe" -script fn:amc --output "U:/Downloads.Ready" --log-file "U:/Downloads.Ready/amc.log" --action copy --conflict override -non-strict --def subtitles=y subtitles=en,es music=y artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" "seriesFormat=TV/{n}/{fn}" "movieFormat=Movies/{fn}" >> "U:\Downloads.Ready\amc-console.log" 2>&1
But, it seems that nothing work, and the log tells me an error

Code: Select all

Parameter: subtitles = en,es
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = 
Parameter: ut_state = 5
Parameter: ut_title = The.Flash.2014.S01E02.Fastest.Man.Alive.1080p.WEB-DL.DD5.1.H.264-YFN
Parameter: ut_kind = multi
Parameter: ut_file = The.Flash.2014.S01E02.Fastest.Man.Alive.1080p.WEB-DL.DD5.1.AAC2.0.H.264-YFN.mkv
Parameter: ut_dir = U:\Downloads\uTorrent\The.Flash.2014.S01E02.Fastest.Man.Alive.1080p.WEB-DL.DD5.1.H.264-YFN
Parameter: seriesFormat = TV/{n}/{fn}
Parameter: movieFormat = Movies/{fn}
Argument: C:\Users\fafa\Desktop\.
Argument: U:\Downloads.Ready\amc-console.log
Argument: C:\Users\fafa\Desktop\2>&1
File not found: C:\Users\fafa\Desktop\2>&1
Failure (°_°)
But, same command line from console, works flawlesly! :-/

Code: Select all

Parameter: subtitles = en,es
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = 
Parameter: ut_state = 5
Parameter: ut_title = The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]
Parameter: ut_kind = multi
Parameter: ut_file = RARBG.com.txt
Parameter: ut_dir = U:\Downloads\uTorrent\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]
Parameter: seriesFormat = TV/{n}/{fn}
Parameter: movieFormat = Movies/{fn}
Input: U:\Downloads\uTorrent\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]\The.Flash.2014.S01E03.Things.You.Can't.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb.mkv
Input: U:\Downloads\uTorrent\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb.srt
Exclude: U:\Downloads\uTorrent\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]\RARBG.com.txt
Group: [tvs:the flash 2014] => [The.Flash.2014.S01E03.Things.You.Can't.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb.mkv, The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb.srt]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: U:\Downloads\uTorrent\The.Flash.2014.S01E03.Things.You.Cant.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb[rarbg]\The.Flash.2014.S01E03.Things.You.Can't.Outrun.1080p.WEB-DL.DD5.1.H.264-NTb.mkv
Get [Spanish] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
...
Done ヾ(@⌒ー⌒@)ノ
I'm not using a different user for the command line, but it seems like a permission error or something like that. Not really sure tho. :(

Please help! I'm so closeeeee
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "File not found" from uTorrent, ok from command line

Post by rednoah »

Does this look like a permission error? You've just passed in a relative path to a file called "2>&1"

Code: Select all

Argument: C:\Users\fafa\Desktop\2>&1
File not found: C:\Users\fafa\Desktop\2>&1
uTorrent is NOT the command line. So cmd constructs like >> or 2>&1 or && or echo whatnot can only be expected to work in cmd.

Remove:

Code: Select all

 >> "U:\Downloads.Ready\amc-console.log" 2>&1
:idea: Please read the FAQ and How to Request Help.
genuinefafa
Posts: 4
Joined: 26 Oct 2014, 16:56

Re: "File not found" from uTorrent, ok from command line

Post by genuinefafa »

Point taken. I'll try that and get back to you.

Initially I was having trouble geting a log, that's why I added those command constructs.

Thanks! :D
genuinefafa
Posts: 4
Joined: 26 Oct 2014, 16:56

Re: "File not found" from uTorrent, ok from command line

Post by genuinefafa »

It's working, it's working! :)
Thanks!

ps: maybe add that hint on the uTorrent guide? I surely think it can happend! :oops:
Post Reply