Failure of "--add-price-quotes" option.

David Brock david at tubits.com
Thu Sep 15 19:49:28 EDT 2005


Aha!

Okay, the problem, is not solved, but I have eliminated one red herring.
(Maf- to answer you, it runs normally when i don't use the --add-p-q
option)

The error I reported was, in fact, from the existence of the .LCK
and .LNK files- here's how that came about:

I ran the command with --add-price-quotes, and it crashed, leaving the
LCK & LNK files in place, then, when I ran it again, and stepped up the
logging, I saw a different error message- I thought it was because of
the verbose logging, but in fact it was a different failure- the first
crash caused the second error that you, Derek, commented on
(ERR_BACKEND_LOCKED).

Okay, when I remove the LCK and LNK files, and run it again, from the
command line, with the --add-price-quotes, I get a "Broken Pipe" error
(and the LCK & LCK files remain after the crash)  Unfortunately, the
logging levels don't allow me to get medium-verbosity, it's scads of
data, or very little.  Below is a capture of loglevel2 and excerpts
(head & tail) of loglevel3.

Anyway, you'll see that there is basically a "Broken Pipe" error that
kills it.

Anything you can think of would be great.

;-David

============================================================================
dmbrock at mercury~/GNUCash>gnucash --debug --loglevel 2
--add-price-quotes /home/dmbrock/GNUCash/Personal.dat 
gnucash: [D] "handling arg ""--loglevel"
gnucash: [D] "handling arg ""--add-price-quotes"
gnucash: [D] "files to open: "()
gnucash: [D] "starting up (2)."
gnucash: [D] "gnc:find-file looking for ""finance-quote-check"" in
"("/usr/X11R6/share/gnome/gnucash")
gnucash: [D] "  checking for
""/usr/X11R6/share/gnome/gnucash/finance-quote-check"
gnucash: [D] "found file
""/usr/X11R6/share/gnome/gnucash/finance-quote-check"
gnucash: [D] "gnc:find-file looking for ""finance-quote-helper"" in
"("/usr/X11R6/share/gnome/gnucash")
gnucash: [D] "  checking for
""/usr/X11R6/share/gnome/gnucash/finance-quote-helper"
gnucash: [D] "found file
""/usr/X11R6/share/gnome/gnucash/finance-quote-helper"
gnucash: [D] "loading system configuration"
gnucash: [D] "gnc:find-file looking for ""config"" in
"("/usr/X11R6/etc/gnucash")
gnucash: [D] "  checking for ""/usr/X11R6/etc/gnucash/config"
gnucash: [D] "found file ""/usr/X11R6/etc/gnucash/config"
gnucash: [D] "loading user configuration"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config-1.8.user"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config-1.6.user"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config.user"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config-1.8.auto"
gnucash: [D] "loading saved reports"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/saved-reports-1.8"
gnucash: [D] "Running functions on hook "report-hook
  #<procedure business-report-function ()>
gnucash: [D] "Running functions on hook "startup-hook
  #<procedure #f ()>
Broken pipe
dmbrock at mercury~/GNUCash>

============================================================================
dmbrock at mercury~/GNUCash>gnucash --debug --loglevel 3
--add-price-quotes /home/dmbrock/GNUCash/Personal.dat 
gnucash: [D] "handling arg ""--loglevel"
gnucash: [D] "handling arg ""--add-price-quotes"
gnucash: [D] "files to open: "()
gnucash: [D] "starting up (2)."
gnucash: [D] "gnc:find-file looking for ""finance-quote-check"" in
"("/usr/X11R6/share/gnome/gnucash")
gnucash: [D] "  checking for
""/usr/X11R6/share/gnome/gnucash/finance-quote-check"
gnucash: [D] "found file
""/usr/X11R6/share/gnome/gnucash/finance-quote-check"
gnucash: [D] "gnc:find-file looking for ""finance-quote-helper"" in
"("/usr/X11R6/share/gnome/gnucash")
gnucash: [D] "  checking for
""/usr/X11R6/share/gnome/gnucash/finance-quote-helper"
gnucash: [D] "found file
""/usr/X11R6/share/gnome/gnucash/finance-quote-helper"
gnucash: [D] "loading system configuration"
gnucash: [D] "gnc:find-file looking for ""config"" in
"("/usr/X11R6/etc/gnucash")
gnucash: [D] "  checking for ""/usr/X11R6/etc/gnucash/config"
gnucash: [D] "found file ""/usr/X11R6/etc/gnucash/config"
gnucash: [D] "loading user configuration"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config-1.8.user"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config-1.6.user"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config.user"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/config-1.8.auto"
gnucash: [D] "loading saved reports"
gnucash: [D] "trying to load ""/home/dmbrock/.gnucash/saved-reports-1.8"
gnucash: [D] "Running functions on hook "report-hook
  #<procedure business-report-function ()>
gnucash: [D] "Running functions on hook "startup-hook
  #<procedure #f ()>
