[GNC] Gnucash 4.7 Problem

Geert Janssens geert.gnucash at kobaltwit.be
Mon Sep 27 03:44:21 EDT 2021


Unfortunately this is a bug. I missed a name change in the conversion code for 
gnucash preferences.

The fix is in the patch attached.

As this is a crasher we may have to do a hotfix release. What do you think 
John ?

Regards,

Geert

Op maandag 27 september 2021 06:43:26 CEST schreef John Ralls:
> Please remember to copy the list on all replies.
> 
> Removing /usr/local/lib/gnucash isn't enough. You'd also need to remove at
> least /usr/local/lib/libgnc* and /usr/local/share/gnucash.
> 
> You don't need the whole build directory. There's a single file,
> install-manifest.txt, that contains all of the files that were installed.
> With that one file you can do `xargs rm < install-manifest.txt` to
> uninstall GnuCash. You might consider saving it off somewhere before you
> delete the build directory.
> 
> Regards,
> John Ralls
> 
> > On Sep 26, 2021, at 9:08 PM, Harry G McGavran Jr <w5pny at w5pny.com> wrote:
> > 
> > That did fix the problem!  I guess I will have to be sure
> > to keep the old build directory around, so I can do a "make uninstall"
> > before building the next release!  Thanks for the fix -- but I must
> > say it would be nice to not have to do the "make uninstall" on the
> > old release.  Many packages don't even have uninstall in their
> > Makefiles... (although it would be nice if every one did include an
> > uninstall in their Makefiles).
> > 
> > Thanks, John!
> > 
> >   Harry
> > 
> > On 9/26/21 9:41 PM, Harry G McGavran Jr wrote:
> >> I think I figured out what you mean --
> >> you must  mean either do "make uninstall" or "ninja uninstall" with 4.6
> >> before building 4.7 ...
> >> With I build gnucash and always remove /usr/local/lib/gnucash
> >> before doing "make install" which might be the same thing.
> >> If it does, then I'll still have the problem.   I'll give
> >> it a try though and if it doesn't work, I'll post a tracefile to
> >> the bug reports...
> >> 
> >> On 9/26/21 9:34 PM, Harry G McGavran Jr wrote:
> >>> I don't have the ninja package installed, so I'm not sure what
> >>> "make/ninja uninstall" means...>>> 
> >>> On 9/26/21 9:20 PM, john wrote:
> >>>> If you didn't already, run make/ninja uninstall in the 4.6 build
> >>>> directory. Configure and build GnuCash 4.7 in an empty directory, then
> >>>> install.
> >>>> 
> >>>> If that doesn't correct the problem get a stack trace of the crash and
> >>>> attach it and the trracefile to a new bug report.
> >>>> 
> >>>> Regards,
> >>>> John Ralls
> >>>> 
> >>>>> On Sep 26, 2021, at 7:26 PM, Harry G McGavran Jr via gnucash-user
> >>>>> <gnucash-user at gnucash.org> wrote:
> >>>>> 
> >>>>> This was with Ubuntu 20.04...
> >>>>> 
> >>>>> On 9/26/21 8:25 PM, Harry G McGavran Jr wrote:
> >>>>>> I just built Gnucash 4.7 from the release page.
> >>>>>> It built fine, and it runs fine from the build directory,
> >>>>>> but the installed gnucash binary in /usr/local/bin
> >>>>>> fails with:
> >>>>>> Trace/breakpoint trap (core dumped)
> >>>>>> It only seems to run without error when run from the bin
> >>>>>> directory where the build is actually done.
> >>>>>> So I rebuilt Gnucash 4.6 and it's installed binary in /usr/local/bin
> >>>>>> runs fine.
> >>>>>> There was no core file even though "core dumped" was displayed with
> >>>>>> 4.7
> >>>>> 
> >>>>> _______________________________________________
> >>>>> 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.
> 
> _______________________________________________
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-crash-due-to-missing-schema.patch
Type: text/x-patch
Size: 999 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20210927/2ae54602/attachment-0001.bin>


More information about the gnucash-user mailing list