[sage-devel] Re: nondescript tracebacks with load and attach

2011-05-20 Thread Simon King
Hi Marco, could you please provide more information about your system? Namely, originally I had only tested that your example works fine if I use sage-4.7.rc2 plus trac ticket #9976. But now, I tested again with plain unpatched sage-4.6.2 -- and it STILL works. On 19 Apr., 16:10, Marco Streng

[sage-devel] Re: No plot with plot3d

2011-05-20 Thread RegB
>From the fact that plot3d worked previously from the terminal and that 2d plots still work from the terminal with UBUNTU 11.04 I think we are still on track, i.e. in my case it is plot3d specific and fails whether called from a terminal or a notebook. On May 19, 5:46 pm, Kelvin Li wrote: > Plea

[sage-devel] Re: Blocker ticket #11348 (Maxima relocation) needs review

2011-05-20 Thread Nils Bruin
On May 20, 8:37 am, Nils Bruin wrote: > This is now (minor) tickethttp://trac.sagemath.org/sage_trac/ticket/11359 And on that ticket I have made some comments identifying the problem: ECL needs to know which include and library paths to use when it calls the C-compiler when compiling code. It simp

Re: [sage-devel] Doctest failures if using GSL 1.15

2011-05-20 Thread Francois Bissey
> I created a package of The GNU Scientific library (GSL) 1.15, which was > released a few weeks ago) and put it here. > > http://boxen.math.washington.edu/home/kirkby/patches/gsl-1.15.spkg > > I tried to build sage-4.7.rc3 using this version of gsl rather than the > older one in Sage. > > But w

[sage-devel] Re: nondescript tracebacks with load and attach

2011-05-20 Thread Simon King
Yep, it works! On 20 Mai, 17:53, Simon King wrote: > If this is the case, then it could help to use the patches from #9976 > (merged in sage-4.7.1.alpha0) and #11298. Both patches greatly improve > the functionality of introspection (e.g., you can inspect > interactively defined Cython code). I w

[sage-devel] Re: nondescript tracebacks with load and attach

2011-05-20 Thread Simon King
Hi Marco and Conrado, On 20 Mai, 16:23, Conrado PLG wrote: > On Apr 19, 11:10 am, Marco Streng wrote: > > > Hi sage-devel, > > > When debuggin code that is loaded into or attached to a Sage session, > > the tracebacks are not very informative: they refer to instead > > of to the file name, and

[sage-devel] Re: Blocker ticket #11348 (Maxima relocation) needs review

2011-05-20 Thread Nils Bruin
On May 20, 1:20 am, Jeroen Demeyer wrote: > Apparently yes, but apart from installing packages, it seems that ecl > runs fine after relocation. This is now (minor) ticket http://trac.sagemath.org/sage_trac/ticket/11359 -- To post to this group, send an email to sage-devel@googlegroups.com To uns

[sage-devel] Doctest failures if using GSL 1.15

2011-05-20 Thread Dr. David Kirkby
I created a package of The GNU Scientific library (GSL) 1.15, which was released a few weeks ago) and put it here. http://boxen.math.washington.edu/home/kirkby/patches/gsl-1.15.spkg I tried to build sage-4.7.rc3 using this version of gsl rather than the older one in Sage. But while all the s

[sage-devel] Re: nondescript tracebacks with load and attach

2011-05-20 Thread Conrado PLG
On Apr 19, 11:10 am, Marco Streng wrote: > Hi sage-devel, > > When debuggin code that is loaded into or attached to a Sage session, > the tracebacks are not very informative: they refer to instead > of to the file name, and give no line numbers or code snippets. This > makes it hard to find out w

[sage-devel] pickling vs. default attributes

2011-05-20 Thread Martin Albrecht
Hi there, I have a Python question. Over at #11316: Weighted degree term orders added Kwankyu adds weighted term orders to Sage, which is awesome. However, the patch breaks pickling as follows. TermOrder objects now have an attribute __weights which is initialised to None in __init__(

[sage-devel] matrix multiplication over ZZ sometimes gives incorrect results

2011-05-20 Thread Tom Coates
Dear sage-devel, Something is wrong with the multi-modular matrix multiplication code for matrices over ZZ. At random, and infrequently, it gives incorrect results. For example, the following code chooses random 3x2 and 2x10 integer matrices and multiplies them together using the multi-modu

Re: [sage-devel] Re: Blocker ticket #11348 (Maxima relocation) needs review

2011-05-20 Thread Jeroen Demeyer
On 2011-05-19 22:25, Nils Bruin wrote: > On May 19, 12:12 pm, Jeroen Demeyer wrote: >> Yes. The problem seems to be that maxima cannot be *installed* on top >> of a relocated ecl. > > Since building software is part of the normal functioning of a lisp, > can we conclude from this failure that th

[sage-devel] category subclassing problem

2011-05-20 Thread Christian Nassau
I would like to create a new category that's derived from AlgebrasWithBasis, but I get an infinite recursion when I ask for the CartesianProducts: Here's a simple example: class MyAlgebrasWithBasis(AlgebrasWithBasis): def __init__(self,R): AlgebrasWithBasis.__init__(self,R) Now