1.7 & 1.6.1-2 cannot co-exist?

Jonathan David Wheelhouse whsjnd@froggy.com.au
Tue, 17 Jul 2001 09:14:08 +1000


On Mon, Jul 16, 2001 at 11:22:41PM +1000, Jonathan David Wheelhouse wrote:
> Hi
> 
> I ran the development version; it said something about DEM or currency
> (maybe touching the data file); I don't unfortunately remember
> exactly. It ran OK.
> 
> Then when I ran the stable 1.6.1 version - it kept failing with a
> 'cannot exec /usr/bin/gnucash'.  I realised that maybe some shared
> libraries (I think gncengine.so) conflicted; there was some missing
> symbol (function actually, xacc something or other).  So, I did
> - make uninstall
> 
> But now there are still errors with the stable version: after tip of
> the day appears there is a dialog box popup "error An error occurred
> while processing <my data file>".  And (since I ran it from an xterm)
> there is a whole bunch of text filling up the xterm with things like
> "((tag gnc:account)".
> 

OK, some more information for you:
I ran /usr/bin/gnucash --debug; the following snippet is relevant:

gnucash: [D] "loading system configuration"
gnucash: [D] "loading user configuration"
gnucash: [D] "Running functions on hook "startup-hook
  #<procedure gnc:reldError: sixtp_sax_start_handler: Tag <gnc:template-transactions> not allowed in current context.

Error: sixtp_handle_catastrophe: parse failed at

(stack-frame 0x83282e8
             (parser 0x8327e70)
             (tag (null))
             (data-for-children (nil))
             (data-from-children)
             (frame-data (nil)))
  (stack-frame 0x8326e30
               (parser 0x8327ed0)
               (tag gnc-v2)
               (data-for-children (nil))

And a strace revealed a similar thing:
write(2, "Error: sixtp_sax_start_handler: ", 32) = 32
write(2, "Tag <gnc:template-transactions> "..., 64) = 64
write(2, "\n", 1)                       = 1
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x40019000, 4096)                = 0
write(2, "Error: sixtp_handle_catastrophe:"..., 33) = 33
write(2, "parse failed at \n", 17)      = 17

I am a programmer but a poor one on Unix (trying to learn) so I don't
know where to go from here.  Please help.

Jonathan