problems with PUT method of octaveengine

  3 posts   Feedicon  
Replies: 2 - Last Post: May 09, 2011 03:20
by: dengdai
showing 1 - 3 of 3
 
Posted: November 30, 2009 02:49 by gbooh
Hello Mr Kim,
Thanks for the great job you have made with javaoctave. But I have a very big problem with the PUT method of octaveEngine.
When i try to load a big matrix like that:
OctaveDouble ta = new OctaveDouble(ti,1,ti.length); where ti.length is higher than 4400 ( a very big matrix!)

o.put("s", ta);

it gave me the following errors:

error: load: failed to load matrix constant

error: load: trouble reading ascii file `-'

error: load: reading file -

30 nov. 2009 03:13:55 dk.ange.octave.io.DataWriteFunctor doWrites

GRAVE: Unexpected IOException

java.io.IOException: Le canal de communication a été fermé

at java.io.FileOutputStream.writeBytes(Native Method)

at java.io.FileOutputStream.write(Unknown Source)

at java.io.BufferedOutputStream.write(Unknown Source)

at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)

at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)

at sun.nio.cs.StreamEncoder.write(Unknown Source)

at sun.nio.cs.StreamEncoder.write(Unknown Source)

at java.io.OutputStreamWriter.write(Unknown Source)

at java.io.Writer.write(Unknown Source)

at dk.ange.octave.io.impl.MatrixWriter.saveData2d(MatrixWriter.java:61)

at dk.ange.octave.io.impl.MatrixWriter.write(MatrixWriter.java:45)

at dk.ange.octave.io.impl.MatrixWriter.write(MatrixWriter.java:30)

.......

My matrix has positive and negative double numbers. When i try to "PUT" only positive numbers, there is no problem. But when there are negative ones, that gives me the errors above!

It is very important to me to use this functionnality. Please can i get some help from yOU!

THanks
 
Posted: November 30, 2009 20:32 by john_brock
Hi gbooh,

You are probably not going to get an answer to this question in the general forums area for Project Kenai.

I looked at the JavaOctave project and noticed that they do not have their own Forum area setup. Your best option would be to send this request to one of that projects mailing lists, or to send an email directly to the project Administrator.

You can send an email to anyone on Project Kenai, by addressing it to <username>@kenai.com. It will be redirected to the real email address in their profile.

Hope that helps you get the answer that you are looking for. Thanks for using Project Kenai.

The Project Kenai Team
 
Posted: December 16, 2009 12:09 by jalphi
upup,i miss it too
Replies: 2 - Last Post: May 09, 2011 03:20
by: dengdai
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2013, Oracle Corporation and/or its affiliates
(revision 20140418.2d69abc)
 
 
Close
loading
Please Confirm
Close