Error Parsing Data File

David Brock david at tubits.com
Thu Jul 12 20:23:50 EDT 2007


On Thu, 2007-07-12 at 12:55 -0400, Derek Atkins wrote:
> David Brock <david at tubits.com> writes:
> 
> > * 18:39:02  CRIT <gnc.io> [gnc_counter_end_handler()] Unknown type:
> > gnc:GncCustomer
> > * 18:39:02  CRIT <gnc.io> [gnc_counter_end_handler()] Unknown type:
> > gnc:GncBillTerm
> > * 18:39:02  CRIT <gnc.io> [gnc_counter_end_handler()] Unknown type:
> > gnc:GncInvoice
> > * 18:39:02  CRIT <gnc.io> [gnc_counter_end_handler()] Unknown type:
> > gnc:GncEntry
> > * 18:39:02  CRIT <gnc.io> [gnc_counter_end_handler()] Unknown type:
> > gnc:GncVendor
> > * 18:40:07  WARN <gnc.backend.file> Invalid timestamp in data file.
> > Look for a 'trn:date-posted' entry with a date of 1969-12-31 or
> > 1970-01-01.
> > * 18:40:07  WARN <gnc.backend.file> Invalid timestamp in data file.
> > Look for a 'trn:date-posted' entry with a date of 1969-12-31 or
> > 1970-01-01.
> > * 18:40:07  CRIT <gnc.backend.file.sixtp> Tag <gnc:GncCustomer> not
> > allowed in current context.
> > * 18:40:07  CRIT <gnc.backend.file.sixtp> Tag <gnc:GncBillTerm> not
> > allowed in current context.
> > * 18:40:07  CRIT <gnc.backend.file.sixtp> Tag <gnc:GncInvoice> not
> > allowed in current context.
> > * 18:40:07  CRIT <gnc.backend.file.sixtp> Tag <gnc:GncEntry> not allowed
> > in current context.
> > * 18:40:07  CRIT <gnc.backend.file.sixtp> Tag <gnc:GncVendor> not
> > allowed in current context.
> > dmbrock at mercury~>
> >
> > Does that help?
> 
> WEIRD..  This feels like it's failing to load the business module
> into gnucash!  I have no idea how that can happen, but that would
> explain this error, I think.   Run under "strace" and see if it's
> loading the business libraries?
> 
> > ;-David
> 
> -derek
> 

Wow.  I'm not familiar with strace, but I loaded it, and ran it with -f
(to catch forked procs) I caught 16MB of output.

What should I be looking for?  It's a whole whack of reasonable-ness. 

Grepping through for 'business' gave a whack of lines like these:

stat("/usr/local/lib/gnucash/libgncmod-business-utils.so",
{st_mode=034117, st_size=0, ...}) = 0
open("/usr/local/lib/gnucash/libgncmod-business-utils.so.0", O_RDONLY) =
5
access("/usr/local/lib/gnucash/libgncmod-business-core.so", F_OK) = 0
access("/usr/local/lib/gnucash/libgncmod-business-core.so.0", F_OK) = 0
stat("/usr/local/lib/gnucash/libgw-business-core.so", {st_mode=034117,
st_size=0, ...}) = 0
open("/usr/local/lib/gnucash/libgw-business-core.so", O_RDONLY) = 5
stat("/usr/local/lib/gnucash/libgnc-business-ledger.so",
{st_mode=034117, st_size=0, ...}) = 0
open("/usr/local/lib/gnucash/libgnc-business-ledger.so", O_RDONLY) = 5

Shall I send the file off-list?

;-D

PS: I'll be off-list for more than a week starting tomorrow morning.
I'll watch for updates and send what I can until I leave, but after
that, I'll check in upon my return.  I appreciate any input.





More information about the gnucash-user mailing list