Ask Your Question

Revision history [back]

I cannot reproduce your error, the error I get is :

PariError: I already exists with incompatible valence

which is fine. Indeed, the product of a polynomial indeterminate defined over a finite field and I (which belongs to a field of characteristic 0) is not well defined. If I is defined as another indeterminate, everything is fine:

sage: K.<a1,b1,a2,b2,x,I>=PolynomialRing(GF(32003))
sage: numerator((a1+b1*I)+(a1-b1*I)*x^(-5))
b1*x^5*I + a1*x^5 - b1*I + a1

In your case, the error is more annoying since it is not handled by Sage, and as the log says "his probably occurred because a compiled module has a bug in it and is not properly wrapped with sig_on(), sig_off(). Python will now terminate."

When you compiled Sage, and especially Pari, did you get any error ? Coud you look at the file $SAGE_ROOT/logs/pkgs/pari-2.8-*.log to see if something wrong happened there ?

If you do not find anything, could you try, from the $SAGE_ROOT direcory:

 ./sage -p -c pari

To build pari and run a self-check ?

I cannot reproduce your error, the error I get is :

PariError: I already exists with incompatible valence

which is fine. Indeed, the product of a polynomial indeterminate defined over a finite field and I (which belongs to a field of characteristic 0) is not well defined. If I is defined as another indeterminate, everything is fine:

sage: K.<a1,b1,a2,b2,x,I>=PolynomialRing(GF(32003))
sage: numerator((a1+b1*I)+(a1-b1*I)*x^(-5))
b1*x^5*I + a1*x^5 - b1*I + a1

In your case, the error is more annoying since it is not handled by Sage, and as the log says "his probably occurred because a compiled module has a bug in it and is not properly wrapped with sig_on(), sig_off(). Python will now terminate."

When you compiled Sage, and especially Pari, did you get any error ? Coud you look at the file $SAGE_ROOT/logs/pkgs/pari-2.8-*.log to see if something wrong happened there ?

If you do not find anything, could you try, from the $SAGE_ROOT direcory:

 ./sage -p -c pari

To build rebuild pari and run a self-check ?

I cannot reproduce your error, the error I get is :

PariError: I already exists with incompatible valence

which is fine. Indeed, the product of a polynomial indeterminate defined over a finite field and I (which belongs to a field of characteristic 0) is not well defined. If I is defined as another indeterminate, everything is fine:

sage: K.<a1,b1,a2,b2,x,I>=PolynomialRing(GF(32003))
sage: numerator((a1+b1*I)+(a1-b1*I)*x^(-5))
b1*x^5*I + a1*x^5 - b1*I + a1

In your case, the error is more annoying since it is not handled by Sage, and as the log says "his probably occurred because a compiled module has a bug in it and is not properly wrapped with sig_on(), sig_off(). Python will now terminate."

When you compiled Sage, and especially Pari, did you get any error ? Coud you look at the file $SAGE_ROOT/logs/pkgs/pari-2.8-*.log to see if something wrong happened there ?

If you do not find anything, could you try, from the $SAGE_ROOT direcory:

 ./sage -p -i -f -c pari

To rebuild pari and run a self-check ?