Author Topic: Opie-checkbook Source?  (Read 2566 times)

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
Opie-checkbook Source?
« on: December 22, 2004, 12:28:39 pm »
Been working on a perl script which converts a qif file into a qcb file for use w/opie-checkbook.  Right now just conversion of qif to create a new qcb.  Eventually I'll add append to existing qcb support.  Script is working for small qif exports of my checkbook from jabp (couple months worth).  However for large exports of 9 months or more (up to whole checkbook) resulting file is corrupted by opie-checkbook.  I painstakingly took 1 yrs worth of transactions and slowly pared down the qif file to find the exact point where my script's output qcb file would be corrupted on loading.  The critical entry appeared to have nothing unique about it but I noticed that without this entry in the qif file, the resulting qcb file was just less than 100,000 bytes and opened fine in opie-checkbook.  With this entry the generated qcb file is just over 100,000 bytes and opens with no entries showing and is corrupted once closed.

Smells like a 100,000 byte input buffer to me but need to see the source to confirm and possibly patch.

opie cvs is still down.  Could anyone send me a tarball of the opie-checkbook-0.8.0-r0 source (OZ 3.5.2) so I could check it out?

Thanks,
K
keith at claytons dot org

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
Opie-checkbook Source?
« Reply #1 on: December 22, 2004, 08:31:38 pm »
Was able to make an anon cvs checkout of the opie code this afternoon.  Now I need to see if I can figure out the code on the fly.

Cheers,
K