Bug detected when trying to import from Quicken
Charles Day
cedayiv at gmail.com
Tue Apr 14 19:25:39 EDT 2009
Could someone follow up with this thread? I'll be gone for a couple of days.
Cheers,
Charles
On Tue, Apr 14, 2009 at 3:37 PM, subscribe307 at verizon.net <
subscribe307 at verizon.net> wrote:
> I intentionally used a \ in the Quicken file name.
> While I was opening the GnuCash file the Tip of the Day comes up and I
> sequenced through several of them. Now I can't open GnuCash. A dialog box
> comes up that says "GnuCash could not obtain the lock for (saved file name).
> When I select open anyway it waits a while and then says it is not
> responding. I found a LCK file where the GnuCash files are saved and
> removed it and now everything appears to be OK. Is this normal?
> Thanks,
> Mike
>
> Charles Day wrote:
>
>> On Mon, Apr 13, 2009 at 9:06 AM, subscribe307 at verizon.net <mailto:
>> subscribe307 at verizon.net> <subscribe307 at verizon.net <mailto:
>> subscribe307 at verizon.net>> wrote:
>>
>> Thanks for your response. I could not interpret the trace file
>> but something in it made me think that it was a account name
>> problem. The account that seemed to be causing the problem had a
>> \ in the name. When I renamed the account without the \ the
>> import worked fine. This may be something you want to warn new
>> users about.
>>
>>
>> That bug has been fixed since the last release, so you can install the fix
>> or wait for the next release. Or remove the \ from the file, which you've
>> already discovered.
>>
>> By the way, did you intentionally use a \ in the account/category name, or
>> did Quicken put that in your QIF by mistake?
>>
>> Here's how to install the fix (if you want):
>> 1. Close GnuCash
>> 2. Replace your installed copy of qif-parse.scm with this one:
>>
>> http://svn.gnucash.org/trac/browser/gnucash/trunk/src/import-export/qif-import/qif-parse.scm?rev=17998&format=txt<
>> http://svn.gnucash.org/trac/browser/gnucash/trunk/src/import-export/qif-import/qif-parse.scm?rev=17998&format=txt
>> >
>> 3. Restart GnuCash
>>
>> -Charles
>>
>> Thanks again,
>> Mike
>>
>> Charles Day wrote:
>>
>> Please look for a gnucash trace file. It should contain
>> details about what caused the problem. Search your system for
>> all filenames starting with "gnucash.trace" and pick one that
>> includes details of the import failure. If there are a lot of
>> them, it may be easiest to recreate the problem and then find
>> the most recent file.
>>
>> I would guess that these files are in c:\windows\temp, but if
>> not then you'll have to search the whole system for them.
>>
>> With any luck, you've found a bug that has already been fixed
>> since the last release.
>>
>> -Charles
>>
>>
>> On Sun, Apr 12, 2009 at 10:25 AM, subscribe307 at verizon.net
>> <mailto:subscribe307 at verizon.net>
>> <mailto:subscribe307 at verizon.net
>> <mailto:subscribe307 at verizon.net>> <subscribe307 at verizon.net
>> <mailto:subscribe307 at verizon.net>
>> <mailto:subscribe307 at verizon.net
>>
>> <mailto:subscribe307 at verizon.net>>> wrote:
>>
>> I am trying to export accounts with the QIF file export in
>> Quicken
>> to GnuCash. This works fine with most accounts but if
>> there is a
>> transfer from the investment account called "bonds" then the
>> account I am exporting, either an investment account or
>> checking
>> account, gives the error dialog "A bug was detected while
>> reading
>> the QIF file" when I try to import it into GnuCash. If I don't
>> include the time period with the transfer from "Treas" then the
>> import works fine. There is not a problem when there are
>> transfers from other accounts, only the "Treas" account. I
>> can't
>> see anything wrong with this account and when I export the
>> "Treas"
>> account it imports GnuCash fine. How do I isolate this
>> problem so
>> that I can import all the accounts from Quicken? The Quicken
>> accounts cover a number of years with many of these
>> transfers to
>> maintain account balances so it is not practical to
>> eliminate the
>> transfers.
>> Thanks for your help.
>> Mike
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
>> <mailto:gnucash-user at gnucash.org
>> <mailto: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.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus
>> Database: 270.11.53/2054 - Release Date: 4/11/2009 10:51 AM
>>
>>
>>
>> * WARN <qof.engine> [guid_init()] only got 2260 bytes.
>> The identifiers might not be very random.
>> * WARN <gnc.app-util> Could not spawn perl: Failed to execute
>> child process (No such file or directory)
>> * WARN <gnc.scm> qif-split:parse-category: can't parse
>> [[Treas\Vang. bond\CD]].
>> * WARN <gnc.scm> In unknown file:
>> ?: 14* [#<procedure #f ()>]
>> In C:\Program
>> Files\gnucash\share\gnucash\guile-modules/gnucash/main.scm:
>> 150: 15* [lazy-catch #t #<procedure #f ()> #<procedure dumper
>> (key . args)>]
>> In unknown file:
>> ?: 16* [#<procedure #f ()>]
>> In C:\Program
>> Files\gnucash\share\gnucash\guile-modules/gnucash/main.scm:
>> 151: 17* [apply #<procedure private-read ()> ()]
>> In unknown file:
>> ?: 18 [private-read]
>> ...
>> ?: 19 (letrec ((myfail #) (mywarn #)) (qif-file:set-path! self
>> path) ...)
>> In C:\Program Files\gnucash\share\gnucash\scm/qif-import/qif-file.scm:
>> 97: 20* [with-input-from-file "K:\\c all 4-13-09.QIF" #<procedure
>> #f ()>]
>> In unknown file:
>> ?: 21 (let* ((nport #) (ans #)) (close-port nport) ans)
>> ?: 22* [with-input-from-port #<input: K:\c all 4-13-09.QIF 4>
>> #<procedure #f ()>]
>> ?: 23 (let ((swaports (lambda () #))) (dynamic-wind swaports
>> thunk swaports))
>> ?: 24 [dynamic-wind #<procedure #f ()> #<procedure #f ()>
>> #<procedure #f ()>]
>> ?: 25* [#<procedure #f ()>]
>> In C:\Program Files\gnucash\share\gnucash\scm/qif-import/qif-file.scm:
>> 100: 26* (letrec ((line-loop (lambda () # # #))) (line-loop))
>> In unknown file:
>> ?: 27 [line-loop]
>> In C:\Program Files\gnucash\share\gnucash\scm/qif-import/qif-file.scm:
>> ...
>> 105: 28 (begin (set! bytes-read #) (set! tag #) (set! value #) ...)
>> 132: 29* (if (eq? tag #\!) (let (#) (set! qstate-type #) ...) ...)
>> 194: 30 (case qstate-type (# #) (# #) ...)
>> In unknown file:
>> ...
>> ?: 31 [qif-split:set-category! # "[Treas\\Vang. bond\\CD]"]
>> In C:\Program
>> Files\gnucash\share\gnucash\scm/qif-import/qif-objects.scm:
>> 93: 32 (let* (# # # ...) (qif-split:set-category-private! self
>> cat-name) ...)
>> 98: 33* [list-ref ("" #f #f) 3]
>> C:\Program
>> Files\gnucash\share\gnucash\scm/qif-import/qif-objects.scm:98:22:
>> In procedure list-ref in expression (list-ref cat-info 3):
>> C:\Program
>> Files\gnucash\share\gnucash\scm/qif-import/qif-objects.scm:98:22:
>> Argument 2 out of range: 3
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database:
>> 270.11.53/2054 - Release Date: 4/11/2009 10:51 AM
>>
>>
>>
>
More information about the gnucash-user
mailing list