Description of problem: upon attempt to add a custom report by clicking the 'add report' button on the main toolbar, gnucash crashes unceremoniously. Version-Release number of selected component (if applicable): gnucash-2.2.4-1.fc8 How reproducible: Create a custom report, then attempt to save it using the 'Add Report' button on the main toolbar. Steps to Reproduce: 1. start gnucash 2. create new set of accounts (I created 'common accounts') 3. create custom report: - start by selecting Reports -> Income&Expense -> Cash Flow - customize: - right click, select 'Report Options' - under 'General', change report name to e.g. 'available checking' - under 'Accounts', pick 'always show subaccounts' and select e.g. 'Assets:Checking' and 'Liabilities:Credit Card' - click 'OK' 4. attempt to save custom report by clicking 'Add Report' on the main toolbar Actual results: gnucash crashes. Expected results: new report should become available under 'Reports -> Sample and Custom' Additional info: This is the crash dump / back trace gnucash prints out when it dies: Backtrace: In unknown file: ?: 0* [gnc:report-save-to-savefile #] In /usr/share/gnucash/scm/report.scm: 420: 1* (let* (# # #) (if # #)) 427: 2 (if (record? save-result) (begin (display saved-form #) (force-output) ...)) 428: 3 (begin (display saved-form #) (force-output) (let # #)) 429: 4* [display ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Options for saved report \"Available Checking\", based on template \"Cash Flow\" (let () (define (options-gen) (let ((options (gnc:report-template-new-options/name \"Cash Flow\"))) ; Section: General (let ((option (gnc:lookup-option options \"General\" \"Report name\"))) ((lambda (option) (if option ((gnc:option-setter option) \"Available Checking\"))) option)) ; Section: Accounts (let ((option (gnc:lookup-option options \"Accounts\" \"Always show sub-accounts\"))) ((lambda (option) (if option ((gnc:option-setter option) #t))) option)) (let ((option (gnc:lookup-option options \"Accounts\" \"Account\"))) ((lambda (option) (if option ((gnc:option-setter option) '(\"3ca87e08e42e23054afb0db7e9afa012\" \"c2b6cf465cb0a50dea7ca2340a5f314d\")))) option)) options)) (gnc:define-report 'version 1 'name \"Available Checking\" 'options-generator options-gen 'menu-path (list gnc:menuname-custom) 'renderer (gnc:report-template-renderer/name \"Cash Flow\"))) " ... 430: 5* (open-file conf-file-name "a") /usr/share/gnucash/scm/report.scm:430:20: In expression (open-file conf-file-name "a"): /usr/share/gnucash/scm/report.scm:430:20: Unbound variable: open-file
Can you try the 2.2.5 packages currently in updates-testing? https://admin.fedoraproject.org/updates/F8/FEDORA-2008-3463
Same problem occurs with 2.2.5-1.fc8 :(
I can't reproduce this with the same GnuCash on F9. Will try F8, hopefully soon.
OK, with the same versions of Gnucash and guile on F9, this works fine. However, it fails on Fedora 8. Fedora 8 ships with slib-3a4-2, while Fedora 9 has slib-3b-1. If you install the slib from Fedora 9, it works. (You may try that as a workaround.) Moving bug to slib.
slib-3b1-1.fc8 has been submitted as an update for Fedora 8
slib-3b1-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.