AOM trying to rename improperly [NOBUG]

Bug reports for an official AniDB Client go here

Moderators: AniDB, AniDB API

Locked
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

AOM trying to rename improperly [NOBUG]

Post by xaffu »

I've got Memories 01-03 + credits by Anime-Legion, different sizes etc.
AOM renamed 01 and 02 properly and then...

[2004-11-24 15:33:28] ! Failed to rename "f:\m\a-l.memories.03.cannon.fodder.divx511.mkv" to "F:\M\Memories - Part 1 - Movie - A-L.mkv" with error: "System Error. Code: 183.
Nie można utworzyć pliku, który już istnieje"
[2004-11-24 15:33:29] ! Failed to rename "f:\m\a-l.memories.credits.divx511.mkv" to "F:\M\Memories - Part 2 - Movie - A-L.mkv" with error: "System Error. Code: 183.
Nie można utworzyć pliku, który już istnieje"

"Nie mozna utworzyc pliku, ktory juz istnieje" = Cannot open a file, which already exists.
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

I think that means you have a duplicate file in the same folder.
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

Post by xaffu »

Yes, but please notice that he tries to rename third episode to first and credits to 2nd episode. I've checked the files and those are completely different.
To be exact:
CRC of file Memories - Part 1 - Movie - A-L.mkv - 205C4C38
CRC of file a-l.memories.03.cannon.fodder.divx511.mkv - DAB0F6DE

AOM renamed the first file to it's current name and now wants to rename the next file to the same name.

I hope I've explained the problem clearly this time.
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

I seriously doubt that, I recommend you move the renamed files to a separate folder then compare the files.
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

Post by xaffu »

