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

 
 

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

Submitted by:  Ian Journeaux <ijourneaux>
Submitted on:  Fri 25 Apr 2014 01:50:51 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Philip Nienhuis <philipnienhuis>
Originator Name: Ian JourneauxOpen/Closed: Closed
Release: 3.8.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by ijourneaux (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 project members 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
    Sat 26 Apr 2014 01:27:39 PM UTCphilipnienhuisStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 25 Apr 2014 08:46:04 PM UTCphilipnienhuisAttached File-=>Added test_bug42192.zip, #31251
      StatusIn Progress=>Ready For Test
    Fri 25 Apr 2014 03:39:24 PM UTCphilipnienhuisStatusNone=>In Progress
      Assigned toNone=>philipnienhuis

    Back to the top


    Powered by Savane 3.1-cleanup1