[GNC] Stuck between versions

David Cousens davidcousens at bigpond.com
Sun Jul 29 18:44:29 EDT 2018


Marc,

QIF is an ASCCI formatted text file. It's format is described in a
Wikipedia article, https://en.wikipedia.org/wiki/Quicken_Interchange_Fo
rmat. It can be edited in a text editor (gedit,xed etc). I would first
check the format of your import file out for missing sysntax like
missing header lines or the lines with carets denoting the end of each
record or missing detail codes. It may be worth trying to rexport the
file from your phone again in case it was corrupted in transferring it.

Have you loaded build-essential first with sudo apt build-essential
when you attempted to build v 3.2? That should put the Gnu compilers on
your system. Can you post the command entries into the shell you used
for cmake. The errors  indicate you may be missing libofx in the
dependencies. Try sudo apt install libofx-dev.

cmake will run until it finds a missing package and then stop with an
error. The instructions list some of the dependencies as optional but
the default settings for cmake generally compile with all options but
the Python extensions by default in the more recent versions. I
realized that last night when compiling v3.2 myself and intend to
upgrade the page to reflect this. Try installing all of the optional
dependencies as well and then running cmake again. The Gnu compilers
may give you more interpretable output. 

I updated the dependencies list last night as I was building GnuCash
for the first time on a clean Linux Mint 19 system and found libsecret-
1-0-dev was missing and I have never come across it as a dependency
over the last 3-4 years. That usually means it is installed either by
default on most systems or is loaded by another commonly used package.

Generally the procedure with cmake is to run it, if it stops identify
the missing package that caused it to stop, install it and rerun it and
repeat that procedure until until it runs through without stopping and
writes the build files into the build directory. Just come back to the
forum if you have further problems.

Good luck

David

On Sun, 2018-07-29 at 09:02 -0500, 1marc1 wrote:
> Dear all,
> 
> I am a long time user of gnucash and a first time poster on this
> forum. I
> find myself stuck between versions. On my desktop (Ubuntu 16.04) I am
> running gnucash 2.6.17. On my phone I am running the mobile version.
> I keep
> the mobile version up to date with whatever the latest version is.
> 
> I have been recording transactions on my mobile phone since about
> December
> 2017 and thought it would be a good idea to now import these into my
> desktop. Prior to December 2017, I had run some tests and everything
> worked
> fine: I could export a QIF file on the phone and import that into an
> existing gnucash file on my desktop. The transactions that I created
> via the
> phone app would simply be added to the transactions that existed on
> the
> desktop version.
> 
> When I now come to import the QIF file, I get a message saying "An
> error
> occurred while loading the QIF file", followed by the message "A bug
> was
> detected while parsing the QIF file". I have tried to export my
> transactions
> using CSV format, but the import does not work either. After Googling
> around
> a bit, I learned that the import function (for CSV) does not work
> (properly)
> in version 2.6 and below.
> 
> I found that the QIF files I had created during my tests prior to
> December
> 2017 are in plain text format, while the QIF file I created today
> seems to
> be binary. As such, I thought to upgrade my desktop version to the
> latest
> stable (3.2).
> 
> It seems to be quite a process to get that upgraded, but I followed
> the
> instructions outlined here https://wiki.gnucash.org/wiki/BuildUbuntu1
> 6.04 to
> the letter.
> 
> Unfortunately, when I reach the end, I run the command:
> 
> and that crashes with an error. See: https://pastebin.com/LPe9i6Em
> The content of the cmake output file is here: https://pastebin.com/1s
> 4jEUzG
> 
> Where do I go from here? How can I get my transactions for the last 8
> months
> added to the existing transactions on my gnucash desktop version?
> 
> Marc.
> 
> 
> 
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819
> .html
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org
> /wiki/Mailing_Lists for more information.
> -----
> 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