octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44882] java arrays are not automatically conv


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44882] java arrays are not automatically converted to octave types
Date: Wed, 22 Apr 2015 17:51:45 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33

Follow-up Comment #9, bug #44882 (project octave):

With the patch, the UNO interface (invoking LibreOffice) doesn't work
anymore.

After backing out the patch and rebuilding, UNO works again.

It is this statement in L.83 of io package's private/__UNO_spsh_open__.m where
it breaks:

lProp = javaObject ...
("com.sun.star.beans.PropertyValue", "FilterName", 0, filtnam, []);


where "filtnam" = "MS Excel 97". (Could be "calc8" as well if one is to
experiment on the command line)

AFAICS it is the empty array [] that is the offending argument ("error:
invalid conversion from real matrix to real scalar") but I haven't uncovered
what type is expected.
The only thing I know is that before the patch it somehow worked, after the
patch is doesn't.

That said, the LibreOffice Java interface is very fragile and picky. Yet it is
the only purely OSS-based interface that offers a wide variety of spreadsheet
formats, so I'm hesitating to let it go.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44882>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]