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 563601 - Format "0.0E-00" is invalid
Format "0.0E-00" is invalid
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: General
0.6.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-12-07 21:39 UTC by Rincebrain
Modified: 2008-12-08 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Spreadsheet which misbehaves (348.50 KB, application/vnd.ms-excel)
2008-12-08 04:17 UTC, Rincebrain
Details

Description Rincebrain 2008-12-07 21:39:11 UTC
Gnumeric 1.8.3, via Ubuntu Intrepid.

I have a sheet used for calculating probabilities based on a hidden markov model - most of the contents are derived from a set of nine cells with values in the top-left of the sheet.

In Gnumeric, the (default/initial) values are correctly used to generate the rest of the sheet's payload, but I am unable to view these values - if I input a value into the cell, it's not visible in the display, but is visible if I click the cell and look at the equation view (see the second screenshot below, where I've input .1 to the highlighted cell, pressed enter, then re-clicked the cell)
http://rercola.acm.jhu.edu/gnumeric_hmm_gnu.png
http://rercola.acm.jhu.edu/gnumeric_hmm_gnu2.png

Compare and contrast with the behavior of the program which generated the sheet (Excel 2003) - the second screenshot below, again, is after I've input .1 into the highlighted cell, pressed enter, and then re-selected it.
http://rercola.acm.jhu.edu/gnumeric_hmm_excel.png
http://rercola.acm.jhu.edu/gnumeric_hmm_excel2.png

I will post a copy of the spreadsheet as soon as I've gotten permission from the appropriate person. :)
Comment 1 Andreas J. Guelzow 2008-12-08 03:07:03 UTC
What happens if you change the font for all cells?
Comment 2 Rincebrain 2008-12-08 04:17:30 UTC
Created attachment 124136 [details]
Spreadsheet which misbehaves

Spreadsheet which misbehaves and doesn't display the default values either in equation view or spreadsheet view in [C-E][11-16].
Comment 3 Rincebrain 2008-12-08 04:18:08 UTC
No effect (on those cells - the cells all change font, obviously, but the contents is no more visible.)

I've received permission, so I've attached the spreadsheet above.
Comment 4 Andreas J. Guelzow 2008-12-08 06:25:01 UTC
Opening the attached spreadsheet in current svn even causes a crash! So I am rainsing the severity.
Comment 5 Andreas J. Guelzow 2008-12-08 06:27:41 UTC


  • #0 strchr
    from /lib/i686/cmov/libc.so.6
  • #1 IA__g_param_spec_pool_lookup
    at /tmp/buildd/glib2.0-2.16.6/gobject/gparam.c line 765
  • #2 IA__g_object_set_valist
    at /tmp/buildd/glib2.0-2.16.6/gobject/gobject.c line 1092
  • #3 IA__g_object_set
    at /tmp/buildd/glib2.0-2.16.6/gobject/gobject.c line 1212
  • #4 xl_chart_read_3d
    at ms-chart.c line 275
  • #5 ms_excel_chart_read
    at ms-chart.c line 3551
  • #6 ms_excel_chart_read_BOF
    at ms-chart.c line 3770
  • #7 ms_read_OBJ
    at ms-obj.c line 1279
  • #8 ms_escher_read_ClientData
    at ms-escher.c line 1993
  • #9 ms_escher_read_container
    at ms-escher.c line 2099
  • #10 ms_escher_read_SpContainer
    at ms-escher.c line 507
  • #11 ms_escher_read_container
    at ms-escher.c line 2099
  • #12 ms_escher_read_SpgrContainer
    at ms-escher.c line 1933
  • #13 ms_escher_read_container
    at ms-escher.c line 2099
  • #14 ms_escher_read_DgContainer
    at ms-escher.c line 1938
  • #15 ms_escher_read_container
    at ms-escher.c line 2099
  • #16 ms_escher_parse
    at ms-escher.c line 2166
  • #17 excel_read_sheet
    at ms-excel-read.c line 6231
  • #18 excel_read_BOF
    at ms-excel-read.c line 6514
  • #19 excel_read_workbook
    at ms-excel-read.c line 6597
  • #20 excel_file_open
    at boot.c line 192
  • #21 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #22 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #23 go_file_opener_open
    at file.c line 299
  • #24 wb_view_new_from_input
    at workbook-view.c line 1229
  • #25 wb_view_new_from_uri
    at workbook-view.c line 1283
  • #26 gui_file_read
    at gui-file.c line 126
  • #27 gui_file_open
    at gui-file.c line 343
  • #28 cb_file_open
    at wbc-gtk-actions.c line 90
  • #29 IA__g_cclosure_marshal_VOID__VOID
    at /tmp/buildd/glib2.0-2.16.6/gobject/gmarshal.c line 77
  • #30 IA__g_closure_invoke
    at /tmp/buildd/glib2.0-2.16.6/gobject/gclosure.c line 490
  • #31 signal_emit_unlocked_R
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2440
  • #32 IA__g_signal_emit_valist
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2199
  • #33 IA__g_signal_emit
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2243
  • #34 _gtk_action_emit_activate
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkaction.c line 877
  • #35 IA__gtk_action_activate
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkaction.c line 904
  • #36 IA__g_cclosure_marshal_VOID__VOID
    at /tmp/buildd/glib2.0-2.16.6/gobject/gmarshal.c line 77
  • #37 IA__g_closure_invoke
    at /tmp/buildd/glib2.0-2.16.6/gobject/gclosure.c line 490
  • #38 signal_emit_unlocked_R
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2440
  • #39 IA__g_signal_emit_valist
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2199
  • #40 IA__g_signal_emit
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2243
  • #41 IA__gtk_widget_activate
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkwidget.c line 4709
  • #42 IA__gtk_menu_shell_activate_item
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmenushell.c line 1150
  • #43 gtk_menu_shell_button_release
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmenushell.c line 674
  • #44 gtk_menu_button_release
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmenu.c line 2725
  • #45 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmarshalers.c line 84
  • #46 g_type_class_meta_marshal
    at /tmp/buildd/glib2.0-2.16.6/gobject/gclosure.c line 567
  • #47 IA__g_closure_invoke
    at /tmp/buildd/glib2.0-2.16.6/gobject/gclosure.c line 490
  • #48 signal_emit_unlocked_R
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2478
  • #49 IA__g_signal_emit_valist
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2209
  • #50 IA__g_signal_emit
    at /tmp/buildd/glib2.0-2.16.6/gobject/gsignal.c line 2243
  • #51 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkwidget.c line 4678
  • #52 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmain.c line 2336
  • #53 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmain.c line 1556
  • #54 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.12.11/gdk/x11/gdkevents-x11.c line 2351
  • #55 IA__g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c line 2012
  • #56 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c line 2645
  • #57 IA__g_main_loop_run
    at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c line 2853
  • #58 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.11/gtk/gtkmain.c line 1163
  • #59 main
    at main-application.c line 513

Comment 6 Jean Bréfort 2008-12-08 06:41:54 UTC
looks like I'm guilty for the crash :-(
Comment 7 Jean Bréfort 2008-12-08 07:30:33 UTC
Fixed the crash.

Cell contents are not visible with svn trunk, and the content does not appear in the formula bar when selected, and I see no scrollbars (might be related with split panes which are not supported yet). I see the same behavior with 1.8.3 (debian sid package).

Looks like the cell issue is related to the custom format used. But even with a standard format, I can't edit the formula.
Comment 8 Jean Bréfort 2008-12-08 07:33:08 UTC
I was wrong, the formula becomes visible after changing the format and selecting again the cell.
Comment 9 Morten Welinder 2008-12-08 14:06:21 UTC
The problem is that we think the format is invalid.  It is...

    [>=0.001]0.0###;[=0]0;0.0E-00;

...and changing the E-00 to E+00 fixes the issue.  I need to investigate.
Comment 10 Morten Welinder 2008-12-08 14:10:42 UTC
"0.0E-00" seems to be valid in XL.  The "-" indicates that the sign for
the exponent is optional.
Comment 11 Morten Welinder 2008-12-08 14:24:54 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.



Note: problem was in goffice.