Can't change business phone number

Owain Sutton mail at owainsutton.co.uk
Wed Dec 16 09:42:17 EST 2009


I need to change the phone number found under File-Properties.  When I
do so, however, GnuCash crashes, with the following message if launched
from a terminal window:



Backtrace:
In unknown file:
   ?:  0* [apply-cb]
In /usr/share/gnucash/guile-modules/gnucash/gnome-utils.scm:
  29:  1* [gnc:options-scm->kvp #<procedure dispatch #> # # ...]
In /usr/share/gnucash/scm/options.scm:
1477:  2  [scm->kvp #<swig-pointer KvpFrame * a8f030> ("options")]
In unknown file:
    ...
   ?:  3  [hash-for-each #<procedure #f (section hash)> #(() () () ...)]
In /usr/share/guile/site/slib/hashtab.scm:
 120:  4  (do ((i (+ -1 #) (+ -1 i))) ((negative? i)) ...)
 122:  5* [alist-for-each #<procedure #f (section hash)> (("Business" .
#))]
In /usr/share/guile/site/slib/alist.scm:
 117:  6  [for-each #<procedure #f (pair)> (("Business" . #(() ()
() ...)))]
In unknown file:
   ?:  7* [#<procedure #f (pair)> ("Business" . #(() () () (#) (#) () ()
() () ...))]
In /usr/share/guile/site/slib/alist.scm:
 117:  8* [#<procedure #f (section hash)> "Business" #(() () () ...)]
In /usr/share/gnucash/scm/options.scm:
1303:  9  [section-for-each #(() () () ...) #<procedure #f (option)>]
In unknown file:
    ...
   ?: 10  [hash-for-each #<procedure #f (name option)> #(() () () ...)]
In /usr/share/guile/site/slib/hashtab.scm:
 120: 11  (do ((i (+ -1 #) (+ -1 i))) ((negative? i)) ...)
 122: 12* [alist-for-each #<procedure #f (name option)> (("Fancy Date
Format" . #))]
In /usr/share/guile/site/slib/alist.scm:
 117: 13  [for-each #<procedure #f (pair)> (("Fancy Date Format" . #))]
In unknown file:
   ?: 14* [#<procedure #f (pair)> ("Fancy Date Format" . #)]
In /usr/share/guile/site/slib/alist.scm:
 117: 15* [#<procedure #f #> "Fancy Date Format" #]
In /usr/share/gnucash/scm/options.scm:
1299: 16  [#<procedure #f (option)> #("Business" "Fancy Date Format"
"g" ...)]
    ...
1363: 17  [#<procedure #f #> # #]
1217: 18* [kvp-frame-set-slot-path-gslist #<swig-pointer KvpFrame *
a8f030> "uk" ...]

/usr/share/gnucash/scm/options.scm:1217:8: In procedure
kvp-frame-set-slot-path-gslist in expression
(kvp-frame-set-slot-path-gslist f (symbol->string #) ...):
/usr/share/gnucash/scm/options.scm:1217:8: SCM_STRING_CHARS does not
work with read-only strings.



'Read-only strings' - does that mean I'm not supposed to be able to
change it?  If so, why?




More information about the gnucash-user mailing list