<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sat, 20 Aug 2011 09:23:56 -0400<br>
From: Jack <<a href="mailto:ostroffjh@sbcglobal.net">ostroffjh@sbcglobal.net</a>><br>
To: KMyMoney Users' mailing list <<a href="mailto:kmymoney@kde.org">kmymoney@kde.org</a>><br>
Subject: Re: [Kmymoney] problem importing qif file<br>
Message-ID: <1313846636.1929.1@ffortso4><br>
Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed<br>
<br>
Gary,<br>
<br>
When responding to a digest, please try to change the subject.<br>
<br>
On 2011.08.20 08:29, Gary Kirkpatrick wrote:<br>
> > Date: Fri, 19 Aug 2011 07:02:34 -0700 (PDT)<br>
> > From: Jack <<a href="mailto:ostroffjh@sbcglobal.net">ostroffjh@sbcglobal.net</a>><br>
>> Please post the first five to ten lines of the file here - you can<br>
>> change any account numbers or actual amounts.  Then we can confirm<br>
>> whether or not it is really a QIF file.<br>
> ><br>
>> However, the CRLF means it was exported on a PC.  I'm pretty sure<br>
>> KMM will read it correctly with either PC or Linux line endings (can<br>
>> someone confirm this?) but just as a test you could try "dos2linux <<br>
>> date.qif > newdate.qif" to change the line endings and see if that<br>
>> copy will import.<br>
><br>
> Here are the first few lines.  The error messge reads Account has<br>
> Invalid type then KMM freezes.<br>
><br>
> !Type:Tag<br>
> Nancestry<br>
> ^<br>
> NBarcelona trip<br>
> ^<br>
> NHostess Gifts<br>
> ^<br>
> NHotels, B&Bs, etc.<br>
> ^<br>
> NHousehold<br>
> ^<br>
> NInsurance<br>
> ^<br>
> NLabor<br>
> ^<br>
> NMaterials<br>
> ^<br>
> Npostage<br>
> ^<br>
> NPrisca Project<br>
><br>
<br>
OK - there are several issues here.<br>
<br>
First, I thought I saw in a separate message that you got this to<br>
work.  Am I confusing two different threads?<br>
<br>
Second, I think this is the first time you said that KMM gave an error<br>
message "Account has invalid type" before freezing.  If we knew this at<br>
the beginning, we could have saved a lot of steps.<br>
<br>
As Allan said, KMM currently does not deal with the Tag section in<br>
QIF.  To remove that section, in a text editor, remove all lines from<br>
"!Type:Tag" to the line before the next "!Type" line.  (As a wishlist,<br>
should it at least ignore it?)<br>
<br>
dos2linux and dos2unix are essentially the same, and which one you have<br>
depends on your distribution.  Also, as has been said in other<br>
messages, it doesn't matter, as KMM doesn't care about which type of<br>
line ending you have.<br>
<br>
Sorry it's taking so long to get this to work, but get it sorted out.<br>
<br>
Jack<br><br></blockquote><div><br></div><div><br></div><div>First:  Sorry Jack I am a bit confused at the moment about what I said I got to work so can not straighten that out.  </div><div><br></div><div>Second:  The second error message hid behind the first and I noticed it after I happened to move the other error message.  </div>
<div><br></div><div>To get the import to work I also had to remove the next !Type as well.  Then I get a date error message.  Will post that separately.</div><div><br></div><div>gary</div></div>