GNOME Bugzilla – Bug 128701
Gnucash Fails to run with slib3a1
Last modified: 2018-06-29 20:39:18 UTC
When running Gnucash with slib3a1 the splash screen pops up, and then Gnucash exits with the following backtrace to the terminal: Backtrace: In unknown file: ... ?: 37 (begin (if # #) (make-modules-in # full-name)) ?: 38* (if (or # #) (try-load-module name)) ?: 39 [try-load-module (gnucash report iframe-url)] ?: 40 (or (begin (try-module-linked name)) (try-module-autoload name) ...) ?: 41* [try-module-autoload (gnucash report iframe-url)] ?: 42 (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #)) ... ?: 43 (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #) ...) ...) ?: 44* [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>] ?: 45* [#<procedure #f ()>] ?: 46* (let ((file #)) (cond (# => #) (# => #))) ?: 47 [#<procedure #f #> "/usr/local/share/gnucash/guile-modules/gnucash/report/$ ?: 48 [load-file #<primitive-procedure primitive-load> ...] ?: 49* [save-module-excursion #<procedure #f ()>] ?: 50 (let (# #) (dynamic-wind # thunk #)) ?: 51 [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>] ?: 52* [#<procedure #f ()>] ?: 53* [primitive-load "/usr/local/share/gnucash/guile-modules/gnucash/report/ifr$ In /usr/local/share/gnucash/guile-modules/gnucash/report/iframe-url.scm: 7: 54* [require format] In unknown file: ?: 55 (cond ((not feature) (set! *catalog* #f)) ((slib:provided? feature)) ...) ... ?: 56 [scm-error misc-error #f ...] <unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...): <unnamed port>: slib:require unsupported feature format
The following notes may be pertient to the problem .. as some major changes occurred in version slib3a1 with respect to "format" and removed files 'fmtdoc.txi format.scm formatst.scm ' which were still present in slib2d6 in version http://www-swiss.ai.mit.edu/~jaffer/SLIB.FAQ might need changes at the gnucash or guile level ... as per SLIB.FAQ
The SLIB.FAQ says [] What happened to FORMAT? In order for FORMAT to call itself for FORMAT error messages, the original author made its code non-reentrant. For that reason and the reasons below, FORMAT was removed; I saw little evidence of anyone using it. If someone fixes FORMAT, I will put it back into SLIB. The last versions of FORMAT are in "format.scm", "formatst.scm", and "fmtdoc.txi" in http://swissnet.ai.mit.edu/ftpdir/scm/OLD/slib2d5.zip -- For gnucash, we either need to replace the scheme format calls by printf's, or we need to include the abovementioned files in the gnucash source tree. Anyone with more options?
This was mostly fixed in CVS on 2004-03-30 and completely as of 2004-05-05.
I should add that the "mostly fixed" portion made it into 1.8.9.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=128701. Please update any external references or bookmarks.