On Wed, Aug 5, 2009 at 1:09 PM, VictorMiller <victorsmil...@gmail.com>wrote:

>
> I was asking SAGE to do a calculation that I knew was probably
> laborious -- I had a plane curve (over Q) and I wanted its genus.  I
> defined it with C=Curve(equation_in_two_variables) and then typed
>
> C.genus()
>
> after a while (I was in the notebook) I just got the mysterious error
> message:
>
> delaybeforesend: 0
>
> when I expanded it, at the end there was a lot of stuff, but the
> relevant line was
>
> pexpect.TIMEOUT: Timeout exceeded in read_nonblocking().
> <pexpect.spawn instance at 0xa1c170c>
> command: /u/victor/sage/local/bin/Singular
>
> So, there are two questions:
>
> a) is it possible to give a more informative error message.  It seems
> obvious that singular just took
> too long in getting back to sage.


This is not obvious to me.  That is really weird.  Sage should wait forever
for any subprocess to return.   The time limit on reading is purposely
disabled.  Weird.   Maybe the subprocess really crashed and the error
message is just wrong?    Or maybe something is screwy with pexpect.   Can
you post code?  Has anybody else seen anything similar?

William


> b) is it possible to give a longer timeout (if I really want the
> answer)?
>
> Victor
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to