[AOM 0.5.1.219] Cannot Remove File from Mylist

Bug reports for an official AniDB Client go here

Moderators: AniDB, AniDB API

Locked
egg
Posts: 769
Joined: Tue Nov 11, 2003 7:17 am

[AOM 0.5.1.219] Cannot Remove File from Mylist

Post by egg »

First a little history:
If I look at myplace on the web it says:
eps: 3549
files: 3551

If I look at AOM, it says:
Episodes: 3553
Files: 3556

I have added a few files that have not been refreshed yet on the web, but what bothered me was the number of files that must be duplicates (I know I have one ep that was three eps, but AOM thought there was another dup. So for some reason AOM has some things marked in mylist that are NOT on the website. I had had some trouble with both a v1 and v2 being listed in the web, so being suspicious, I looked at AOM, and the file WAS marked there, but not the web. I tried to remove the file from mylist and I got:
[12/1/2004 11:49:52 AM] - Trying to connect to AniDB...
[12/1/2004 11:49:52 AM] - Connected to AniDB.
[12/1/2004 11:49:52 AM] - Executing new AniDB command.
[12/1/2004 11:49:53 AM] + Could not delete mylist entry, updating...
[12/1/2004 11:49:53 AM] - Executing new AniDB command.
[12/1/2004 11:49:53 AM] - Converting and saving new mylist data.
[12/1/2004 11:49:53 AM] - Loading mylist data...
[12/1/2004 11:49:53 AM] - Mylist data loaded after 141 milliseconds.
[12/1/2004 11:49:53 AM] - New mylist data saved after 374 milliseconds.
[12/1/2004 11:49:53 AM] - Executing new AniDB command.
[12/1/2004 11:49:54 AM] - Removing obsolete entries.
[12/1/2004 11:49:54 AM] - Obsolete entries removed after 0 milliseconds.
[12/1/2004 11:49:56 AM] - Connection to AniDB successfully terminated. All queued tasks completed.

Here is the probable sequence of events:
1) I had this file on my harddrive and it was marked in both of mylists.
2) AOM was shut down.
3) I deleted the file from my harddrive.
4) I removed it from mylist on the web.
5) AOM started up still thinking the file really exists and it is mylist and the sync failed for some reason.
6) I manually tried to remove the file from mylist in AOM, it fails.
7) AOM scans and realizes the file is no longer there.
8) I manually tried to remove the file from mylist in AOM, it fails.
9) Restart AOM.
10) I manually tried to remove the file from mylist in AOM, it fails.
11) Close AOM.
12) I add the file to mylist in the Web.
13) Restart AOM.
14) I manually tried to remove the file from mylist in AOM, it works.

OK, I guess I found a workaround...

Anyway, whatever the cause of the sync issue, if it fails to remove something because it is not there, then it should go ahead and remove it on the local copy....
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Re: [AOM 0.5.1.219] Cannot Remove File from Mylist

Post by PetriW »

egg wrote:5) AOM started up still thinking the file really exists and it is mylist and the sync failed for some reason.
6) I manually tried to remove the file from mylist in AOM, it fails.
Aom thinks it's out of date, since it's been specifically prohibited by exp that the client should modify it's own cache based on information from failed commands it triggers an update instead but if the update doesn't fix the entry it remains wrong.

The bug has been spotted before. I >suspect< it's in AOM since I suck but well. If it still occurs in aom 0.6 I'll spank exp a little.
Locked