Minimize/hide CMD = fail to create folder

Support for Windows users
Post Reply
evilperro
Posts: 1
Joined: 29 Apr 2015, 13:00

Minimize/hide CMD = fail to create folder

Post by evilperro »

edit 2: my my, what wonders looking into the log can do. Deleted cache and now it works.

On Windows 7

Code: Select all

filebot.launcher -script fn:amc --output "C:\Filebot output" --log-file amc.log --action copy --conflict override -non-strict --def "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
used to work.

I've tried this exact same code, (code orignal from post #2 of the automated media center thread except modifed for my path). Nothing happens. The files does not get unrared.

Code: Select all

"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --output "C:\Filebot output" --log-file amc.log --action copy --conflict override -non-strict --def "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
Also tried wihtout the .exe:

Code: Select all

"C:\Program Files\FileBot\filebot.launcher" -script fn:amc --output "C:\Filebot output" --log-file amc.log --action copy --conflict override -non-strict --def "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
Which gives same behaviour.

If I use this command, everything works as intended, but I get the CMD flash ofc:

Code: Select all

filebot -script fn:amc --output "C:\Filebot output" --action move --conflict override -non-strict --def music=n clean=y  "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
Turning the command into an exe via bat to exe and invsibility ticked makes Windows freeze up when run.

Info:
Windows 8.1, 64
Filebot ver: 4.5.6 (problem present on earlier version as well)
Filebot installed from windows installer


No windows mods, unless Classic Start counts.

edit: updated log after checking out the log
log:

Code: Select all

apr 28, 2015 11:50:36 EM net.filebot.Main initializeCache
WARNING: App version (r2818) does not match cache version (r2612): reset cache
Parameter: ut_dir = C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL
Parameter: ut_file = Sample\gotham.120.hdtv-lol.sample.mp4
Parameter: ut_kind = multi
Parameter: ut_title = Gotham.S01E20.HDTV.x264-LOL
Parameter: ut_label = 
Parameter: ut_state = 5
Read archive [gotham.120.hdtv-lol.rar] and extract to [C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol\Gotham.S01E20.HDTV.x264-LOL]
Extracting files [C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.mp4]
Input: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.mp4
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.nfo
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r00
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r01
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r02
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r03
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r04
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r05
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r06
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r07
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r08
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r09
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r10
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r11
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r12
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r13
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r14
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.r15
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.sfv
Exclude: C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\Sample\gotham.120.hdtv-lol.sample.mp4
Group: [tvs:gotham] => [gotham.120.hdtv-lol.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [Gotham]
Fetching episode data for [Gotham]
Fetching episode data for [Gotham Girls]
Fetching episode data for [Gotham Comedy Live]
Stripping invalid characters from new path: TV Shows/Gotham/Season 01/Gotham - S01E20 - Under the Knife
[COPY] Rename [C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.mp4] to [C:\Windows\system32\C\Filebot output\TV Shows\Gotham\Season 01\Gotham - S01E20 - Under the Knife.mp4]
[COPY] Failed to rename [C:\Users\Bradster Fucking A\Downloads\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol\Gotham.S01E20.HDTV.x264-LOL\gotham.120.hdtv-lol.mp4]
IOException: Failed to create folder: C:\Windows\system32\C\Filebot output\TV Shows\Gotham\Season 01
Finished without processing any files
Failure (°_°)
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Minimize/hide CMD = fail to create folder

Post by rednoah »

1)
If you see odd paths that are resolved against the working dir (e.g. C:\Windows\system32 default for GUI apps) then there's clearly something wrong with the command that is executed and how parameters are parsed/passed.

Code: Select all

C:\Windows\system32\C\Filebot output\TV Shows\
2)
Clearing cache or using a different version doesn't fix broken cmdline calls.
:idea: Please read the FAQ and How to Request Help.
Post Reply