[GNC] Can't download stock prices
John Ralls
jralls at ceridwen.us
Sun May 19 23:52:40 EDT 2024
> On May 19, 2024, at 18:03, Ernie Wakamatsu <etwakaoz at gmail.com> wrote:
>
> Hi,
>
> First time user of this mailing list and just starting to use gnucash. Been transferring information over from Quicken and I am getting things close to the way I would like.
>
> I am trying to download stock prices, but getting the following errors.
>
> Ernie at Ernie-Mac-mini ~ % /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
> Application Path /Applications/Gnucash.app/Contents/macOS/gnucash-cli
> * 11:59:02 WARN <gnc.engine> failed to load gncmod-backend-dbi from relative path
> * 11:59:02 ERROR <gnc.engine> required library gncmod-backend-dbi not found.
> * 11:59:02 WARN <gnc.engine> failed to load gncmod-backend-xml from relative path
> * 11:59:02 ERROR <gnc.engine> required library gncmod-backend-xml not found.
> * 11:59:02 ERROR <GLib-GIO> g_settings_schema_source_lookup: assertion 'source != NULL' failed
> * 11:59:02 ERROR <GLib-GIO> g_settings_new_full: assertion 'schema != NULL' failed
> * 11:59:02 WARN <gnc.app-utils.gsettings> [gnc_gsettings_get_settings_obj()] Ignoring attempt to access unknown gsettings schema org.gnucash.GnuCash.general
> zsh: segmentation fault /Applications/Gnucash.app/Contents/macOS/gnucash-cli -Q info
> Ernie at Ernie-Mac-mini ~ %
>
> As you can tell, I am on a Mac Mini running Sonoma 14.4.1 (latest?). Looks like I may be missing some files. Tried the wiki and other search engines but not finding any answers. How can I resolve the above?
>
> Thanks in advance for any assistance.
Not quite the latest macOS version, 14.5 dropped last week. That’s unlikely to matter.
The two files that it can’t find, libgncmon-backend-dbi.dylib and libgncmod-backend-xml.dylib, should be in /Applications/Gnucash.app/Contents/Rsources/lib/gnucash. If you have Xcode or Xcode command line tools installed and they’re present you can run e.g.
otool -L /Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib
The output should be
Applications/Gnucash.app/Contents/Resources/lib/gnucash/libgncmod-backend-dbi.dylib:
@executable_path/../Resources//lib/gnucash/libgncmod-backend-dbi.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libgnc-backend-sql.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libgnc-engine.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libdbi.3.dylib (compatibility version 4.0.0, current version 4.0.0)
@executable_path/../Resources/lib/libgnc-core-utils.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libboost_regex.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libboost_date_time.dylib (compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Resources/lib/libicui18n.73.dylib (compatibility version 73.0.0, current version 73.2.0)
@executable_path/../Resources/lib/libicuuc.73.dylib (compatibility version 73.0.0, current version 73.2.0)
@executable_path/../Resources/lib/libicudata.73.dylib (compatibility version 73.0.0, current version 73.2.0)
@executable_path/../Resources/lib/libgmodule-2.0.0.dylib (compatibility version 7601.0.0, current version 7601.3.0)
@executable_path/../Resources/lib/libglib-2.0.0.dylib (compatibility version 7601.0.0, current version 7601.3.0)
@executable_path/../Resources/lib/libintl.8.dylib (compatibility version 13.0.0, current version 13.0.0)
@executable_path/../Resources/lib/libgobject-2.0.0.dylib (compatibility version 7601.0.0, current version 7601.3.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
You can check that the application bundle is complete and matches its code signature with
spctl —assess -vv /Applications/Gnucash.app
It should report
/Applications/Gnucash.app/: accepted
source=Notarized Developer ID
origin=Developer ID Application: John D Ralls (Y9EHT5WMK7)
Regards,
John Ralls
More information about the gnucash-user
mailing list