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 654211 - Warnings on xls import
Warnings on xls import
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2011-07-08 00:55 UTC by Andreas J. Guelzow
Modified: 2013-04-16 00:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2011-07-08 00:55:50 UTC
Importing the file of bug #306411 yields:

(gnumeric:9185): gnumeric:read_expr-WARNING **: File is most likely corrupted.
(Needed 3 bytes for formula item, has only 0.)

(gnumeric:9185): gnumeric:read_expr-WARNING **: A1 : Stack too short - unusual

(gnumeric:9185): gnumeric:read_expr-WARNING **: File is most likely corrupted.
(Needed 3 bytes for formula item, has only 0.)

(gnumeric:9185): gnumeric:read_expr-WARNING **: A1 : Stack too short - unusual
Comment 1 Andreas J. Guelzow 2011-07-11 14:58:56 UTC
This does not appear to be related t the conditional formats in this file:

  • #0 g_log
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #1 check_formula_len
    at ms-formula-read.c line 854
  • #2 excel_parse_formula1
    at ms-formula-read.c line 1297
  • #3 excel_parse_formula
    at ms-formula-read.c line 1752
  • #4 excel_parse_name
    at ms-excel-read.c line 3401
  • #5 excel_read_NAME
    at ms-excel-read.c line 3717
  • #6 excel_read_workbook
    at ms-excel-read.c line 6951
  • #7 excel_file_open
    at boot.c line 190
  • #8 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239

Comment 2 Morten Welinder 2013-04-15 20:31:11 UTC
With have a NAME_v2 record with flags 0x11 specifying a (hidden)
array formula and end up hitting this FIXME:

		texpr = excel_parse_formula (&importer->container, NULL, 0, 0,
					     expr_data, expr_len, 0 /* FIXME? */,
					     TRUE, NULL);

That FIXME is the length of array data.
Comment 3 Morten Welinder 2013-04-16 00:09:26 UTC
Correction: it's a NAME_v0 record.

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.