Re: [sage-support] is_polynomial with symbolic coefficient returns wrong answer ? Bug ?

2013-10-19 Thread Christophe Bal
Hello,
this is certainly a bug. The error comes from (a/s**2).is_polynomial(s).

Christophe


2013/10/17 Alessandro Bernardini alessandro.bernardini@gmail.com

 sage: s, a, b= var('s a b')

 sage: (1/s^2 + s).is_polynomial(s)
 False
 sage: (a/s^2 + b*s).is_polynomial(s)

 True
 sage:  version()
 'Sage Version 5.6, Release Date: 2013-01-21'
 sage:

 should return False ?


  --
 You received this message because you are subscribed to the Google Groups
 sage-support group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-support+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-support@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-support.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-support] There is bug with init.sage (and how to resolve it)

2013-10-19 Thread Андрей Ширшов
 Hello!
Sage 5.12 doesn't see init.sage file in $DOT_SAGE
I found this bug in such way:

import os
os.environ['SAGE_STARTUP_FILE']
/home/andrei/.sage//init.sage
The problem is in file $SAGE_ROOT/spkg/bin/sage-env

There is line SAGE_STATUP_FILE = $DOT_SAGE/init.sage in this file
I replaced this line to:
SAGE_STATUP_FILE = home/andrei/.sage/init.sage
After that sage see my init.sage file
Thanks.


-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-support] Re: There is bug with init.sage (and how to resolve it)

2013-10-19 Thread Андрей Ширшов


 Hello!
 Sage 5.12 doesn't see init.sage file in $DOT_SAGE
 I found this bug in such way:

 import os
 os.environ['SAGE_STARTUP_FILE']
 /home/andrei/.sage//init.sage
 The problem is in file $SAGE_ROOT/spkg/bin/sage-env

 There is line SAGE_STATUP_FILE = $DOT_SAGE/init.sage in this file
 I replaced this line to:
 SAGE_STATUP_FILE = home/andrei/.sage/init.sage
 After that sage see my init.sage file
 Thanks.


After that manipulation sage see init.sage, but sage notebook don't see ((( 

-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-support] Re: There is bug with init.sage (and how to resolve it)

2013-10-19 Thread John H Palmieri


On Saturday, October 19, 2013 11:46:17 AM UTC-7, Андрей Ширшов wrote:


 Hello!
 Sage 5.12 doesn't see init.sage file in $DOT_SAGE


I don't see this behavior: Sage 5.12 sees my init.sage file perfectly, at 
least from the command line.
 

 I found this bug in such way:

 import os
 os.environ['SAGE_STARTUP_FILE']
 /home/andrei/.sage//init.sage
 The problem is in file $SAGE_ROOT/spkg/bin/sage-env

 There is line SAGE_STATUP_FILE = $DOT_SAGE/init.sage in this file
 I replaced this line to:
 SAGE_STATUP_FILE = home/andrei/.sage/init.sage
 After that sage see my init.sage file
 Thanks.


 After that manipulation sage see init.sage, but sage notebook don't see 
 ((( 


Reading init.sage from the notebook seems to be broken. See 
http://ask.sagemath.org/question/3084/notebook-and-initsage and 
http://trac.sagemath.org/ticket/15308.

-- 
John
 

-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-support] Should freetype be updated in Sage?

2013-10-19 Thread rickhg12hs
Trying to run `runsnake` from within sage commandline fails on my Fedora 19 
system.  `runsnake` on my system requires that `libfreetype` define symbol 
`FT_Face_GetCharVariantIndex` which started in `freetype` version 2.3.6. 
 Currently Sage is distributed with `freetype` version 2.3.5.  Fedora 19 is 
distributed with `freetype` version 2.4.11.

Perhaps Sage could update its version of freetype and/or use the host 
system's freetype library?

-- 
You received this message because you are subscribed to the Google Groups 
sage-support group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.