Re: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
On Fri, Mar 20, 2020 at 11:13:01AM -0500, Albert Chin wrote: > On Fri, Mar 20, 2020 at 10:43:31AM -0400, Morten Welinder wrote: > > It looks like you get two sets of plugins being registered. > > > > Either you have multiple copies of goffice or gnumeric installed, or > > else something is weird with your plugin setup. > > Ok, I'll do some digging. Thanks. Where do the search paths for > plugins get set? Ok, found the problem. I had goffice_libdir and goffice_externplugindir set to the same directory. -- albert chin (ch...@thewrittenword.com) ___ gnumeric-list mailing list gnumeric-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnumeric-list
Re: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
On Fri, Mar 20, 2020 at 10:43:31AM -0400, Morten Welinder wrote: > It looks like you get two sets of plugins being registered. > > Either you have multiple copies of goffice or gnumeric installed, or > else something is weird with your plugin setup. Ok, I'll do some digging. Thanks. Where do the search paths for plugins get set? -- albert chin (ch...@thewrittenword.com) ___ gnumeric-list mailing list gnumeric-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnumeric-list
Re: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
It looks like you get two sets of plugins being registered. Either you have multiple copies of goffice or gnumeric installed, or else something is weird with your plugin setup. Morten ___ gnumeric-list mailing list gnumeric-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnumeric-list
go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
Hi. I built gnumeric 1.12.46 and dependencies on RHEL6, out-of-tree (i.e. not in /usr). When I run ssconvert, i get back "go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed" warnings even though the conversion does work: $ ssconvert -v -S Test.xlsx '%s.txt' ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ... Using exporter Gnumeric_stf:stf_assistant ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ... I reran with GO_DEBUG=rsm: $ GO_DEBUG=rsm ssconvert -v -S Test.xlsx '%s.txt' Registering resource [go:graph/gog-3d-box-prefs.ui] Registering resource [go:graph/gog-axis-prefs.ui] Registering resource [go:graph/gog-axis-color-map-prefs.ui] Registering resource [go:graph/gog-color-scale-prefs.ui] Registering resource [go:graph/gog-equation-prefs.ui] Registering resource [go:graph/gog-error-bar-prefs.ui] Registering resource [go:graph/gog-graph-prefs.ui] Registering resource [go:graph/gog-guru-type-selector.ui] Registering resource [go:graph/gog-guru.ui] Registering resource [go:graph/gog-object-prefs.ui] Registering resource [go:graph/gog-plot-prefs.ui] Registering resource [go:graph/gog-reg-curve-prefs.ui] Registering resource [go:graph/gog-reg-eqn-prefs.ui] Registering resource [go:graph/gog-series-labels-prefs.ui] Registering resource [go:graph/gog-series-prefs.ui] Registering resource [go:graph/gog-theme-editor.ui] Registering resource [go:graph/new-theme-prefs.ui] Registering resource [go:gtk/go-3d-rotation-sel.ui] Registering resource [go:gtk/go-arrow-sel.ui] Registering resource [go:gtk/go-font-sel.ui] Registering resource [go:gtk/go-format-sel.ui] Registering resource [go:gtk/go-image-save-dialog-extra.ui] Registering resource [go:gtk/go-image-sel.ui] Registering resource [go:gtk/go-rotation-sel.ui] Registering resource [go:utils/go-style-prefs.ui] Registering resource [go:gtk/goffice-old.css] Registering resource [go:gtk/goffice.css] Registering resource [go:utils/svg-patterns.xml] Registering resource [go:utils/unknown_image.png] Registering resource [go:graph/bar-none.png] Registering resource [go:graph/bar-vplus.png] Registering resource [go:graph/bar-vminus.png] Registering resource [go:graph/bar-vboth.png] Registering resource [go:graph/bar-hplus.png] Registering resource [go:graph/bar-hminus.png] Registering resource [go:graph/bar-hboth.png] Registering resource [go:plot_radar/radar.xpm] Registering resource [go:plot_radar/polar.xpm] Registering resource [go:plot_distrib/dist.xpm] Registering resource [go:plot_surface/surface.xpm] Registering resource [go:plot_surface/contour.xpm] Registering resource [go:plot_surface/matrix.xpm] Registering resource [go:plot_pie/pie.xpm] Registering resource [go:plot_pie/doughnut.xpm] Registering resource [go:plot_xy/bubble.xpm] Registering resource [go:plot_xy/color.xpm] Registering resource [go:plot_xy/dropbar.xpm] Registering resource [go:plot_xy/minmax.xpm] Registering resource [go:plot_xy/scatter.xpm] Registering resource [go:plot_barcol/linegraph.xpm] Registering resource [go:plot_barcol/area.xpm] Registering resource [go:plot_barcol/bar.xpm] Registering resource [go:plot_barcol/column.xpm] Registering resource [go:plot_barcol/dropbar.xpm] Registering resource [go:plot_barcol/minmax.xpm] ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed **
Re: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
On Thu, Mar 19, 2020 at 09:21:00PM -0400, Morten Welinder wrote: > Could you please try adding a line > > g_printerr ("id=%s\n", id ? id : "-"); > > just before the failing assertion? > > That should tell us the id that is duplicated. With the above change, we have: $ ssconvert -v -S Test.xlsx '%s.txt' id=go:graph/gog-3d-box-prefs.ui Registering resource [go:graph/gog-3d-box-prefs.ui] id=go:graph/gog-axis-prefs.ui Registering resource [go:graph/gog-axis-prefs.ui] id=go:graph/gog-axis-color-map-prefs.ui Registering resource [go:graph/gog-axis-color-map-prefs.ui] id=go:graph/gog-color-scale-prefs.ui Registering resource [go:graph/gog-color-scale-prefs.ui] id=go:graph/gog-equation-prefs.ui Registering resource [go:graph/gog-equation-prefs.ui] id=go:graph/gog-error-bar-prefs.ui Registering resource [go:graph/gog-error-bar-prefs.ui] id=go:graph/gog-graph-prefs.ui Registering resource [go:graph/gog-graph-prefs.ui] id=go:graph/gog-guru-type-selector.ui Registering resource [go:graph/gog-guru-type-selector.ui] id=go:graph/gog-guru.ui Registering resource [go:graph/gog-guru.ui] id=go:graph/gog-object-prefs.ui Registering resource [go:graph/gog-object-prefs.ui] id=go:graph/gog-plot-prefs.ui Registering resource [go:graph/gog-plot-prefs.ui] id=go:graph/gog-reg-curve-prefs.ui Registering resource [go:graph/gog-reg-curve-prefs.ui] id=go:graph/gog-reg-eqn-prefs.ui Registering resource [go:graph/gog-reg-eqn-prefs.ui] id=go:graph/gog-series-labels-prefs.ui Registering resource [go:graph/gog-series-labels-prefs.ui] id=go:graph/gog-series-prefs.ui Registering resource [go:graph/gog-series-prefs.ui] id=go:graph/gog-theme-editor.ui Registering resource [go:graph/gog-theme-editor.ui] id=go:graph/new-theme-prefs.ui Registering resource [go:graph/new-theme-prefs.ui] id=go:gtk/go-3d-rotation-sel.ui Registering resource [go:gtk/go-3d-rotation-sel.ui] id=go:gtk/go-arrow-sel.ui Registering resource [go:gtk/go-arrow-sel.ui] id=go:gtk/go-font-sel.ui Registering resource [go:gtk/go-font-sel.ui] id=go:gtk/go-format-sel.ui Registering resource [go:gtk/go-format-sel.ui] id=go:gtk/go-image-save-dialog-extra.ui Registering resource [go:gtk/go-image-save-dialog-extra.ui] id=go:gtk/go-image-sel.ui Registering resource [go:gtk/go-image-sel.ui] id=go:gtk/go-rotation-sel.ui Registering resource [go:gtk/go-rotation-sel.ui] id=go:utils/go-style-prefs.ui Registering resource [go:utils/go-style-prefs.ui] id=go:gtk/goffice-old.css Registering resource [go:gtk/goffice-old.css] id=go:gtk/goffice.css Registering resource [go:gtk/goffice.css] id=go:utils/svg-patterns.xml Registering resource [go:utils/svg-patterns.xml] id=go:utils/unknown_image.png Registering resource [go:utils/unknown_image.png] id=go:graph/bar-none.png Registering resource [go:graph/bar-none.png] id=go:graph/bar-vplus.png Registering resource [go:graph/bar-vplus.png] id=go:graph/bar-vminus.png Registering resource [go:graph/bar-vminus.png] id=go:graph/bar-vboth.png Registering resource [go:graph/bar-vboth.png] id=go:graph/bar-hplus.png Registering resource [go:graph/bar-hplus.png] id=go:graph/bar-hminus.png Registering resource [go:graph/bar-hminus.png] id=go:graph/bar-hboth.png Registering resource [go:graph/bar-hboth.png] id=go:plot_radar/radar.xpm Registering resource [go:plot_radar/radar.xpm] id=go:plot_radar/polar.xpm Registering resource [go:plot_radar/polar.xpm] id=go:plot_distrib/dist.xpm Registering resource [go:plot_distrib/dist.xpm] id=go:plot_surface/surface.xpm Registering resource [go:plot_surface/surface.xpm] id=go:plot_surface/contour.xpm Registering resource [go:plot_surface/contour.xpm] id=go:plot_surface/matrix.xpm Registering resource [go:plot_surface/matrix.xpm] id=go:plot_pie/pie.xpm Registering resource [go:plot_pie/pie.xpm] id=go:plot_pie/doughnut.xpm Registering resource [go:plot_pie/doughnut.xpm] id=go:plot_xy/bubble.xpm Registering resource [go:plot_xy/bubble.xpm] id=go:plot_xy/color.xpm Registering resource [go:plot_xy/color.xpm] id=go:plot_xy/dropbar.xpm Registering resource [go:plot_xy/dropbar.xpm] id=go:plot_xy/minmax.xpm Registering resource [go:plot_xy/minmax.xpm] id=go:plot_xy/scatter.xpm Registering resource [go:plot_xy/scatter.xpm] id=go:plot_barcol/linegraph.xpm Registering resource [go:plot_barcol/linegraph.xpm] id=go:plot_barcol/area.xpm Registering resource [go:plot_barcol/area.xpm] id=go:plot_barcol/bar.xpm Registering resource [go:plot_barcol/bar.xpm] id=go:plot_barcol/column.xpm Registering resource [go:plot_barcol/column.xpm] id=go:plot_barcol/dropbar.xpm Registering resource [go:plot_barcol/dropbar.xpm] id=go:plot_barcol/minmax.xpm Registering resource [go:plot_barcol/minmax.xpm] id=go:plot_radar/radar.xpm ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:15833): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed id=go:plot_distrib/dist.xpm ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:15833): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed
Re: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
Could you please try adding a line g_printerr ("id=%s\n", id ? id : "-"); just before the failing assertion? That should tell us the id that is duplicated. Thanks, M. ___ gnumeric-list mailing list gnumeric-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnumeric-list
go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed assertions
Hi. I built gnumeric 1.12.46 and dependencies on RHEL6, out-of-tree (i.e. not in /usr). When I run ssconvert, i get back "go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed" warnings even though the conversion does work: $ ssconvert -v -S Test.xlsx '%s.txt' ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:21738): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ... Using exporter Gnumeric_stf:stf_assistant ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23627): CRITICAL **: go_rsm_unregister_file: assertion 'g_hash_table_lookup (rsm, id) != NULL' failed ... I reran with GO_DEBUG=rsm: $ GO_DEBUG=rsm ssconvert -v -S Test.xlsx '%s.txt' Registering resource [go:graph/gog-3d-box-prefs.ui] Registering resource [go:graph/gog-axis-prefs.ui] Registering resource [go:graph/gog-axis-color-map-prefs.ui] Registering resource [go:graph/gog-color-scale-prefs.ui] Registering resource [go:graph/gog-equation-prefs.ui] Registering resource [go:graph/gog-error-bar-prefs.ui] Registering resource [go:graph/gog-graph-prefs.ui] Registering resource [go:graph/gog-guru-type-selector.ui] Registering resource [go:graph/gog-guru.ui] Registering resource [go:graph/gog-object-prefs.ui] Registering resource [go:graph/gog-plot-prefs.ui] Registering resource [go:graph/gog-reg-curve-prefs.ui] Registering resource [go:graph/gog-reg-eqn-prefs.ui] Registering resource [go:graph/gog-series-labels-prefs.ui] Registering resource [go:graph/gog-series-prefs.ui] Registering resource [go:graph/gog-theme-editor.ui] Registering resource [go:graph/new-theme-prefs.ui] Registering resource [go:gtk/go-3d-rotation-sel.ui] Registering resource [go:gtk/go-arrow-sel.ui] Registering resource [go:gtk/go-font-sel.ui] Registering resource [go:gtk/go-format-sel.ui] Registering resource [go:gtk/go-image-save-dialog-extra.ui] Registering resource [go:gtk/go-image-sel.ui] Registering resource [go:gtk/go-rotation-sel.ui] Registering resource [go:utils/go-style-prefs.ui] Registering resource [go:gtk/goffice-old.css] Registering resource [go:gtk/goffice.css] Registering resource [go:utils/svg-patterns.xml] Registering resource [go:utils/unknown_image.png] Registering resource [go:graph/bar-none.png] Registering resource [go:graph/bar-vplus.png] Registering resource [go:graph/bar-vminus.png] Registering resource [go:graph/bar-vboth.png] Registering resource [go:graph/bar-hplus.png] Registering resource [go:graph/bar-hminus.png] Registering resource [go:graph/bar-hboth.png] Registering resource [go:plot_radar/radar.xpm] Registering resource [go:plot_radar/polar.xpm] Registering resource [go:plot_distrib/dist.xpm] Registering resource [go:plot_surface/surface.xpm] Registering resource [go:plot_surface/contour.xpm] Registering resource [go:plot_surface/matrix.xpm] Registering resource [go:plot_pie/pie.xpm] Registering resource [go:plot_pie/doughnut.xpm] Registering resource [go:plot_xy/bubble.xpm] Registering resource [go:plot_xy/color.xpm] Registering resource [go:plot_xy/dropbar.xpm] Registering resource [go:plot_xy/minmax.xpm] Registering resource [go:plot_xy/scatter.xpm] Registering resource [go:plot_barcol/linegraph.xpm] Registering resource [go:plot_barcol/area.xpm] Registering resource [go:plot_barcol/bar.xpm] Registering resource [go:plot_barcol/column.xpm] Registering resource [go:plot_barcol/dropbar.xpm] Registering resource [go:plot_barcol/minmax.xpm] ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed ** (/util/gnumeric/gnumeric-1.12.46/bin/ssconvert:23648): CRITICAL **: go_rsm_register_file: assertion 'g_hash_table_lookup (rsm, id) == NULL' failed **