After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567953 - criticals when opening gnumeric file with guppi graphs
criticals when opening gnumeric file with guppi graphs
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export other
git master
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-01-16 09:14 UTC by sum1
Modified: 2010-07-31 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2009-01-16 09:14:20 UTC
Version: r17071
OS: Ubuntu Intrepid

Steps to reproduce
- Import Attachment 6201 [details] (.gnumeric file) from Bug 66666


Console output:

Unexpected element 'gmr:Vectors' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph
Unexpected element 'graph:Graph' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph

GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Unexpected element 'gmr:Vectors' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph
Unexpected element 'graph:Graph' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph

GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Unexpected element 'gmr:Vectors' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph
Unexpected element 'graph:Graph' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph

GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Unexpected element 'gmr:Vectors' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph
Unexpected element 'graph:Graph' in state : 
	Workbook -> Sheets -> Sheet -> Objects -> GnmGraph

GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed


Backtrace:

  • #0 g_log
    from /usr/lib/libglib-2.0.so.0
  • #1 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #2 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #3 sog_xml_finish
    at sheet-object-graph.c line 369
  • #4 go_sax_parser_done
    at gog-object-xml.c line 592
  • #5 gsf_xml_in_ext_free
    at gsf-libxml.c line 760
  • #6 gsf_xml_in_end_element
    at gsf-libxml.c line 803
  • #7 ??
    from /usr/lib/libxml2.so.2
  • #8 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #9 xmlParseContent
    from /usr/lib/libxml2.so.2
  • #10 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #11 xmlParseContent
    from /usr/lib/libxml2.so.2
  • #12 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #13 xmlParseContent
    from /usr/lib/libxml2.so.2
  • #14 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #15 xmlParseContent
    from /usr/lib/libxml2.so.2
  • #16 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #17 xmlParseDocument
    from /usr/lib/libxml2.so.2
  • #18 gsf_xml_in_doc_parse
    at gsf-libxml.c line 1180
  • #19 gnm_xml_file_open
    at xml-sax-read.c line 2689
  • #20 go_file_opener_open_real
    at file.c line 87
  • #21 go_file_opener_open
    at file.c line 299
  • #22 wb_view_new_from_input
    at workbook-view.c line 1230
  • #23 wb_view_new_from_uri
    at workbook-view.c line 1284
  • #24 main
    at main-application.c line 444

Comment 1 Jean Bréfort 2009-01-16 12:24:49 UTC
This file contains guppi graphs that we do not import anymore, although GnmGraph is still handled in xml-sax-red.c. I don't know what should be done.
Comment 2 Andreas J. Guelzow 2009-06-27 07:00:14 UTC
I think we should be able to recognize that they are Guppi graphs and then load the into some corresponding goffice graph.
Comment 3 Morten Welinder 2010-07-30 15:27:49 UTC
> I think we should be able to recognize that they are Guppi graphs and then load
> the into some corresponding goffice graph.

Realistically we can't be talking about a lot of files.  It makes more
sense to help any victims out there in converting by hand.

I think the files would have to be from 1.0.x or something like it.
Comment 4 Jean Bréfort 2010-07-30 15:53:18 UTC
Actually, it should be possible to import Guppi graphs, at least approximately.
Comment 5 Jean Bréfort 2010-07-31 14:28:24 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.

Not sure that the graphs have the same appearance than in 1.0.x though.