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: OtherSeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission 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.

(file #30648)

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 File(s):
   
   
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
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by unknown_one (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 27 Feb 2014 06:36:10 PM UTCjmdStatusCannot Reproduce=>Fixed
      Open/ClosedOpen=>Closed
    Tue 25 Feb 2014 05:49:00 PM UTCjmdAttached File-=>Added odf-diag.patch, #30691
    Sun 23 Feb 2014 12:51:53 PM UTCunknown_oneAttached File-=>Added schermafdruk11.png, #30648
    Fri 21 Feb 2014 04:30:31 PM UTCjmdStatusNone=>Cannot Reproduce
    Fri 21 Feb 2014 01:57:42 PM UTCunknown_oneAttached File-=>Added test.ods, #30630

    Back to the top


    Powered by Savane 3.1-cleanup1