Windows/Linux interchange issues
Arne Hanssen
lists at tuxic.net
Fri Mar 30 14:33:49 EDT 2012
Den 29. mars 2012 22:26, skrev Alex Aycinena:
> Tuc,
>
>> ---------- Forwarded message ----------
>> From: Tuc at T-B-O-H<ml at t-b-o-h.net>
>> To: gnucash-user at gnucash.org
>> Cc:
>> Date: Wed, 28 Mar 2012 16:12:31 -0400 (EDT)
>> Subject: Windows/Linux interchange issues
>> Hi,
>>
>> I've been running GnuCash on Windows for a while, and love it. So now I want
>> to do the same on Linux. Loaded the same version I have on Windows (2.4.10)
>> and copied my non-compressed XML file from Windows to Linux. No ^M in the file.
>>
>> When I try to load it, I get "The file/URL appears to be from a newer version
>> of GnuCash. (etc)". They are both 2.4.10 so I don't understand.
>>
>> I also happened to have a copy of the Quicken exported QIF file I created from
>> the Windows machine for my accountant, so I decided to try to import that. That
>> results in "No suitable backend was found for file:///(path to my qif)"
>>
>> How can I move files back and forth? I didn't create any charts or accounts
>> on the Linux system (Fresh Install), would I need to somehow replicate
>> (And how?)
>>
>> Thanks , Tuc
>>
>
> You should be able to move the files between the two environments.
>
> This is a known bug that I believe has been fixed, so you may have a
> not-quite-latest version. I think the issue is that the line
> terminations between Windows and Linux are not the same. The problem
> was introduced with r 21909 and the fix to handle that difference went
> in with r22027 in the 2.4.10 series (r 21908 and r22038, respectively,
> on trunk) so if the number shown on the splash screen (or in
> Help->About) is between those two releases, the Linux Gnucash won't
> read the Windows Gnucash file, as it should. You don't mention where
> you got your 2.4.10 version on Linux (from your Linux distribution or
> build yourself). Is it between those two releases?
>
> If so, if you can upgrade to a release after the fix, that would be
> the best solution. Alternatively, I believe, based on my tests, that
> the Linux version can read the compressed version of the Windows file.
> Can you try to save the file on your Windows Gnucash in compressed
> form (Edit->Preferences->General and tick 'Compress files') and then
> transfer that file to the Linux machine and see if it opens OK?
>
> If your version is after the fix release, then this is a different problem.
>
> I don't know what you mean by 'No ^M in the file". I have no comment
> on the QIF import issue.
I suppose ^M refers to CR (Carriage Return) which is used as one of two
End Of Line symbol in Windows (DOS, OS/2) together with Line Feed (LF).
Unix uses just LF.
--
Vennlig hilsen / Best regards |\ ___,,--, _
Arne Hanssen, Senja, Norway /,`--'' \-,,__,'/
[ Linux counter #102028 @ ] |,4 ) )_ ) /~-----'
[ http://linuxcounter.net ]------'---^~(_/-_)--(_/_)-------
More information about the gnucash-user
mailing list