Hi Bob, I've been seeing this for quite some time now. Don't know where exactly it started. But it's definitely not local to you.
Geert On donderdag 17 augustus 2017 13:12:34 CEST Robert Fewell wrote: > Just built with the new structure and I see the following in the trace > file... > > * 12:03:29 WARN <gnc.module> Could not locate module > gnucash/plugins/bi_import interface v.0 > * 12:03:29 CRIT <gnc.gui.search> gnc_search_core_register_type: assertion > 'typeTable' failed > > The first one was easy, I had a config.user file with the load comand for > bi_import, removed it and that one cleared, I assume that is not required > any more. > > The second comes from gnucash/gnome/top-level.c line 383 trying to register > gnc_search_owner_new > > Just wondering if other people see this or just local to me ? > > Bob > > On 17 August 2017 at 09:06, Geert Janssens <[email protected]> > > wrote: > > On donderdag 17 augustus 2017 10:02:02 CEST John Ralls wrote: > > > Nope, the problem is at > > > https://github.com/Gnucash/gnucash/blob/master/ > > > > libgnucash/engine/qof-backen > > > > > d.cpp#L141: > > > <https://github.com/Gnucash/gnucash/blob/master/ > > > > libgnucash/engine/qof-backe > > > > > nd.cpp#L141:> /* Darwin modules can have either .so or .dylib for a > > > > suffix > > > > > */ > > > > > > if (!g_file_test (fullpath, G_FILE_TEST_EXISTS) && > > > > > > g_strcmp0 (G_MODULE_SUFFIX, "so") == 0) > > > > > > { > > > > > > auto modname = g_strdup_printf ("lib%s.dylib", module_name); > > > g_free (fullpath); > > > fullpath = g_build_filename (directory, modname, NULL); > > > g_free (modname); > > > > > > } > > > auto backend = g_module_open (fullpath, G_MODULE_BIND_LAZY); > > > > > > follpath was "dbi/libgncmod-backend-dbi.dylib which exists only in an > > > autotools build and only before installation. Having directory="gnucash" > > > > is > > > > > correct after installation and always in a Cmake build. This will > > > > probably > > > > > break tests on an autotools build on Macs. I may decide I don't care and > > > that only CMake is supported there. > > > > Ah, I missed that. So the solution is simple IMO: fix the second creation > > of > > fullpath. Have it use absdir instead of directory. Of course that means > > absdir > > can only be freed after the Darwin test. I'll add push a change for you to > > test in a minute. > > > > Geert > > _______________________________________________ > > gnucash-devel mailing list > > [email protected] > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