I've moved the files, renamed them to the original name and it seems fine with clean installation of AOM, don't know why the problems occures in my installation. :(
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

Post by xaffu »

I'll move the files somewhere, wait for my AOM to clean the deleted files and put them again and post what happened.
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

Post by xaffu »

After those files got removed from known files, I've removed them from mylist and renamed them as such:

2004-11-24 03:03 483˙435˙310 a-l.memories.01.magnetic.rose.divx511.mkv
2004-11-24 05:41 724˙493˙651 a-l.memories.02.stink.bomb.divx511.mkv
2004-11-24 06:33 248˙876˙203 a-l.memories.03.cannon.fodder.divx511.mkv
2004-11-24 06:42 39˙219˙781 a-l.memories.credits.divx511.mkv


Here are the checksums:
a-l.memories.01.magnetic.rose.divx511.mkv 205C4C38
a-l.memories.02.stink.bomb.divx511.mkv 1B81DE07
a-l.memories.03.cannon.fodder.divx511.mkv DAB0F6DE
a-l.memories.credits.divx511.mkv 5463A9A4


That's the listing after:
2004-11-24 06:33 248˙876˙203 a-l.memories.03.cannon.fodder.divx511.mkv
2004-11-24 06:42 39˙219˙781 a-l.memories.credits.divx511.mkv
2004-11-24 03:03 483˙435˙310 Memories - Part 1 - Movie - A-L.mkv
2004-11-24 05:41 724˙493˙651 Memories - Part 2 - Movie - A-L.mkv


And that's the log:
[2004-11-24 20:50:34] - Adding directory...
[2004-11-24 20:50:34] - Done adding directory.
[2004-11-24 20:51:04] - Loading local files...
[2004-11-24 20:51:04] - Done loading local files after 0 milliseconds.
[2004-11-24 20:51:04] - Renamed "d:\=anime.tmp\a-l.memories.01.magnetic.rose.divx511.mkv" to "D:\=ANIME.TMP\Memories - Part 1 - Movie - A-L.mkv"!
[2004-11-24 20:51:04] - Trying to connect to AniDB...
[2004-11-24 20:51:05] - Done hashing Memories - Part 1 - Movie - A-L.mkv with ed2k ed2k://|file|Memories - Part 1 - Movie - A-L.mkv|483435310|e55c7c8fd114efd6f537a2b925fdd92f|/
[2004-11-24 20:51:05] - Connected to AniDB.
[2004-11-24 20:51:05] - Executing new AniDB command.
[2004-11-24 20:51:05] - New or updated mylist entry, updating....
[2004-11-24 20:51:05] - Executing new AniDB command.
[2004-11-24 20:51:06] - Converting and saving new mylist data.
[2004-11-24 20:51:06] - Loading mylist data...
[2004-11-24 20:51:06] - Mylist data loaded after 155 milliseconds.
[2004-11-24 20:51:06] - New mylist data saved after 422 milliseconds.
[2004-11-24 20:51:06] - Executing new AniDB command.
[2004-11-24 20:51:07] - Removing obsolete entries.
[2004-11-24 20:51:07] - Obsolete entries removed after 0 milliseconds.
[2004-11-24 20:51:09] - Connection to AniDB successfully terminated. All queued tasks completed.
[2004-11-24 20:51:48] - Loading local files...
[2004-11-24 20:51:48] - Done loading local files after 0 milliseconds.
[2004-11-24 20:51:48] - Renamed "d:\=anime.tmp\a-l.memories.02.stink.bomb.divx511.mkv" to "D:\=ANIME.TMP\Memories - Part 2 - Movie - A-L.mkv"!
[2004-11-24 20:51:48] - Trying to connect to AniDB...
[2004-11-24 20:51:48] - Done hashing Memories - Part 2 - Movie - A-L.mkv with ed2k ed2k://|file|Memories - Part 2 - Movie - A-L.mkv|724493651|15b62f04d93ae406906d3a4e30d05b3d|/
[2004-11-24 20:51:48] - Connected to AniDB.
[2004-11-24 20:51:48] - Executing new AniDB command.
[2004-11-24 20:51:49] - New or updated mylist entry, updating....
[2004-11-24 20:51:49] - Executing new AniDB command.
[2004-11-24 20:51:49] - Converting and saving new mylist data.
[2004-11-24 20:51:49] - Loading mylist data...
[2004-11-24 20:51:49] - Mylist data loaded after 125 milliseconds.
[2004-11-24 20:51:50] - New mylist data saved after 358 milliseconds.
[2004-11-24 20:51:50] - Executing new AniDB command.
[2004-11-24 20:51:50] - Removing obsolete entries.
[2004-11-24 20:51:50] - Obsolete entries removed after 15 milliseconds.
[2004-11-24 20:51:52] - Connection to AniDB successfully terminated. All queued tasks completed.
[2004-11-24 20:52:04] - Loading local files...
[2004-11-24 20:52:04] - Done loading local files after 16 milliseconds.
[2004-11-24 20:52:04] ! Failed to rename "d:\=anime.tmp\a-l.memories.03.cannon.fodder.divx511.mkv" to "D:\=ANIME.TMP\Memories - Part 1 - Movie - A-L.mkv" with error: "System Error. Code: 183.
Nie można utworzyć pliku, który już istnieje"
[2004-11-24 20:52:04] - Trying to connect to AniDB...
[2004-11-24 20:52:04] - Done hashing a-l.memories.03.cannon.fodder.divx511.mkv with ed2k ed2k://|file|a-l.memories.03.cannon.fodder.divx511.mkv|248876203|cbe71acf948a90f3740d064b5a6566c4|/
[2004-11-24 20:52:04] - Connected to AniDB.
[2004-11-24 20:52:04] - Executing new AniDB command.
[2004-11-24 20:52:04] - New or updated mylist entry, updating....
[2004-11-24 20:52:04] - Executing new AniDB command.
[2004-11-24 20:52:05] - Converting and saving new mylist data.
[2004-11-24 20:52:05] - Loading mylist data...
[2004-11-24 20:52:05] - Mylist data loaded after 124 milliseconds.
[2004-11-24 20:52:05] - New mylist data saved after 359 milliseconds.
[2004-11-24 20:52:05] - Executing new AniDB command.
[2004-11-24 20:52:06] - Removing obsolete entries.
[2004-11-24 20:52:06] - Obsolete entries removed after 0 milliseconds.
[2004-11-24 20:52:07] - Loading local files...
[2004-11-24 20:52:07] - Done loading local files after 0 milliseconds.
[2004-11-24 20:52:07] ! Failed to rename "d:\=anime.tmp\a-l.memories.credits.divx511.mkv" to "D:\=ANIME.TMP\Memories - Part 2 - Movie - A-L.mkv" with error: "System Error. Code: 183.
Nie można utworzyć pliku, który już istnieje"
[2004-11-24 20:52:07] - Executing new AniDB command.
[2004-11-24 20:52:07] - Done hashing a-l.memories.credits.divx511.mkv with ed2k ed2k://|file|a-l.memories.credits.divx511.mkv|39219781|0a5882d9c33db3c4a103602a835fd745|/
[2004-11-24 20:52:07] - New or updated mylist entry, updating....
[2004-11-24 20:52:07] - Executing new AniDB command.
[2004-11-24 20:52:08] - Converting and saving new mylist data.
[2004-11-24 20:52:08] - Loading mylist data...
[2004-11-24 20:52:08] - Mylist data loaded after 109 milliseconds.
[2004-11-24 20:52:08] - New mylist data saved after 329 milliseconds.
[2004-11-24 20:52:08] - Executing new AniDB command.
[2004-11-24 20:52:08] - Removing obsolete entries.
[2004-11-24 20:52:08] - Obsolete entries removed after 0 milliseconds.
[2004-11-24 20:52:10] - Connection to AniDB successfully terminated. All queued tasks completed.
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

Post by xaffu »

Here's my format of renaming movies:
%a - %epart - %acat - %g

So in my opinion something goes wrong here... Like %epart is not recognized correctly with two last files and that's why it wants to move it on existing files and that also would explain why it's ok on clean installation, as there's no %epart in renaming there...
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

Well, the code is behaving properly, it's just the episodes are placed wrong according to how split movies should be sorted.
I'll fix the anidb entry for you.

Aka, this is NOT an aom bug.
xaffu
Posts: 18
Joined: Mon Apr 12, 2004 3:23 am

Post by xaffu »

OK, I wasn't sure if it's DB or AOM... Thanks. :)
Locked