Crash on Qif Import
Charles Day
cedayiv at gmail.com
Thu Aug 21 12:05:18 EDT 2008
On Thu, Aug 21, 2008 at 3:02 AM, Karl Grant <karlgrant06 at gmail.com> wrote:
> Can somebody point me in the correct direction to solve this problem.
>
> Running 2.2.6 from ppa.launchpad on Kubuntu 3.5.9
>
> When trying to import any qif (I've tried a few from different sources) the
> druid runs correctly; all matching looking correct etc, it crashes on the
> final
> click to import! This happens with both my normal file and a clean
GnuCash needs to have write permission for the file. However, this is
definitely a bug, as GnuCash should not crash in this situation. Could you
create a Bugzilla bug for this? I'll get started on a fix.
Cheers,
Charles
> 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 **********
>
> ******** sample of qif file ************
> !Type:CCard
> D24/09/2007
> U23.74
> T23.74
> PO CONNORS BOOKSHOP
> MBOOK
> ^
> D01/10/2007
> U94.50
> T94.50
> PRETAIL SHOP
> MSTUFF
> ^
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
More information about the gnucash-user
mailing list