[sage-support] error in upgrading SAGE to version 4.8

2012-02-28 Thread pong
I am trying to upgrade SAGE from 4.7.2 to 4.8 in my dept server by
simply running

./sage --upgrade

but ran into the following error:

---
sage/matrix/matrix_cyclo_dense.pyx -- /opt/sage-current/local/lib/
python2.6/site-packages//sage/matrix/matrix_cyclo_dense.pyx
python `which cython`  --disable-function-redefinition --embed-
positions --directive
cdivision=True,autotestdict=False,fast_getattr=True -I/opt/sage-
current/devel/sage-main -o sage/matrix/matrix_dense.c sage/matrix/
matrix_dense.pyx

Error compiling Cython file:

...
# allow lambda functions

if self._nrows==0 or self._ncols==0:
return self.__copy__()
v = [z.derivative(var) for z in self.list()]
if R is None:
^


sage/matrix/matrix_dense.pyx:428:13: local variable 'R' referenced
before assignment
Error running command, failed with status 256.
sage: There was an error installing modified sage library code.

There is a bunch of warnings about variables being referenced before
assignment earlier but did not cause a crash.

Any idea on how to fix this?

-- 
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
URL: http://www.sagemath.org


Re: [sage-support] Re: Simplifying log expressions

2012-02-28 Thread Greg Marks
Dear Sage Developers:

There seems to be a similar issue in Sage Version 4.8:

   sage: a=log(6)/(1+log(2))
   sage: (6*exp(-a)-2^a).full_simplify()
   -(2^(log(3)/(log(2) + 1) + 1/(log(2) + 1))*3^(1/(log(2) + 
1))*e^(log(2)^2/(log(2) + 1)) - 6)/(2^(1/(log(2) + 1))*3^(1/(log(2) + 1)))
   sage: (6*exp(-a)/2^a).simplify_full()
   2^(log(2/3)/(log(2) + 1))*3^(log(2)/(log(2) + 1))*e^(-log(2)^2/(log(2) + 
1))

Sincerely,
Greg Marks


   | Greg Marks |
   | Department of Mathematics and Computer Science |
   | St. Louis University   |
   | St. Louis, MO 63103-2007   |
   | U.S.A. |
   ||
   | Phone: (314)977-7206   |
   | Fax: (314)977-1452 |
   | Web: http://math.slu.edu/~marks|


-- 
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
URL: http://www.sagemath.org


[sage-support] Re: Simplifying log expressions

2012-02-28 Thread Dima Pasechnik
In gmane.comp.mathematics.sage.support, you wrote:

 Dear Sage Developers:

 There seems to be a similar issue in Sage Version 4.8:

sage: a=log(6)/(1+log(2))
sage: (6*exp(-a)-2^a).full_simplify()
-(2^(log(3)/(log(2) + 1) + 1/(log(2) + 1))*3^(1/(log(2) + 
 1))*e^(log(2)^2/(log(2) + 1)) - 6)/(2^(1/(log(2) + 1))*3^(1/(log(2) + 1)))
sage: (6*exp(-a)/2^a).simplify_full()
2^(log(2/3)/(log(2) + 1))*3^(log(2)/(log(2) + 1))*e^(-log(2)^2/(log(2) + 
 1))

Sage calls Maxima to do such kinds of computations. If one uses Maxima
on these expressions directly, it does not come up any better than that.
(Or perhaps one needs to know more about Maxima than I do).

Best,
Dmitrii


 Sincerely,
 Greg Marks


-- 
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
URL: http://www.sagemath.org


[sage-support] patch buildbot help

2012-02-28 Thread Kelvin Li
Hi all,

I can't figure out how to get the patch buildbot to behave at ticket
#10229. I want it to apply just the second of the two patches on Trac
(the second supersedes the first), but it's applying the first, then
the second--which then obviously fails.

I read the instructions at http://wiki.sagemath.org/buildbot but can't
figure out my error. I'd appreciate any pointers!

Thanks,
Kelvin

-- 
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
URL: http://www.sagemath.org