GNOME Bugzilla – Bug 554650
Crashes on loading - Win 2K; glade logs "could not get system codepage name"
Last modified: 2018-06-29 22:10:55 UTC
Steps to reproduce: 1. Clean install 2. Run 3. Stack trace: * WARN <libglade> could not get system codepage name of 'C:\Program Files\gnucash\share\gnucash\glade\totd.glade' * CRIT <libglade> glade_xml_get_widget: assertion `self != NULL' failed * CRIT <GLib-GObject> g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed * CRIT <Gtk> gtk_window_set_transient_for: assertion `GTK_IS_WINDOW (window)' failed * CRIT <libglade> glade_xml_signal_autoconnect_full: assertion `self != NULL' failed * CRIT <Gtk> gtk_text_view_get_buffer: assertion `GTK_IS_TEXT_VIEW (text_view)' failed * CRIT <Gtk> gtk_text_buffer_set_text: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed * CRIT <libglade> glade_xml_get_widget: assertion `self != NULL' failed * CRIT <Gtk> gtk_toggle_button_set_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed * CRIT <gnc.gui> gnc_restore_window_size: assertion `window != NULL' failed * CRIT <Gtk> gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed * WARN <qof.engine> [guid_init()] only got 1603 bytes. The identifiers might not be very random. * WARN <gnc.app-util> Could not spawn perl: Failed to execute child process (No such file or directory) * WARN <libglade> could not get system codepage name of 'C:\Program Files\gnucash\share\gnucash\glade\newuser.glade' * CRIT <libglade> glade_xml_get_widget: assertion `self != NULL' failed * CRIT <libglade> glade_xml_get_widget: assertion `self != NULL' failed * CRIT <libglade> glade_xml_get_widget: assertion `self != NULL' failed * CRIT <libglade> glade_xml_get_widget: assertion `self != NULL' failed * CRIT <Gtk> gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed * CRIT <Gtk> gtk_dialog_run: assertion `GTK_IS_DIALOG (dialog)' failed * OTHER <gnc.gui> file ../../../src/gnome/dialog-new-user.c: line 122 (gnc_ui_new_user_dialog): should not be reached Other information:
Created attachment 119752 [details] backtrace under gdb
This is basically a cleaner duplicate of 553088, except with version 2.2.7. So one or the other can be closed. Andreas, Look at the "could not get system codepage name" error message in the trace file. Glade seems to fail because g_win32_locale_filename_from_utf8() returns NULL. See the Glade code here: http://code.bandit-project.org/trac/browser/trunk/iss/external/gnome/libglade/glade/glade-parser.c?rev=747#L1219 Not sure what could be causing this, though. Maybe an environment setting?
*** Bug 553088 has been marked as a duplicate of this bug. ***
@Bob: Can you give us more information about the language of your system? Which character encoding is used in the filesystem (if you can find out about it)? What is the LANG and LC_ALL environment variable value? What does the full path of the newuser.glade file look like, i.e. are there any non-ascii characters in there?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=554650. Please update any external references or bookmarks.