Info: gnc_session_begin: filepath=/home/dmbrock/GNUCash/Personal.dat
Info: gnc_session_begin: logpath=/home/dmbrock/GNUCash/Personal.dat
Info: gnc_session_begin: Done running session_begin on backend
Info: gnc_session_load: new book=0x8adb500
Info: dom_tree_to_text: node string is >>>1<<<

Info: sixtp_sax_end_handler: Finished with end of <gnc:count-data>
Info: sixtp_sax_end_handler: Finished with end of <book:id>
Info: sixtp_sax_end_handler: Finished with end of <slot:key>
Info: sixtp_sax_end_handler: Finished with end of <slot:key>
Info: sixtp_sax_end_handler: Finished with end of <slot:value>
Info: sixtp_sax_end_handler: Finished with end of <slot>
Info: sixtp_sax_end_handler: Finished with end of <slot:key>
Info: sixtp_sax_end_handler: Finished with end of <slot:value>
Info: sixtp_sax_end_handler: Finished with end of <slot>
Info: sixtp_sax_end_handler: Finished with end of <slot:key>
Info: sixtp_sax_end_handler: Finished with end of <slot:value>
Info: sixtp_sax_end_handler: Finished with end of <slot>
Info: sixtp_sax_end_handler: Finished with end of <slot:value>
Info: sixtp_sax_end_handler: Finished with end of <slot>
Info: dom_tree_to_text: node string is >>>counters<<<

Info: dom_tree_to_text: node string is >>>gncCustomer<<<

Info: dom_tree_to_text: node string is >>>3<<<

Info: dom_tree_to_text: node string is >>>gncInvoice<<<

Info: dom_tree_to_text: node string is >>>4<<<

Info: dom_tree_to_text: node string is >>>gncVendor<<<

Info: dom_tree_to_text: node string is >>>3<<<

Info: sixtp_sax_end_handler: Finished with end of <book:slots>
Info: dom_tree_to_text: node string is >>>36<<<
...
...
LOTS AND LOTS OF THIS STUFF- READING THE WHOLE DATA FILE
...
...
Info: sixtp_sax_end_handler: Finished with end of <vendor:guid>
Info: sixtp_sax_end_handler: Finished with end of <vendor:name>
Info: sixtp_sax_end_handler: Finished with end of <vendor:id>
Info: sixtp_sax_end_handler: Finished with end of <addr:name>
Info: sixtp_sax_end_handler: Finished with end of <addr:addr1>
Info: sixtp_sax_end_handler: Finished with end of <addr:addr2>
Info: sixtp_sax_end_handler: Finished with end of <addr:addr3>
Info: sixtp_sax_end_handler: Finished with end of <vendor:addr>
Info: sixtp_sax_end_handler: Finished with end of <vendor:taxincluded>
Info: sixtp_sax_end_handler: Finished with end of <vendor:active>
Info: sixtp_sax_end_handler: Finished with end of <cmdty:space>
Info: sixtp_sax_end_handler: Finished with end of <cmdty:id>
Info: sixtp_sax_end_handler: Finished with end of <vendor:currency>
Info: sixtp_sax_end_handler: Finished with end of <vendor:use-tt>
Info: dom_tree_to_text: node string is >>>Bell Expressvu<<<

Info: dom_tree_to_text: node string is >>>000002<<<

Info: dom_tree_to_text: node string is >>>Bell Expressvu<<<

Info: dom_tree_to_text: node string is >>>P.O. Box 3250
<<<

Info: dom_tree_to_text: node string is >>>Station Don Mills
<<<

Info: dom_tree_to_text: node string is >>>North York, ON  M3C 4C9
<<<

Info: dom_tree_to_text: node string is >>>USEGLOBAL<<<

Info: dom_tree_to_text: node string is >>>1<<<

Info: dom_tree_to_text: node string is >>>ISO4217<<<

Info: dom_tree_to_text: node string is >>>CAD<<<

Info: dom_tree_to_text: node string is >>>0<<<

Info: sixtp_sax_end_handler: Finished with end of <gnc:GncVendor>
Info: sixtp_sax_end_handler: Finished with end of <gnc:book>
Info: sixtp_sax_end_handler: Finished with end of <gnc-v2>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc-v2>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:count-data>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:book>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:GncCustomer>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:count-data>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:schedxaction>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:GncEmployee>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:account>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:commodity>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:transaction>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:GncTaxTable>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:GncEntry>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <book:id>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:GncBillTerm>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:GncVendor>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:pricedb>
Info: sixtp_destroy_child: Killing sixtp child under key <price>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <book:slots>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:template-transactions>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:GncJob>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:GncOrder>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:GncInvoice>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:schedxaction>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:account>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:commodity>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:transaction>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key <gnc:pricedb>
Info: sixtp_destroy_child: Killing sixtp child under key <price>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Info: sixtp_destroy_child: Killing sixtp child under key
<gnc:template-transactions>
Info: sixtp_destroy_child: Killing sixtp child under key <&MAGIX&>
Broken pipe
dmbrock at mercury~/GNUCash>
============================================================================





More information about the gnucash-user mailing list