<br><br><div class="gmail_quote">On Mon, Aug 22, 2011 at 7:57 AM, Gary Kirkpatrick <span dir="ltr"><<a href="mailto:pegngary@gmail.com">pegngary@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><div></div><div class="h5"><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" target="_blank">ostroffjh@sbcglobal.net</a>><br>
To: KMyMoney Users' mailing list <<a href="mailto:kmymoney@kde.org" target="_blank">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" target="_blank">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></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><font color="#888888"><div>gary</div></font></div>

</blockquote></div><br><br clear="all"><div>Sorry forgot to change the subject</div>-- <br><div style="text-align:center"><i><span style="font-size:x-small">Blogging at </span></i><a href="http://panamapg.x10.mx/" target="_blank">http://panamapg.x10.mx/</a>  <br>
</div><div style="text-align:center"><i><span style="font-size:x-small"><br></span></i></div><div style="text-align:center"><i><span style="font-size:x-small"><span style="font-weight:bold"></span><span style="color:rgb(204, 0, 0)">Those who can make you believe absurdities can make you commit atrocities.   - Voltaire</span>  </span></i><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:sans-serif;line-height:24px"><br>
<font size="1"><b>Registered Ubuntu user number # 33826</b></font></span></span></div><br>