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 530183 - Fails to load .wb1 file
Fails to load .wb1 file
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: 2008-04-27 11:10 UTC by Chris P
Modified: 2008-04-27 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Quattro Pro file with wb1 extension (49.27 KB, application/x-bzip)
2008-04-27 14:35 UTC, Chris P
Details

Description Chris P 2008-04-27 11:10:13 UTC
Please describe the problem:
Import Plug-in fails completely, producing the error stated below

'Invalid 'QPRO_PAGE_ATTRIBUTE' record of length 34 instead of 30'



Steps to reproduce:
1. Start Gnumeric
2. File - > Open
3. 


Actual results:
Result as described in the summary above.

Expected results:
Data to be imported and then visible in worksheet

Does this happen every time?
Yes.

Other information:
Interestingly.. Open Office ( 2.3 ) Calc has problems as well. However, renaming .wb1 files with the extension .wb2 then allows successful import in to OO Calc.

Was going to dig into the import routine myself, but before I did so, asked on
#gnumeric irc channel for further info, where I was advised to submit a bug report. Anyone else, better informed than I, also experienced this behaviour?

Cheers,


Chris.
Comment 1 Morten Welinder 2008-04-27 14:01:35 UTC
It would be helpful if you could attach a sample file that shows the problem
here.
Comment 2 Chris P 2008-04-27 14:35:59 UTC
Created attachment 109990 [details]
Quattro Pro file with wb1 extension

Quattro Pro file with wb1 extension as requested.
Comment 3 Morten Welinder 2008-04-27 15:52:20 UTC
Thanks.  The QPRO_PAGE_ATTRIBUTE things is harmless: we don't actually do
anything with that record anyway.

This, however, is less harmless:

...
901 with 69
907 with 24930
Condition "*len < 0x2000" failed.
26 with -32664
Condition "*len < 0x2000" failed.

We seem to get out of sync with something in the file.
Comment 4 Morten Welinder 2008-04-27 16:06:01 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.
Comment 5 Chris P 2008-04-27 16:31:44 UTC
Cheers and many thanks for looking into this issue Morten.

I'll go check it out.