bugPSPP - Bugs: bug #41656, Problem when reading ods file

 
 

bug #41656: Problem when reading ods file

Submitted by:  Harry Thijssen <unknown_one>
Submitted on:  Fri 21 Feb 2014 01:57:42 PM UTC
 
Category:  Other Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Wed 26 Feb 2014 06:13:32 PM UTC, comment #9: 

I pushed a change, which may or may not have fixed the problem.

Please check.

John Darrington <jmd>
Project Administrator
Tue 25 Feb 2014 05:49:00 PM UTC, comment #8: 

Your system is doing something wierd.

Can you apply the attached patch, run that syntax and send me the stdout.

Thanks

(file #30691)

John Darrington <jmd>
Project Administrator
Mon 24 Feb 2014 01:44:57 PM UTC, comment #7: 

Originally I thought this was an endianess error.  But now I look closer it is seeking into the file one byte behind where it should.

  • Is this a 64 bit machine?
  • Are any tests in make check failing?
John Darrington <jmd>
Project Administrator
Sun 23 Feb 2014 04:18:42 PM UTC, comment #6: 

The syntax:

GET DATA
/TYPE=ODS
/FILE='c:\users\beheerder\Downloads\test.ods'
/READNAMES=ON

still produces the same error.

Harry Thijssen <unknown_one>
Sun 23 Feb 2014 02:19:25 PM UTC, comment #5: 

Can we fix one bug at a time.

Does the Syntax example you originally posted now work?  or does it give the same problem? or a different problem?

John Darrington <jmd>
Project Administrator
Sun 23 Feb 2014 12:51:53 PM UTC, comment #4: 

See the attached .png file for a screendump of my screen when I use the wizard in MSWindows.
I wonder if this works by any MSWindows user.


Harry Thijssen <unknown_one>
Sat 22 Feb 2014 01:49:06 PM UTC, comment #3: 

Strange enough it works on openSUSE except that I get an error message in the wizard but the file is read.

On MSWindows it seems as if the original compressed file is delivered to the wizard. Maybe the same happens on  the command line. Is it possible that some kind of zip is necessary and that this is not checked during compilation?

I wonder why this issue is not filed by lot of users. Maybe because it is something which is usually installed but not on my clean test environment?

Harry Thijssen <unknown_one>
Fri 21 Feb 2014 04:42:20 PM UTC, comment #2: 

I used the master of yesterday for my test on MSWindows. I will test with openSUSE later today.

Harry Thijssen <unknown_one>
Fri 21 Feb 2014 04:30:31 PM UTC, comment #1: 

I cannot reproduce this problem.

Can you try again with the latest from master?

Thanks.

John Darrington <jmd>
Project Administrator
Fri 21 Feb 2014 01:57:42 PM UTC, original submission:  

When I read the attached ods file with the syntax:
GET DATA
                  /TYPE=ODS
                 /FILE='c:\users\beheerder\Downloads\test.ods'
                 /READNAMES=ON
                 .

I get the error:

error: Cannot open c:\users\beheerder\Downloads\test.ods as a OpenDocument
file: Corrupt file at 0x2225: Expected 6054b50; got 54b506c

Harry Thijssen <unknown_one>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #30691:  odf-diag.patch added by jmd (1KiB - text/x-patch)
file #30648:  schermafdruk11.png added by unknown_one (141KiB - image/png)
file #30630:  test.ods added by unknown_one (9KiB - application/vnd.oasis.opendocument.spreadsheet)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by unknown_one (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-27 jmd StatusCannot Reproduce => Fixed
        Open/ClosedOpen => Closed
    2014-02-25 jmd Attached File- => Added odf-diag.patch, #30691
    2014-02-23 unknown_one Attached File- => Added schermafdruk11.png, #30648
    2014-02-21 jmd StatusNone => Cannot Reproduce
    2014-02-21 unknown_one Attached File- => Added test.ods, #30630

    Back to the top


    Powered by Savane 3.9