bugGNU Octave - Bugs: bug #42192, Call to xlsopen failes under...

 
 

bug #42192: Call to xlsopen failes under windows MXE Octave without Java support

Submitter:  Ian Journeaux <ijourneaux>
Submitted:  Fri 25 Apr 2014 01:50:51 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Ian Journeaux Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 26 Apr 2014 01:27:39 PM UTC, comment #5: 

I've just uploaded io-2.2.1 to the OF package release tracker.

In addition to this bug (42192), I found another critical one (for OOXML) that -remarkably- has slipped through the tests :-(

Closing report

Philip Nienhuis <philipnienhuis>
Group Member
Fri 25 Apr 2014 09:21:51 PM UTC, comment #4: 

Here is the result. There is the timestamp warning though although that doesn't look too serious. In my timezone, the time on the file is 9:54pm when it is 4:45pm here

>> test=xlsopen("test.xls", 1, "COM")

Checking requested interface(s):
warning: time stamp for 'C:\Octave\Octave-3.8.1\share\octave\packages\io-2.2.0\private\getxlsinterfaces.m' is in the fut
ure
COM*; (* = default interface)
Creating file test.xls
test =

  scalar structure containing the fields:

    xtype = COM
    app =

<COM object _Application (0x0x66a304)>

    filename = test.xls
    workbook =

<COM object _Workbook (0x0x290701c4)>

    changed =  3
    limits = [](0x0)

Ian Journeaux <ijourneaux>
Fri 25 Apr 2014 08:46:04 PM UTC, comment #3: 

Well I consider this a fairly critical bug, so a new io package would be due with the fix.

Please drop the 3 files in attached zip archive test_bug42192.zip  into:

share/octave/packages/io-2.2.0/private/

(just overwrite or rename the existing files with same name) and report back please.


(file #31251)

Philip Nienhuis <philipnienhuis>
Group Member
Fri 25 Apr 2014 05:39:04 PM UTC, comment #2: 

Philip
It is not a problem. I really appreciate the help you have given me on this and other questions.
I just commented out the java checks in the short term.


Ian Journeaux <ijourneaux>
Fri 25 Apr 2014 03:39:24 PM UTC, comment #1: 

Thanks for reporting.
This part of the scripts was never adequately tested because all my own mxe builds do have Java support built in. Sorry for the inconvenience.
I have rough fixes ready, but I want to include a bit of code simplification and duplicate code elimination as well (an old & somewhat overdue wish).
Hang on...

Philip Nienhuis <philipnienhuis>
Group Member
Fri 25 Apr 2014 01:50:51 AM UTC, original submission:  

A call to xlsopen using COM interface from MXE octave compiled without Java support fails

 test=xlsopen("test.xls", 1, "COM")

produces
Checking requested interface(s):
error: javaMethod: Octave was not compiled with Java interface
error: called from:
error: C:OctaveOctave-.8.1shareoctave
3.8.1mjavajavaclasspath.m  at line 60, column 16
error:   C:OctaveOctave-3.8.1shareoctave
packagesio-2.2.0privategetxlsinterfaces.m at line 102, column 11
error:   C:OctaveOctave-3.8.1shareoctave
packagesio-2.2.0xlsopen.m at line 203, column 21

>>


This is discussed in thread
http://octave.1599824.n4.nabble.com/Using-IO-package-with-MXE-Octave-Octave-not-compiled-with-Java-td4663692.html

Ian Journeaux <ijourneaux>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31251:  test_bug42192.zip added by philipnienhuis (9KiB - application/x-zip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ijourneaux (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 group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-26 philipnienhuis StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2014-04-25 philipnienhuis Attached File- Added test_bug42192.zip, #31251
        StatusIn Progress Ready For Test
    2014-04-25 philipnienhuis StatusNone In Progress
        Assigned toNone philipnienhuis

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code