#90 ✓resolved
Laurence Passmore

Auctions disappear

Reported by Laurence Passmore | April 29th, 2008 @ 03:16 PM | in 2.0 Full Release

Sync'ing with My eBay and quitting/restarting a few times, my auctions will sometimes disappear. The log has:

Tue Apr 29 23:09:45 BST 2008: Connected to database jbdb (JBidwatcher DataBase)

Tue Apr 29 23:09:45 BST 2008: Failed to load all auctions.

The cause of the load failure is left as an exercise for the reader... :)

Of interest is that it only wiped items that I had on My eBay. Other auctions I was using to test/debug JBW2 remained.

Comments and changes to this ticket

  • Morgan Schweers

    Morgan Schweers April 29th, 2008 @ 03:31 PM

    Greetings,

    I believe that if you look in the console, you'll see a spate of

    CAN'T BRING IN AUCTION #: {number}
    

    messages.

    This specifically means that it tried to load an auction entry, but couldn't find the auction info to go along with it.

    It means that somehow the auction entry got saved, but the auction info associated with it didn't. :(

    I have a theory that the auction entry with the correct auction_id isn't getting saved, and so it's picking up the old one.

    I just have to think of a way to test that...

    -- Morgan

  • Morgan Schweers

    Morgan Schweers April 29th, 2008 @ 03:31 PM

    • State changed from “new” to “open”
  • Therese Telepski

    Therese Telepski April 29th, 2008 @ 05:07 PM

    I just run into a comparable issue after restarting my computer - all items despite the latest added ones were vanished in v20b2, whereas they were still present in v1.02. See attachment.

    As this also hold true when I replaced the auctions.xml by a backup a few hours old (where all these chairs hadn't been added at all) I'm asking myself: where the heck does JBW 2.0 store the auction information??!?

    Sincerely,

    Therese

  • Therese Telepski

    Therese Telepski April 29th, 2008 @ 05:28 PM

    Alright, I found the jbdb directory at

    C:\Documents and Settings\(Current User)\.jbidwatcher\jbdb

    and deleted it completely.

    Afterwards JBW 20b2 loaded the auctions from the still existing XML file again, with all auctions present.

    Does that mean the logic is that JBW 2.0 looks for the fileset within the jbdb directory and if present only takes that even if severly differing from the latest XML file, and retracts to the XML only when the jbdb is completely missing? But on the other hand updates teh XML file fairly often (at least every time an 'Update auction(s)' or 'Clear deleted entries' is run?

    If so some consistency check should be considered as an option to rebuild the jbdb from the XML, or a regular backup of the jbdb files, too -- maybe as ZIPped or JARed archive.

    Sincerely,

    Therese

  • Therese Telepski

    Therese Telepski April 30th, 2008 @ 07:35 AM

    And one more time - after restart all auctions despite 3 got lost; had to delete jbdb dircectory and restart from last good XML file.

    It gets a bit annoying to do that over and over again ...

    Therese

  • rasch

    rasch April 30th, 2008 @ 12:52 PM

    I lost an auction after accidentially pressing CTRL-C in the console I was running JBidwatcher from (Linux, it killed the process).

    The workaround mentioned in the comments helped.

    Thanks for your work!

    Rainer

  • Morgan Schweers

    Morgan Schweers May 1st, 2008 @ 03:52 AM

    Greetings,

    See my comments on #102.

    I've checked in a fix as changeset [478].

    -- Morgan Schweers, CyberFOX!

  • Andreas

    Andreas May 1st, 2008 @ 11:22 AM

    For some reason the auctions under "compete" tab are NOT lost (maybe this help you troubleshoot the problem easier)

    maybe you should force a commit to database after each user change

    Regards

  • Morgan Schweers

    Morgan Schweers May 1st, 2008 @ 12:39 PM

    Greetings,

    That's what the autocommit setting that I changed does, basically.

    It works, but for some reason if you force-quit the application, some information still gets disconnected.

    Not that this is a unexpected, that was true before when everything was serialized to XML, but what you'd generally lose was anything added or changed since the last save.

    I have a few ideas on how to make it more resiliant, but the best option would be to have Derby (the database) always write through. Not sure if it's possible, though.

    -- Morgan Schweers, CyberFOX!

  • Morgan Schweers

    Morgan Schweers May 1st, 2008 @ 02:02 PM

    (from [480]) Lower the page-cache size (to address memory usage issues) and save the auction entries right after updating the auction info id, to hopefully reduce data loss when the program is killed, force quitted, or 'end task'ed. More work towards improving tickets [#90] and [#102].

  • Morgan Schweers

    Morgan Schweers May 2nd, 2008 @ 01:12 AM

    • State changed from “open” to “resolved”

    Greetings,

    This should not happen under 2.0beta3 anymore.

    Even under force quit/kill/end task, it should be mostly okay.

    PLEASE LET ME KNOW IF I'M WRONG!

    Thanks muchly for the reports and logs.

    -- Morgan Schweers, CyberFOX!

  • Andreas

    Andreas May 2nd, 2008 @ 07:24 AM

    It seems to work now

  • bobhuff

    bobhuff May 3rd, 2008 @ 03:36 PM

    Hello Great Program & congrats on the baby. First experience with JBW 2.0B3 on Win XP SP2, updating from 2.0beta2. All of my custom tabs are there, but data for only 2 completed auctions appear, nothing else. If examine the auctions.xml file the data 'appears' to be there.. I tried going back to 2.0beta2 (which was fine) but the data did not show now. I use the Jar file. Help?

  • bobhuff

    bobhuff May 3rd, 2008 @ 03:53 PM

    I just updated the java runtime (Sun) on my system and Everything is back! Sorry I din't think of it before. I hope this might help someone else.

  • ayourk

    ayourk May 6th, 2008 @ 10:15 PM

    I'm getting many of these "CAN'T BRING IN AUCTION #" messages and can't load all auctions in 2.0beta3.

  • Nicola

    Nicola May 11th, 2008 @ 10:41 AM

    Hi, With MacOS 10.4.11 all my auctions disappear every time I quit the program. This never happened with previous versions. Do you have a fix for this please.

    Kind regards

    Nicola

  • Therese Telepski

    Therese Telepski May 11th, 2008 @ 05:59 PM

    Dear Morgan,

    Win XP SP3, JBW 2.0B3.

    With every restart still some of the information gets lost.

    Last examples:

    Before restarting I added about 50 auctions to the grid, put them in bid groups, set snipes etc. After restart they were still there -- but all of them unsniped and ungrouped.

    I have defined custom tabs for 'Won' and 'Outbid'. After restart they were all empty. The won auctions seemed to have been moved to the completed folder, so they are not lost. However I didn't ask for such a behaviour.

    I have defined a custom column setting -- some more information in a column order I can easily work with. This column order is messed up and needs to be rearranged after every restart.

    Additionally a well known message popped up again after a few minutes:

    'Something really bad happened and I don't know what'.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Could it be that updates in the progs 'meat and flesh' -- i.e. actual auction data and user settings -- are usually stored in a kind of temporary cashe and written to disk only during inactivity or every quarter of an hour or so? If this guess is right it could be the cause for the frequent inconsistencies reported in this forum when shutting down JBW or the computer, not to speak of crashs of either.

    I'm attaching the latest error logs.

    Sincerely,

    Therese

  • dome84

    dome84 May 16th, 2008 @ 11:11 AM

    still having some issues with disappearing auctions..

    they stay in the program for 3 days or something then they're gone and i gotta add them manually again.

    got winxp sp2 here

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Attachments

Referenced by

Pages