Hi Steph & Jacues:
Steph Bredenhann wrote:
> On 30/08/2011 11:19, Philip Nienhuis wrote:
>
> <snip>
>> In odsopen.m, on line 328, change 'POI' into 'OTK' and 'JXL' into
>> 'JOD' (~like 20 or so lines up) and it should work.
>>
>> This bug has slipped in somehow but was not present in my own dev
>> sources. Sorry for that.
>>
>> I'll fix it in svn next week.
> <snip>
>
> Thanks for coming back, it is really appreciated!
>
> odsopen.m only has 300 lines and I searched for 'POI' with no success.
>
> I've included the file.
You (Steph) sent an older version (the one in io-1.0.14 has almost 400
lines).
I tracked down a few more issues in this part of the code, similarly for
the same parts of xlsopen. I also found out why I didn't catch them at
the time.
Once fixed, I'll try to prepare a new io-1.0.15 package (mainly bug fix
release) soon.
If you want, you (Steph & Jacques) can test that release for me before I
make the release.
@Jaques:
(Quoting from help-octave)
> I tried changing the lines to:
> # No Java support
> odsinterfaces.OTK = 0;
> odsinterfaces.JOD = 0;
> if ~(isempty (odsinterfaces.OTK) && isempty (odsinterfaces.JOD))
> # Some Java-based interface requested but Java support
> is absent
> error ('No Java support found.');
else
> # No specific Java-based interface requested. Just
> return
> return;
it should read more like
# No Java support
if ~(isempty (odsinterfaces.OTK) && isempty (odsinterfaces.JOD))
# Some Java-based interface requested but Java support
is absent
error ('No Java support found.');
else
# No specific Java-based interface requested. Just
return
odsinterfaces.OTK = 0;
odsinterfaces.JOD = 0;
return;
endif
(tab expands to 8 chars in e-mail, so watch out for line wrap)
(i.e., the odsinterfaces.<member> lines were in the wrong place)
But the fact that you end up in the "catch" part of the try-catch around
L.316-335 shows that there's something wrong with the java detection
logic, or more probably the java package itself.
Also, there seems to be a problem with obtaining the version info for
odfdom-0.8.7.jar. Looking into this.
Philip
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev