Opened 13 years ago

Closed 12 years ago

#28686 closed defect (worksforme)

gnucash @2.4.3_0+no_x11+without_hbci silently exits

Reported by: todmorrison (Tod Morrison) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: list-ener@…
Port: gnucash

Description

Gnucash (quartz version) 2.4.3 silently exits (i.e. without error) after displaying "Tip-of-the-day"

Change History (12)

comment:1 Changed 13 years ago by todmorrison (Tod Morrison)

With "--logto stdout" option I get:

gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 23:52:25  WARN <Gtk> Window0: missing action Window0Action
* 23:52:25  WARN <Gtk> Window1: missing action Window1Action
* 23:52:25  WARN <Gtk> Window2: missing action Window2Action
* 23:52:25  WARN <Gtk> Window3: missing action Window3Action
* 23:52:25  WARN <Gtk> Window4: missing action Window4Action
* 23:52:25  WARN <Gtk> Window5: missing action Window5Action
* 23:52:25  WARN <Gtk> Window6: missing action Window6Action
* 23:52:25  WARN <Gtk> Window7: missing action Window7Action
* 23:52:25  WARN <Gtk> Window8: missing action Window8Action
* 23:52:25  WARN <Gtk> Window9: missing action Window9Action
* 23:52:25  WARN <gnc.module> Could not locate module gnucash/app-utils interface v.0
* 23:52:25  WARN <gnc.module> Could not locate module gnucash/engine interface v.0
* 23:52:25  WARN <gnc.module> Could not locate module gnucash/register/ledger-core interface v.0
* 23:52:25  WARN <gnc.module> Could not locate module gnucash/register/register-core interface v.0
* 23:52:25  WARN <gnc.module> Could not locate module gnucash/register/register-gnome interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/import-export/qif-import interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/report/report-system interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/report/stylesheets interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/report/standard-reports interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/report/utility-reports interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/report/locale-specific/us interface v.0
* 23:52:26  WARN <gnc.module> Could not locate module gnucash/report/report-gnome interface v.0
* 23:52:26  WARN <gnc.bin> GnuCash engine failed to initialize.  Exiting.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to dports@…

comment:3 Changed 13 years ago by drkp (Dan Ports)

Status: newassigned

Is this a regression from 2.4.2?

comment:4 Changed 13 years ago by todmorrison (Tod Morrison)

I don't believe it is a regression, but I'm not sure I tested under 2.4.2.

comment:5 Changed 13 years ago by drkp (Dan Ports)

I think I only tested the quartz variant for 2.4.0, so let me give it a try with 2.4.3...

(Unfortunately, it'll take me some time to dust off a +quartz install of gtk...)

comment:6 Changed 13 years ago by drkp (Dan Ports)

I just built a +quartz +no_x11 version of gnucash @2.4.3 and it seems to be working fine, so we'll have to figure out what the difference is...

comment:7 Changed 13 years ago by todmorrison (Tod Morrison)

I just did a complete rebuild of gnucash and its dependencies (using "port -vf upgrade --force gnucash), and am still having the same problem. I did have a problem with configure and had to change the "without_hbci" variant statement to delete "--enable-aqbanking":

variant without_hbci description {Disables HBCI support} {

depends_lib-delete port:aqbanking configure.args-delete --enable-hbci --enable-aqbanking

#

configure.args-append --disable-hbci

}

Otherwise, it must be something different about my setup, but I'm not sure where to look (trying to use dtruss, it seems like it might be something with where guile is looking for gnucash modules, but I'm not certain nor would I know how to fix it).

comment:8 Changed 13 years ago by drkp (Dan Ports)

Hmm. Actually, I think that error message appears when it's trying to find compiled modules, not guile ones. For example, one of them is in /opt/local/lib/gnucash/libgncmod-report-gnome.dylib. (You should check first that that's actually there!)

gnucash sets up some environment variables when it starts so that it'll know where to look for the modules; it's possible that it's getting something wrong. This is different in 2.4 than it was in 2.2; previously gnucash was a wrapper script that set up the environment variables; now the binary does it itself.

comment:9 Changed 13 years ago by list-ener@…

I have exactly the same problem with exactly the same log output with gnucash 2.4.4

All the modules that it cannot locate are in fact in /opt/local/lib/gnucash/.

The environment variable GNC_MODULE_PATH should help, see http://svn.gnucash.org/docs/head/gnc-module_8c-source.html but no combination I tried worked:

$ gnucash --logto stdout --debug
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 15:02:01  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
* 15:02:01  WARN <Gtk> Window0: missing action Window0Action
* 15:02:01  WARN <Gtk> Window1: missing action Window1Action
* 15:02:01  WARN <Gtk> Window2: missing action Window2Action
* 15:02:01  WARN <Gtk> Window3: missing action Window3Action
* 15:02:01  WARN <Gtk> Window4: missing action Window4Action
* 15:02:01  WARN <Gtk> Window5: missing action Window5Action
* 15:02:01  WARN <Gtk> Window6: missing action Window6Action
* 15:02:01  WARN <Gtk> Window7: missing action Window7Action
* 15:02:01  WARN <Gtk> Window8: missing action Window8Action
* 15:02:01  WARN <Gtk> Window9: missing action Window9Action
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/app-utils interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/engine interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/register/ledger-core interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/register/register-core interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/register/register-gnome interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/import-export/qif-import interface v.0
* 15:02:01 MESSG <gnc.module> Could not locate optional module gnucash/import-export/ofx interface v.0
* 15:02:01 MESSG <gnc.module> Could not locate optional module gnucash/import-export/csv interface v.0
* 15:02:01 MESSG <gnc.module> Could not locate optional module gnucash/import-export/log-replay interface v.0
* 15:02:01 MESSG <gnc.module> Could not locate optional module gnucash/import-export/aqbanking interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/report/report-system interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/report/stylesheets interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/report/standard-reports interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/report/utility-reports interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/report/locale-specific/us interface v.0
* 15:02:01  WARN <gnc.module> Could not locate module gnucash/report/report-gnome interface v.0
* 15:02:01 MESSG <gnc.module> Could not locate optional module gnucash/business-gnome interface v.0
* 15:02:01 MESSG <gnc.module> Could not locate optional module gnucash/gtkmm interface v.0
* 15:02:01  WARN <gnc.bin> GnuCash engine failed to initialize.  Exiting.

$ GNC_MODULE_PATH= gnucash --logto stdout --debug
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 15:02:27  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
* 15:02:27  WARN <Gtk> Window0: missing action Window0Action
* 15:02:27  WARN <Gtk> Window1: missing action Window1Action
* 15:02:27  WARN <Gtk> Window2: missing action Window2Action
* 15:02:27  WARN <Gtk> Window3: missing action Window3Action
* 15:02:27  WARN <Gtk> Window4: missing action Window4Action
* 15:02:27  WARN <Gtk> Window5: missing action Window5Action
* 15:02:27  WARN <Gtk> Window6: missing action Window6Action
* 15:02:27  WARN <Gtk> Window7: missing action Window7Action
* 15:02:27  WARN <Gtk> Window8: missing action Window8Action
* 15:02:27  WARN <Gtk> Window9: missing action Window9Action
* 15:02:27  WARN <gnc.module> Could not locate module gnucash/app-utils interface v.0
* 15:02:27  WARN <gnc.module> Could not locate module gnucash/engine interface v.0
* 15:02:27  WARN <gnc.module> Could not locate module gnucash/register/ledger-core interface v.0
* 15:02:27  WARN <gnc.module> Could not locate module gnucash/register/register-core interface v.0
* 15:02:27  WARN <gnc.module> Could not locate module gnucash/register/register-gnome interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/import-export/qif-import interface v.0
* 15:02:28 MESSG <gnc.module> Could not locate optional module gnucash/import-export/ofx interface v.0
* 15:02:28 MESSG <gnc.module> Could not locate optional module gnucash/import-export/csv interface v.0
* 15:02:28 MESSG <gnc.module> Could not locate optional module gnucash/import-export/log-replay interface v.0
* 15:02:28 MESSG <gnc.module> Could not locate optional module gnucash/import-export/aqbanking interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/report/report-system interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/report/stylesheets interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/report/standard-reports interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/report/utility-reports interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/report/locale-specific/us interface v.0
* 15:02:28  WARN <gnc.module> Could not locate module gnucash/report/report-gnome interface v.0
* 15:02:28 MESSG <gnc.module> Could not locate optional module gnucash/business-gnome interface v.0
* 15:02:28 MESSG <gnc.module> Could not locate optional module gnucash/gtkmm interface v.0
* 15:02:28  WARN <gnc.bin> GnuCash engine failed to initialize.  Exiting.

$ GNC_MODULE_PATH="/opt/local/lib/gnucash" gnucash --logto stdout --debug
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 15:02:55  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
* 15:02:55  WARN <Gtk> Window0: missing action Window0Action
* 15:02:55  WARN <Gtk> Window1: missing action Window1Action
* 15:02:55  WARN <Gtk> Window2: missing action Window2Action
* 15:02:55  WARN <Gtk> Window3: missing action Window3Action
* 15:02:55  WARN <Gtk> Window4: missing action Window4Action
* 15:02:55  WARN <Gtk> Window5: missing action Window5Action
* 15:02:55  WARN <Gtk> Window6: missing action Window6Action
* 15:02:55  WARN <Gtk> Window7: missing action Window7Action
* 15:02:55  WARN <Gtk> Window8: missing action Window8Action
* 15:02:55  WARN <Gtk> Window9: missing action Window9Action
* 15:02:55  INFO <qof.engine> [init_from_file] guid_init got 512 bytes from /dev/urandom
* 15:02:55  INFO <qof.engine> [init_from_file] guid_init got 2888 bytes from /etc/passwd
* 15:02:55  INFO <qof.engine> [guid_init] got 18035 bytes
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"

$ GNC_MODULE_PATH="/opt/local/lib" gnucash --logto stdout --debug
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 15:03:30  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
* 15:03:30  WARN <Gtk> Window0: missing action Window0Action
* 15:03:30  WARN <Gtk> Window1: missing action Window1Action
* 15:03:30  WARN <Gtk> Window2: missing action Window2Action
* 15:03:30  WARN <Gtk> Window3: missing action Window3Action
* 15:03:30  WARN <Gtk> Window4: missing action Window4Action
* 15:03:30  WARN <Gtk> Window5: missing action Window5Action
* 15:03:30  WARN <Gtk> Window6: missing action Window6Action
* 15:03:30  WARN <Gtk> Window7: missing action Window7Action
* 15:03:30  WARN <Gtk> Window8: missing action Window8Action
* 15:03:30  WARN <Gtk> Window9: missing action Window9Action
* 15:03:30  WARN <gnc.module> Could not locate module gnucash/app-utils interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/engine interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/register/ledger-core interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/register/register-core interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/register/register-gnome interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/import-export/qif-import interface v.0
* 15:03:31 MESSG <gnc.module> Could not locate optional module gnucash/import-export/ofx interface v.0
* 15:03:31 MESSG <gnc.module> Could not locate optional module gnucash/import-export/csv interface v.0
* 15:03:31 MESSG <gnc.module> Could not locate optional module gnucash/import-export/log-replay interface v.0
* 15:03:31 MESSG <gnc.module> Could not locate optional module gnucash/import-export/aqbanking interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/report/report-system interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/report/stylesheets interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/report/standard-reports interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/report/utility-reports interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/report/locale-specific/us interface v.0
* 15:03:31  WARN <gnc.module> Could not locate module gnucash/report/report-gnome interface v.0
* 15:03:31 MESSG <gnc.module> Could not locate optional module gnucash/business-gnome interface v.0
* 15:03:31 MESSG <gnc.module> Could not locate optional module gnucash/gtkmm interface v.0
* 15:03:31  WARN <gnc.bin> GnuCash engine failed to initialize.  Exiting.

$ GNC_MODULE_PATH="/opt/local/lib:/opt/local/lib/gnucash" gnucash --logto stdout --debug
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 15:04:37  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
* 15:04:37  WARN <Gtk> Window0: missing action Window0Action
* 15:04:37  WARN <Gtk> Window1: missing action Window1Action
* 15:04:37  WARN <Gtk> Window2: missing action Window2Action
* 15:04:37  WARN <Gtk> Window3: missing action Window3Action
* 15:04:37  WARN <Gtk> Window4: missing action Window4Action
* 15:04:37  WARN <Gtk> Window5: missing action Window5Action
* 15:04:37  WARN <Gtk> Window6: missing action Window6Action
* 15:04:37  WARN <Gtk> Window7: missing action Window7Action
* 15:04:37  WARN <Gtk> Window8: missing action Window8Action
* 15:04:37  WARN <Gtk> Window9: missing action Window9Action
* 15:04:37  INFO <qof.engine> [init_from_file] guid_init got 512 bytes from /dev/urandom
* 15:04:37  INFO <qof.engine> [init_from_file] guid_init got 2888 bytes from /etc/passwd
* 15:04:37  INFO <qof.engine> [guid_init] got 18035 bytes
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"

comment:10 Changed 13 years ago by list-ener@…

Cc: list-ener@… added

Cc Me!

comment:11 Changed 13 years ago by todmorrison (Tod Morrison)

I saw and have played with GNC_MODULE_PATH, but it doesn't seem to change anything. I can change (but not fix) the problem by setting:

GUILE_LOAD_PATH=/opt/local/share/gnucash/guile-modules:/opt/local/share/guile

In which case, my errors are :

  • 10:40:57 WARN <Gtk> Window0: missing action Window0Action
  • 10:40:57 WARN <Gtk> Window1: missing action Window1Action
  • 10:40:57 WARN <Gtk> Window2: missing action Window2Action
  • 10:40:57 WARN <Gtk> Window3: missing action Window3Action
  • 10:40:57 WARN <Gtk> Window4: missing action Window4Action
  • 10:40:57 WARN <Gtk> Window5: missing action Window5Action
  • 10:40:57 WARN <Gtk> Window6: missing action Window6Action
  • 10:40:57 WARN <Gtk> Window7: missing action Window7Action
  • 10:40:57 WARN <Gtk> Window8: missing action Window8Action
  • 10:40:57 WARN <Gtk> Window9: missing action Window9Action

ERROR: In procedure dynamic-link: ERROR: file: "libgnc-core-utils", message: "file not found"

I have dtruss output from both cases if it would be helpful to anyone.

comment:12 Changed 12 years ago by drkp (Dan Ports)

Resolution: worksforme
Status: assignedclosed

I hate to close this without any more satisfying resolution, but as I haven't been able to reproduce this at all there's not much I can do...

Note: See TracTickets for help on using tickets.