After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548891 - QIF Import: GnuCash crashes when .gnucash/qif-accounts-map is readonly
QIF Import: GnuCash crashes when .gnucash/qif-accounts-map is readonly
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Import - QIF
2.2.x
Other All
: Normal critical
: ---
Assigned To: Charles Day
Derek Atkins
Depends on:
Blocks: backport
 
 
Reported: 2008-08-21 17:43 UTC by Karl
Modified: 2018-06-29 22:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Karl 2008-08-21 17:43:57 UTC
Steps to reproduce:
1. make /home/whoever/.gnucash/qif-accounts-map readonly
2. Import QIF file and follow druid
3. GNUCash crashes on clicking Apply


Stack trace:
Running with --debug option gives:
*********************
Backtrace:
In unknown file:
   ?: 0* [qif-import:save-map-prefs #(() # # ...) #(# # # ...) ...]
In /usr/share/gnucash/scm/qif-import/qif-guess-map.scm:
 272: 1* (let (#) (with-output-to-file pref-filename #))
 276: 2  [with-output-to-file "/home/karl/.gnucash/qif-accounts-map" ...]
In unknown file:
   ?: 3  (let* ((nport #) (ans #)) (close-port nport) ans)
   ?: 4* [open-output-file "/home/karl/.gnucash/qif-accounts-map"]
   ?: 5  [#<procedure #f #> "/home/karl/.gnucash/qif-accounts-map" "w"]
   ?: 6  [open-file "/home/karl/.gnucash/qif-accounts-map" "w"]
<unnamed port>: In procedure open-file in expression (guile-core-open-file filename (if # # ...)):
<unnamed port>: Permission denied: "/home/karl/.gnucash/qif-accounts-map"
******** end of back trace **********


Other information:
Comment 1 Charles Day 2008-08-21 17:47:25 UTC
Fix committed as r17477. Requesting backport for 2.2.
Comment 2 Andreas Köhler 2008-09-17 17:22:38 UTC
Applied to branches/2.2 as r17542 for inclusion in GnuCash 2.2.7.
Thanks a lot!
Comment 3 John Ralls 2018-06-29 22:09:07 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=548891. Please update any external references or bookmarks.