Downgrading gnucash?

Jack McKinney jackmc-gnucash at lorentz.com
Wed Sep 10 11:01:05 CDT 2003


Big Brother tells me that Matthew Vanecek wrote:
> Try this: 
> Back up your data file (of course, always!).
> Open your data file in your favorite text editor
> Find the line that says <gnc:book> and delete it.
> Find the line taht says </gnc:book> and delete it.
> Try to open it once again in your 1.6.x version of Gnucash.
> Report results to the list.

    I tried that already.  It just makes it worse.  Also, they are not the
only lines:

$ fgrep -i book mymoney
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="(null)">
<book:id type="guid">e86a2086e5cc6de1fbb050b303580f22</book:id>
</gnc:book>
$ cp mymoney mymoney.orig ; vi mymoney
$ diff mymoney mymoney.orig
3a4
> <gnc:book version="(null)">
10735a10737
> </gnc:book>
$ gnucash mymoney

Gdk-WARNING **: locale not supported by C library

** WARNING **: Unknown type: book

** CRITICAL **: file sixtp.c: line 515 (sixtp_sax_end_handler): assertion `pdata->parsing_ok' failed.
Error: sixtp_handle_catastrophe: parse failed at 

(stack-frame 0x82ce348
             (parser 0x81ada40)
             (tag (null))
             (data-for-children (nil))
             (data-from-children)
             (frame-data (nil)))
  (stack-frame 0x82dd748
               (parser 0x82cde90)
               (tag gnc-v2)
               (data-for-children (nil))
               (data-from-children)
               (frame-data (nil)))
    (stack-frame 0x82dd838
                 (parser 0x82ce1d0)
                 (tag gnc:count-data)
                 (data-for-children 0x82dd850)
                 (data-from-children)
                 (frame-data 0x82dd850))
$ vi mymoney  # Remove ALL book references
$ diff mymoney mymoney.orig
2a3,5
> <gnc:count-data cd:type="book">1</gnc:count-data>
> <gnc:book version="(null)">
> <book:id type="guid">e86a2086e5cc6de1fbb050b303580f22</book:id>
10733a10737
> </gnc:book>
$ gnucash mymoney
<X popup that says>
      Application "gnucash" (process 837) has crashed
      due to a fatal error.
      (Segmentation fault)

Please visit the GNOME Application Crash page for more information
                                                        CLOSE
</X popup [back to your regularly schedule stdout/stderr]>

Gdk-WARNING **: locale not supported by C library
Error: gnc_xml_set_data: Unhandled tag: act:commodity

Error: dom_tree_generic_parse: gnc_xml_set_data failed
Error: dom_tree_handlers_all_gott...(): Not defined and it should be: act:currency
Error: dom_tree_generic_parse: missing tag in input

** CRITICAL **: file sixtp.c: line 515 (sixtp_sax_end_handler): assertion `pdata->parsing_ok' failed.
Error: sixtp_handle_catastrophe: parse failed at 

(stack-frame 0x82ce348
             (parser 0x81ada40)
             (tag (null))
             (data-for-children (nil))
             (data-from-children)
             (frame-data (nil)))
  (stack-frame 0x82dd748
               (parser 0x82cde90)
               (tag gnc-v2)
               (data-for-children (nil))
               (data-from-children ((tag gnc:commodity) (data 0x82de460)) ((tag gnc:commodity) (data 0x82de650)) ((tag gnc:commodity) (data 0x82ddc78)) ((tag gnc:commodity) (data 0x82ddbc0)) ((tag gnc:commodity) (data 0x82dd9d0)) ((tag gnc:commodity) (data 0x82ddd50)) ((tag gnc:count-data) (data 0x82de550)) ((tag gnc:count-data) (data 0x82dded0)) ((tag gnc:count-data) (data 0x82dd850)))
               (frame-data (nil)))
    (stack-frame 0x82df950
                 (parser 0x82cdf90)
                 (tag gnc:account)
                 (data-for-children 0x82de570)
                 (data-from-children)
                 (frame-data 0x82de570))

Gdk-WARNING **: locale not supported by C library


      Note: all of the output above came just before the popup window.

-- 
"I owe the government $3400 in taxes. So I    Jack McKinney
sent them two hammers and a toilet seat.      jackmc at lorentz.com
              -Michael McShane                http://www.lorentz.com
1024D/12C23A80 4096g/CA714907
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20030910/e658066d/attachment.pgp


More information about the gnucash-user mailing list