Re: Novice Level Project - simple, fun and useful

new topic     » goto parent     » topic index » view thread      » older message » newer message
Senator said...

captured from screen 
23    9-5   Tabatha Kitchens household           $55.00           $66.00 
 
cash table listing debug.log: 
line corrupted (26), s is Tabatha Kitchens household, col i 
line corrupted (26), s is $55.00, col is 49 
line corrupted (26), s is $66.00, col is 66 
 
I cannot tell from db_dump that register.edb actual data 
has been corrupted. Example from cash table: 
 
key: {2020,9,5,10,48,42} 
  data: { 
          "Tabatha Kitchens household", 
          -5485 
        } 

That tells me you're mixing up dbdump output from different register.edb.
It's either $55.00 or $54.85, not both.

I suspect your register.edb is corrupt and needs to be deleted/rebuilt.
You may be able to recover some records from it, try db_compress or doing it record-by-record by hand.
Sadly, .edb files are not very reliable. I used to have terrible trouble with edita.edb,
but now I only have to trash it every 3 or 4 years (which is down to not crashing and therefore
always calling db_close() which flushes any and all updates from memory, but when inevitably it does
crash, by which I mean for something completely unrelated to database handling, I'll probably start
experiencing corruption issues a week or month later, at a guess).

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu