[GNC-dev] GnuCash 4.7 Released

john jralls at ceridwen.us
Mon Sep 27 23:04:55 EDT 2021


David,

The problem is that schemes.compiled doesn't have the new org.gnucash.GnuCash paths. Or rather didn't, because running glib-compile-schemas again should have added that and you should now be able to run GnuCash. Can you check that?

Geert and I were working with another user on IRC this afternoon (well, my afternoon). That user used make and I just tested and found that make produced the result you get while ninja produced the result I get. But you say you're using ninja so so much for that hypothesis.

Regards,
John Ralls


> On Sep 27, 2021, at 6:39 PM, davidcousens49 at gmail.com wrote:
> 
> Hi John,
> 
> $strings /usr/local/share/glib-2.0/schemas/gschemas.compiled | grep
> dialogs.import.hbci
> (b)org.gnucash.dialogs.import.hbci
> /org/gnucash/dialogs/import/hbci/
> org.gnucash.dialogs.import.hbci.connection-dialog
> org.gnucash.dialogs.import.hbci.connection-dialog
> /org/gnucash/dialogs/import/hbci/connection-dialog/
> 
> 
> $ sudo glib-compile-schemas --strict /usr/local/share/glib-2.0/schemas/
> returns no erors
> 
> The build directory was cleaned with rm -rf before rebuilding and then a rerun
> of the cmake, ninja and sudo ninja install.
> 
> Cheers
> 
> David
> 
> On Mon, 2021-09-27 at 18:05 -0700, John Ralls wrote:
>> David,
>> 
>> Does
>>  strings /usr/local/share/glib-2.0/schemas/gschemas.compiled | grep
>> dialogs.import.hbci
>> return 
>>  (i)org.gnucash.dialogs.import.hbci
>>  /org/gnucash/dialogs/import/hbci/
>>  org.gnucash.GnuCash.dialogs.import.hbci.connection-dialog
>>  org.gnucash.GnuCash.dialogs.import.hbci.connection-dialog
>>  /org/gnucash/GnuCash/dialogs/import/hbci/connection-dialog/
>>  org.gnucash.dialogs.import.hbci.connection-dialog
>>  /org/gnucash/dialogs/import/hbci/connection-dialog/
>>  org.gnucash.GnuCash.dialogs.import.hbci
>>  /org/gnucash/GnuCash/dialogs/import/hbci/
>>  org.gnucash.GnuCash.dialogs.import.hbci.connection-dialog
>> 
>> If you run
>>  glib-compile-schemas --strict /usr/local/share/glib-2.0/schemas/
>> do you get an error?
>> 
>> By "cleaned the build directory" do you mean "rm -rf *" or "ninja clean"?
>> 
>> Regards,
>> John Ralls
>> 
>> 
>> 
>>> On Sep 27, 2021, at 2:25 PM, David Cousens <davidcousens49 at gmail.com> wrote:
>>> 
>>> Hi Geert,
>>> I hadn't tried to run gnucash from the build directory, only the installed
>>> directories under /usr/local.
>>> Applied the patch, uninstalled the previous install, cleaned the build
>>> directory and rebuilt 4.7. Again no problems with cmake or ninja or the
>>> install itself but the same problem when running gnucash. I've attached the
>>> trace file and the patched gschema file.
>>> $ gnucash --debug
>>> Trace/breakpoint trap (core dumped)
>>> 
>>> On Mon, 27 Sept 2021 at 17:21, Geert Janssens <geert.gnucash at kobaltwit.be>
>>> wrote:
>>> 
>>>> Hi David,
>>>> 
>>>> This is definitely a crasher bug that unfortunately managed to slip passed
>>>> our
>>>> testing. I am surprised the warning only happens when installing gnucash,
>>>> not
>>>> while building it. Likewise you can run GnuCash just fine from the build
>>>> directory but not from the install path.
>>>> 
>>>> I'll push a fix but unfortunately this probably means we need to do a
>>>> hotfix
>>>> release (4.7.1). I'll let John decide.
>>>> 
>>>> I have attached a patch. Can you try to apply this to your tarball and see
>>>> if
>>>> t hat fixes the problem ? It does for me.
>>>> 
>>>> Regards,
>>>> 
>>>> Geert
>>>> 
>>>> Op maandag 27 september 2021 03:27:02 CEST schreef
>>>> davidcousens49 at gmail.com:
>>>>> Hi John
>>>>> 
>>>>> Encountered a runtime problem with GC 4.7 on Linux MInt 20.2 built from
>>>> the
>>>>> downloaded tarball. There were no obvious problems with the cmake and
>>>> ninja
>>>>> runs and only the following warning running sudo ninja install ( to
>>>>> /usr/local).
>>>>> 
>>>>> Compiling gschema files in /usr/local/share/glib-2.0/schemas
>>>>> Warning: undefined reference to <schema
>>>>> id='org.gnucash.GnuCash.dialogs.import.hbci.connection-dialog'/>
>>>>> 
>>>>> the program bombs out when I try to run it with the following in the
>>>>> gnucash.trace file:
>>>>> 
>>>>> * 10:53:31 OTHER <GLib-GIO> Settings schema
>>>>> 'org.gnucash.GnuCash.dialogs.import.ofx' is not installed
>>>>> 
>>>>> I reran GC with gnucash --debug and have attached the full trace file
>>>>> 
>>>>> All of the terminal outputis in the attached files in case I missed the
>>>>> obvious.
>>>>> 
>>>>> David
>>>>> 
>>>>> On Sun, 2021-09-26 at 12:35 -0700, John Ralls wrote:
>>>>>> The GnuCash development team announces GnuCash 4.7, the eighth release
>>>> in
>>>>>> the stable 4.x series
>>>>>> Compatibility Notice
>>>>>> 
>>>>>> In order to allow flatpak users to share preferences with
>>>>>> installations
>>>>>> outside of the sandbox we need to change the preference path from
>>>>>> /org/gnucash to /org/gnucash/GnuCash. This release of GnuCash does
>>>>>> that
>>>>>> and it will automatically migrate existing preferences. It does not,
>>>>>> however, continue to write preferences to the old path and it runs the
>>>>>> migration only once. If you go back and forth between GnuCash 4.7 and
>>>> an
>>>>>> older versions you'll have two sets of preferences, one for GnuCash
>>>>>> 4.7
>>>>>> and later and another for GnuCash 4.6 and earlier. This includes the
>>>> file
>>>>>> history list and last-opened file.>
>>>>>> Between 4.6 and 4.7, the following bugfixes were accomplished:
>>>>>>   Bug 87847 - RFE: Create a 'checkbox' cell type
>>>>>>   Bug 766052 - Job report payments wrong when payment contains splits
>>>>>>   Bug 797596 - New-owner - improved representation of payments with
>>>>>>   multiple
>>>>>> 
>>>>>> non-APAR splits
>>>>>> 
>>>>>>   Bug 798142 - Tax rate appears as a fraction
>>>>>>   Bug 798180 - Update to macOS Big Sur 11.3 breaks Finance Quote
>>>>>>   Bug 798205 - Some transactions dropped with no apparent cause or
>>>>>>   warnings
>>>>>> 
>>>>>> for credit card ofx import
>>>>>> 
>>>>>>   Do not exclude from import a transaction that has an FITID which
>>>>>>   matches
>>>>>> 
>>>>>> an already existing split. This is because it (1) may be a coincidence
>>>> and
>>>>>> therefore the transaction needs to be added or (2) could be on a
>>>> transfer
>>>>>> from the account being imported to another bank account which has
>>>> already
>>>>>> been imported, and so needs to be matched, not added.
>>>>>> 
>>>>>>   Bug 798208 - management fee transactions are ignored on OFX import
>>>>>>   Bug 798211 - Equity statement double calculates unrealized gain
>>>>>>   Bug 798219 - apply/OK truncates exchange rates from 4 to 2 decimal
>>>>>>   places;
>>>>>> 
>>>>>> enter doesn't
>>>>>> 
>>>>>>   Bug 798221 - Transfer funds between accounts with different
>>>> currencies
>>>>>> crashes Gnucash on macOS
>>>>>> 
>>>>>>   Bug 798224 - Scheduled transactions are created with date-entered
>>>>>>   copied
>>>>>> 
>>>>>> from the template transaction.
>>>>>> 
>>>>>>   Bug 798229 - GncDate::c_formats is being created and destroyed
>>>> twice
>>>>>> resulting in a double free crash on every exit.
>>>>>> 
>>>>>>   Bug 798234 - Cut Transaction discards the reference to the
>>>>>> 
>>>>>> description/memo strings so that Paste Transaction will paste
>>>>>> uninitialised
>>>>>> data (or other strings)
>>>>>> 
>>>>>>   Bug 798235 - Reconciliation Ending Balance not recalculated the 2nd
>>>>>>   and
>>>>>> 
>>>>>> subsequent times Statement Date is updated.
>>>>>> 
>>>>>>   Bug 798237 - Logging during XML file loading degrades performance
>>>>>> 
>>>>>> significantly
>>>>>> 
>>>>>>   Bug 798238 - "New security" dialog doesn't save the "Display
>>>> symbol"
>>>>>>   Bug 798250 - Gnucash permanent hang on save while loading report
>>>>>>   Bug 798256 - Crash in recnFinishCB
>>>>>>   Bug 798298 - Re-imported transactions no longer ignored
>>>>>>   Bug 798303 - account list is sorted wrong by amount
>>>>>>   Bug 798312 - Opening the help for dialogues in the wrong language.
>>>>>> 
>>>>>> The following fixes and improvements were not associated with bug
>>>> reports:
>>>>>>   Lots of memory-leaks plugged
>>>>>>   Change the preferences path to org.gnucash.GnuCash to comply with
>>>>>>   flatpak
>>>>>> 
>>>>>> requirements and migrate existing preferences to the new paths. This
>>>> won't
>>>>>> provide for automatic sync between a system-installed GnuCash and a
>>>>>> flatpak
>>>>>> one unless the system-installed one is GnuCash 4.7 or later. Please
>>>>>> see
>>>>>> the
>>>>>> Wiki for more information and a procedure to convert your existing
>>>>>> preferences.
>>>>>> 
>>>>>>   Cleanup - minimal glib=2.56.1 - drop all conditionals on older
>>>>>>   versions
>>>>>>   Add code to handle ofx files that include transfers between
>>>> accounts
>>>>>>   During transaction import, ignore splits whose account is not the
>>>>>> 
>>>>>> destination account
>>>>>> 
>>>>>>   Do not drop a potential match just because it has an online_id.
>>>>>> 
>>>>>>   Now that we don't exclude from import a transaction with an FITID
>>>> that
>>>>>> matches an already existing transaction, if one accidentally
>>>> re-imports a
>>>>>> transaction, this allows it to be automatically matched against the
>>>>>> previously imported transaction.
>>>>>> 
>>>>>>   Add test for Transaction GetDate() in python bindings, pursuant to
>>>> Bug
>>>>>> 798284.
>>>>>> 
>>>>>>   In find customer dialog, add a column for "Shipping Contact"
>>>> parameter
>>>>>>   Prep early splash screen messages for translation
>>>>>>   Change text for SX preference option 'Review created transactions'
>>>> to
>>>>>> better align with existing SX text.
>>>>>> 
>>>>>>   Fixed an XML backend problem where trying to open a locked file
>>>> would
>>>>>> clear the lock even if one didn't ask to, so the next attempt would
>>>> find
>>>>>> the file unlocked even if still open in another instance.
>>>>>> 
>>>>>>   Fix 2 crashes in Generic Transaction Matcher
>>>>>>   Handle very large denominators from Finance::Quote's OpenExchange
>>>>>>   source
>>>>>>   Update file extension in man pages per mailing list post.
>>>>>> 
>>>>>>   Changed some option names:
>>>>>>       From "Show Accounts until level" to "Levels of Subaccounts"
>>>>>>       From "Extra notes" to "Extra Notes"
>>>>>>       from "Report title" to "Report Title"
>>>>>>       From "Invoice number" to "Invoice Number" to ensure it matches
>>>> all
>>>>>> other invoice reports.
>>>>>> 
>>>>>>   Fix missing mnemonic keys after changes to GNCAmountEdit
>>>>>> 
>>>>>>   With the changes to GNCAmountEdit, the way the mnemonic keys are
>>>>>> 
>>>>>> associated to the entry widget of the GNCAmountEdit needs to change so
>>>>>> have
>>>>>> created a function gnc_amount_edit_make_mnemeonic_target which does
>>>>>> the
>>>>>> same as GNCDateEdit.
>>>>>> 
>>>>>>   Fix rounding in Stock Split Assistant to correct earlier commit
>>>> that
>>>>>> rounded the share price to that of the currency.
>>>>>> 
>>>>>>   [Portfolio Reports] Allow share digits to 9 decimal places to match
>>>>>>   the
>>>>>> 
>>>>>> maximum commodity fraction.
>>>>>> 
>>>>>> New API
>>>>>> 
>>>>>>   None
>>>>>> 
>>>>>> Deprecations
>>>>>> 
>>>>>>   Date options with a time of day setting.
>>>>>> 
>>>>>>   Removing the only use, an example in hello-world.scm. GnuCash
>>>> doesn't
>>>>>>   use
>>>>>> 
>>>>>> this value in any of its own report options and the feature will be
>>>>>> removed in GnuCash 5. Related to bug 798297 Pref "Use 24-hour clock"
>>>>>> obsolete?.>
>>>>>>   gnc:owner-report-create
>>>>>> 
>>>>>> New and Updated Translations: Chinese (Simplified), Croatian, Finnish,
>>>>>> French, German, Hebrew, Italian, Japanese, Portuguese, Portuguese
>>>>>> (Brazil), Swedish, Ukrainian
>>>>>> Known Problems
>>>>>> 
>>>>>> Complete list of all open bugs:
>>>>>> 
>>>> https://bugs.gnucash.org/buglist.cgi?bug_severity=blocker&bug_severity
>>>> =critical&bug_severity=major&bug_severity=normal&bug_severity=
>>>> minor&bug_severity=trivial&bug_status=NEW&bug_status=ASSIGNED&
>>>> amp;bug_status=NEEDINFO&bug_status=REOPENED&limit=0&list_id=81
>>>>>> 49&order=priority%2Cbug_severity&query_format=advanced
>>>>>> 
>>>>>> Documentation
>>>>>> 
>>>>>> Concurrent with the release of GnuCash 4.7 we're pleased to also
>>>> release a
>>>>>> new version of the companion Help and Tutorial and Concepts Guide
>>>>>> 
>>>>>> Between 4.6 and 4.7, the following bugfixes were accomplished:
>>>>>>   Bug 798226 - minor mistakes in Tutorial and Concepts guide 2
>>>>>>   Bug 798226 - postprocessing: xmlformat
>>>>>>   Bug 798236 - Remove comment about swapped A/P & A/R terminology
>>>>>> 
>>>>>> The following fixes and improvements were not associated with bug
>>>> reports:
>>>>>>   Replace COPYING file from GPL 3 to GPL 2.
>>>>>>   Substantial editing of the C documentation to make the meanings
>>>> more
>>>>>> understandable to translators.
>>>>>> 
>>>>>>   Apply dtd-locale to help/de/Help_para-assist-intro.xml.
>>>>>>   Add ENTITY(s) prefix guisubmenu, guimenuitem, and guilabel as gsm,
>>>>>>   gmi,
>>>>>> 
>>>>>> and gl, respectively.
>>>>>> 
>>>>>>   Move untranslated entity messages from gnc-docbookx.dtd to each
>>>> locale
>>>>>> file.
>>>>>> 
>>>>>>   Make DTD ENTITY(s) translatable. See docbook/README. Bug 798273 -
>>>>>>   Consider
>>>>>> 
>>>>>> a entity import system like in docbook-xsl
>>>>>> 
>>>>>>   Guide:C:Currency: update images Part 1
>>>>>>   Fix license file to use actual file instead of softlink.
>>>>>>   Unify words and account names. Fix minor typos and tags. Add
>>>> commas to
>>>>>>   the
>>>>>> 
>>>>>> numbers. Add some tags. Fix according to the review comments.
>>>>>> 
>>>>>>   Add license file to git tracking
>>>>>> 
>>>>>>   It is an autogenerated file from autotools but it was ignored by
>>>> our
>>>>>> current git config. A previous commit chose to install the file, but
>>>>>> that's
>>>>>> difficult if it's missing.
>>>>>> 
>>>>>>   Install license files COPYING and COPYING-DOCS
>>>>>>   Help/de: Crop Export screenshots
>>>>>>   Drop travis-ci in favour of github worflows
>>>>>>   Remove obsolete appendix B about FAQ from guide.
>>>>>>   Remove obsolete appendix C about VAT from guide.
>>>>>>   Guide/C: Note on fieldnames in CSV import
>>>>>>   Mark Guide's import chapter as outdated
>>>>>>   Minor improvements in C and de Help Tips on alphavantage
>>>>>> 
>>>>>> New and Updated Translations: German
>>>>>> Getting GnuCash for Windows and MacOS
>>>>>> 
>>>>>> GnuCash is provided for both Microsoft Windows 8.1® and later and
>>>>>> MacOS
>>>>>> 10.13 (High Sierra)® and later in pre-built, all-in-one packages. An
>>>>>> installer is provided for Microsoft Windows® while the MacOS® package
>>>> is
>>>>>> a disk image containing a drag-and-drop application bundle.
>>>>>> 
>>>>>> The SHA256 Hashes for the downloadable files are:
>>>>>>   fc9ff34020cca560e5753d2b3bca2aab39d2adcf40836e18d0c935a7f7db2062
>>>>>>   gnucash-
>>>>>> 
>>>>>> 4.7.tar.bz2
>>>>>> 
>>>>>>   9c8e6595df4a2c0ec1d2120b953adbba0356370c4c3b50289a2c2a270810dabe
>>>>>>   gnucash-
>>>>>> 
>>>>>> 4.7.tar.gz
>>>>>> 
>>>>>>   8be9e11f77e1cb56b48d59fa007a2c11e3865231f16df6f27de50eb6035bb64a
>>>>>>   gnucash-
>>>>>> 
>>>>>> 4.7.setup.exe
>>>>>> 
>>>>>>   3409c86a0e57ac4983f1f532fb9de04f3cf8be63aa694da1ef120c8016d4df46
>>>>>>   Gnucash-
>>>>>> 
>>>>>> Intel-4.7-1.dmg
>>>>>> 
>>>>>>   33fc05c9220247636c22bcd12227b95420a4991b9fdd9027e2fc29b16f58b03b
>>>>>>   gnucash-
>>>>>> 
>>>>>> docs-4.7.tar.gz
>>>>>> 
>>>>>> Microsoft Windows:
>>>>>> 
>>>> https://github.com/Gnucash/gnucash/releases/download/4.7/gnucash-4.7.setup
>>>>>> .exe
>>>>>> 
>>>>>> 
>>>> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.7/gnuca
>>>>>> sh-4.7.setup.exe
>>>>>> 
>>>>>> Apple macOS:
>>>>>> 
>>>> https://github.com/Gnucash/gnucash/releases/download/4.7/Gnucash-Intel-4.7
>>>>>> -1.dmg
>>>>>> 
>>>> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.7/Gnuc
>>>>>> ash-Intel-4.7-1.dmg
>>>>>> 
>>>>>> GnuCash is now available as a flatpak from Flathub.org. Instructions
>>>> for
>>>>>> installing and running may be found at
>>>>>> https://wiki.gnucash.org/wiki/Flatpak.
>>>>>> 
>>>>>> Note that at the time of this announcement the flathub.org build is
>>>> broken
>>>>>> because of a an expired certificate at Sourceforge.net. We will get a
>>>>>> release up there as soon as they resolve the issue.
>>>>>> 
>>>>>> Getting GnuCash as source code
>>>>>> If you want to compile GnuCash 4.7 for yourself, the source code can
>>>>>> be
>>>>>> downloaded from:
>>>>>> 
>>>> https://github.com/Gnucash/gnucash/releases/download/4.7/gnucash-4.7.tar.b
>>>>>> z2
>>>>>> 
>>>> https://github.com/Gnucash/gnucash/releases/download/4.7/gnucash-4.7.tar.
>>>>>> gz
>>>>>> 
>>>> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.7/gnuc
>>>>>> ash-4.7.tar.bz2
>>>>>> 
>>>> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.7/gnuc
>>>>>> ash-4.7.tar.gz
>>>>>> 
>>>>>> You can also checkout the sources directly from the git repository,
>>>>>> see
>>>>>> https://wiki.gnucash.org/wiki/Git for instructions.
>>>>>> 
>>>>>> To compile GnuCash from the source code by yourself, you will need at
>>>>>> least
>>>>>> Gtk+ 3.24, Guile 2.0, Boost 1.54, WebKitGtk 2.4, GoogleTest 1.7.0,
>>>> cmake
>>>>>> 3.10 and SWIG 2.0.12. Please consult the README.dependencies file in
>>>> the
>>>>>> sources for the exact list of dependencies and versions.
>>>>>> 
>>>>>> Getting the documentation
>>>>>> 
>>>>>> If you want to compile the GnuCash Documentation 4.7 for yourself, the
>>>>>> source code can be downloaded from:
>>>>>> 
>>>> https://github.com/Gnucash/gnucash/releases/download/4.7/gnucash-docs-4.7.
>>>>>> tar.gz
>>>>>> 
>>>> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.7/gnuc
>>>>>> ash-docs-4.7.tar.gz
>>>>>> 
>>>>>> Note that we are preparing to remove autotools support from the
>>>>>> documentation build and that it is no longer included in the tarball.
>>>>>> 
>>>>>> The documentation is included in the MacOS and Windows application
>>>>>> bundles.
>>>>>> About the Program
>>>>>> 
>>>>>> GnuCash is a free, open source accounting program released under the
>>>> GNU
>>>>>> General Public License (GPL) and available for GNU/Linux, *BSD,
>>>> Solaris,
>>>>>> MacOS, and Microsoft Windows. Programming on GnuCash began in 1997,
>>>>>> and
>>>>>> its
>>>>>> first stable release was in 1998.
>>>>>> _______________________________________________
>>>>>> gnucash-devel mailing list
>>>>>> gnucash-devel at gnucash.org
>>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>> <gnucash.trace><org.gnucash.GnuCash.deprecated.gschema.xml.in>______________
>>> _________________________________
>>> gnucash-devel mailing list
>>> gnucash-devel at gnucash.org
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 



More information about the gnucash-devel mailing list