console abs2sxe - Failed to rename (Java IO Exception)

Any questions? Need some help?
Post Reply
User avatar
mihawk90
Power User
Posts: 51
Joined: 18 Mar 2014, 00:41

console abs2sxe - Failed to rename (Java IO Exception)

Post by mihawk90 »

Hey there, it's me again :D

I just ran into a little problem with the abs2sxe script. It fails on some file with a Java IO Exception and I can't figure out why that is. Here's the console output:

Code: Select all

PS C:\Users\Tarulia\desktop\filebot_4.0-portable> .\filebot.cmd -script fn:abs2sxe "C:\Volumes\NAS 1-2 1TB\Videos\Anime\
Subbed\Shingeki no Kyojin" --format "{es.collect{ s.pad(2)+'x'+e.pad(2)}.join('-')} [{group}] {episodes*.absolute*.pad(3
).join('-')} [{crc32}]"
Rename episodes using [TheTVDB]
Auto-detected query: [Shingeki no Kyojin]
Fetching episode data for [Attack on Titan]
Apply Filter: {episode.season == null && episode.special == null}
Include [Attack on Titan - 01 - To You, Two Thousand Years Later]
Include [Attack on Titan - 02 - That Day]
Include [Attack on Titan - 03 - A Dull Light in Despair]
Include [Attack on Titan - 04 - Night of the Disbanding]
Include [Attack on Titan - 05 - First Battle]
Include [Attack on Titan - 06 - The World She Saw]
Include [Attack on Titan - 07 - A Small Blade]
Include [Attack on Titan - 08 - I Can Hear a Heartbeat]
Include [Attack on Titan - 09 - The Whereabouts of His Left Arm]
Include [Attack on Titan - 10 - Answer]
Include [Attack on Titan - 11 - Idol]
Include [Attack on Titan - 12 - Wound]
Include [Attack on Titan - 13 - Basic Needs]
Include [Attack on Titan - 14 - Can't Look Into His Eyes]
Include [Attack on Titan - 15 - Special Ops Squad]
Include [Attack on Titan - 16 - What To Do Now]
Include [Attack on Titan - 17 - Female Titan]
Include [Attack on Titan - 18 - Forest of Giant Trees]
Include [Attack on Titan - 19 - Bite]
Include [Attack on Titan - 20 - Erwin Smith]
Include [Attack on Titan - 21 - Decisive Blow]
Include [Attack on Titan - 22 - The Defeated]
Include [Attack on Titan - 23 - Smile]
Include [Attack on Titan - 24 - Mercy]
Include [Attack on Titan - 25 - Wall]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_01_v2_[720p][C5458C8A].mkv] to [Attack on Titan - [00001] - To You, Two Thousand Years Later - [2013-04-06].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_02_[720p][17C98C4A].mkv] to [Attack on Titan - [00002] - That Day - [2013-04-13].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_03_[720p][9A0481EC].mkv] to [Attack on Titan - [00003] - A Dull Light in Despair - [2013-04-20].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_04_[720p][4014B6AE].mkv] to [Attack on Titan - [00004] - Night of the Disbanding - [2013-04-27].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_05_[720p][FB6074A6].mkv] to [Attack on Titan - [00005] - First Battle - [2013-05-04].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_06_[720p][A76C472D].mkv] to [Attack on Titan - [00006] - The World She Saw - [2013-05-11].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_07_[720p][5A3A05A5].mkv] to [Attack on Titan - [00007] - A Small Blade - [2013-05-18].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_08_[720p][E36D273B].mkv] to [Attack on Titan - [00008] - I Can Hear a Heartbeat - [2013-05-25].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_09_[720p][2E9EBCBF].mkv] to [Attack on Titan - [00009] - The Whereabouts of His Left Arm - [2013-06-01].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_10_[720p][5B3DC17D].mkv] to [Attack on Titan - [00010] - Answer - [2013-06-08].mkv]
[RENAME] Rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_11_[720p][BFDD81AE].mkv] to [Attack on Titan - [00011] - Idol - [2013-06-15].mkv]
[RENAME] Failed to rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_11_[720p][BFDD81AE].mkv]
Processed 10 files
java.io.IOException: Rename failed: C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\Attack on Titan - [00011] - Idol - [2013-06-15].mkv
NullPointerException: Cannot invoke method sort() on null object
java.lang.NullPointerException: Cannot invoke method sort() on null object
        at Script1.run(Script1.groovy:9)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
        at net.filebot.Main.main(Main.java:191)
Failure (░_░)
PS C:\Users\Tarulia\desktop\filebot_4.0-portable> .\filebot.cmd -version
FileBot 4.2 (r2326) / Java(TM) SE Runtime Environment 1.7.0_60
Here's a list of the file names in case you need them

Code: Select all

[Lag-Taka]_Shingeki_no_Kyojin_-_01_v2_[720p][C5458C8A].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_02_[720p][17C98C4A].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_03_[720p][9A0481EC].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_04_[720p][4014B6AE].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_05_[720p][FB6074A6].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_06_[720p][A76C472D].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_07_[720p][5A3A05A5].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_08_[720p][E36D273B].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_09_[720p][2E9EBCBF].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_10_[720p][5B3DC17D].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_11_[720p][BFDD81AE].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_12_[720p][DD30A18D].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_13_[720p][350FFCDB].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_13.5_[720p][20E3E755].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_14_[720p][D409D3E2].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_15_[720p][441AA0E3].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_16_[720p][7FE1A7FD].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_17_[720p][E5F1EFC0].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_18_[720p][CA222ECA].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_19_[720p][9FA33F34].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_20_[720p][B772D40D].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_21_[720p][3BE8235B].mkv
[Lag-Taka]_Shingeki_no_Kyojin_-_22_[720p][8565FA39].mkv
Since I don't really see an error message I can work with it's kind of hard to figure out what's the problem :D

Apparently it fails in line 9 of the abs2sxe script, but I don't know why this is even called at that point since stage1 isn't even finished yet (there are still 12 files to rename)
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: console abs2sxe - Failed to rename (Java IO Exception)

Post by rednoah »

Yeah, if this happens the rest will crash:

Code: Select all

[RENAME] Failed to rename [C:\Volumes\NAS 1-2 1TB\Videos\Anime\Subbed\Shingeki no Kyojin\[Lag-Taka]_Shingeki_no_Kyojin_-_11_[720p][BFDD81AE].mkv]
:idea: Please read the FAQ and How to Request Help.
User avatar
mihawk90
Power User
Posts: 51
Joined: 18 Mar 2014, 00:41

Re: console abs2sxe - Failed to rename (Java IO Exception)

Post by mihawk90 »

Yeah I thought about that too, so it's basically not the issue itself but some followup-problem due to some earlier process crashign right?

My problem is just that I have no idea why the rename fails. And there's no reason given in command output whatsoever.

/edit
Oh gosh .. was probably because Windows set the files to read-only again... Man this is getting annoying...

So yeah.. Problem solved :roll:
Post Reply