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 352055 - Avoid a warning on xls files generated by psiwin
Avoid a warning on xls files generated by psiwin
Status: RESOLVED FIXED
Product: libgsf
Classification: Core
Component: MS OLE2 & Properties
1.14.x
Other All
: Normal enhancement
: ---
Assigned To: Stepan Kasal
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-08-19 18:00 UTC by Dan MacDonald
Modified: 2006-08-19 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Open this file with gnumeric 1.6.x to see the warning message I'd like removed (4.50 KB, application/octet-stream)
2006-08-19 18:06 UTC, Dan MacDonald
Details

Description Dan MacDonald 2006-08-19 18:00:41 UTC
Please describe the problem:
I am using gnumeric 1.6.3 with Excel files that have been converted from Psion sheet files by Psiwin. Every time I open one of these .xls files gnumeric displays a warning which says

Unable to read MS property stream header

I can then close the warning message and it opens the file fine but seeing as I plan to make heavy use of gnumeric this will become annoying.

Steps to reproduce:
1. Open sample .xls file
2. Warning message displayed
3. Close warning message


Actual results:
Unable to read MS property stream header

error gets displayed but file opens fine

Expected results:
No warning

Does this happen every time?
Yes

Other information:
Please e-mail me on allcoms @getridofthis@ gmail.com for a sample file which produces the warning
Comment 1 Dan MacDonald 2006-08-19 18:06:13 UTC
Created attachment 71206 [details]
Open this file with gnumeric 1.6.x to see the warning message I'd like removed
Comment 2 Jean Bréfort 2006-08-19 18:56:02 UTC
Seems your file is not correct and is missing the field. Running ssconvert on it:
ssconvert ms_stream.xls ms_stream2.xls
gives a file which gnumeric opens without any warning.

Supposing your files are all in a directory, you can convert all of them with the command line (using bash):
for i in *.xls; do ssconvert $i converted-files/$i;done

The files in the converted-files directory should be opened without the warnings.

In all cases, this is not a gnumeric bug, but a bug of the program you used to generate your files.
Comment 3 Jody Goldberg 2006-08-19 19:51:25 UTC
I'd rather not just close this.  We can tag it as an enhancement to work around the breakage.
Comment 4 Jody Goldberg 2006-08-19 20:06:56 UTC
psiwin is generating invalid zero sized property files.  Although it is not technically correct, I've weaked the test in metadata_read to not generate an error if the file is of size 0.  That is likely what most callers are interested in.

Patch will be in 1.14.3