[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread Arvid
Thanks for the effort of bringing pynifti (and pymvpa) avaliable. For me (on Ubuntu 9,04, or Mac Leopard) $ sage -i pynifti-p0 unfortunately did not work directly. However, downloading the sources 'pynifti_0.20090303.1.tar.gz' and 'pymvpa_0.4.2.tar.gz', then $ sage -shand $ make all an

[sage-support] Re: readline? problem

2009-08-06 Thread John H Palmieri
On Aug 6, 4:08 pm, Minh Nguyen wrote: > Hi John, > > > > > > On Fri, Aug 7, 2009 at 4:40 AM, John H Palmieri wrote: > > > I have a problem with Sage and maybe readline on an ubuntu box.  If I > > type > > >  sage: squ > > > then it partially completes to > > >  sage: squarefree_ [snip] > I have

[sage-support] Re: slide mode and tinymce text cells

2009-08-06 Thread William Stein
2009/8/6 Jason Grout > > William Stein wrote: > > > > > > 2009/8/6 Jason Grout > > > > > > > > I just want to double-check that I'm not doing something silly. When > I > > switch to the slide mode, all of my tinymce text cells still are > visible > >

[sage-support] Re: slide mode and tinymce text cells

2009-08-06 Thread Jason Grout
William Stein wrote: > > > 2009/8/6 Jason Grout > > > > I just want to double-check that I'm not doing something silly. When I > switch to the slide mode, all of my tinymce text cells still are visible > (instead of switching through them in so

[sage-support] Re: slide mode and tinymce text cells

2009-08-06 Thread William Stein
2009/8/6 Jason Grout > > I just want to double-check that I'm not doing something silly. When I > switch to the slide mode, all of my tinymce text cells still are visible > (instead of switching through them in some sort of intelligent fashion). > Furthermore, %html doesn't work: The slide m

[sage-support] slide mode and tinymce text cells

2009-08-06 Thread Jason Grout
I just want to double-check that I'm not doing something silly. When I switch to the slide mode, all of my tinymce text cells still are visible (instead of switching through them in some sort of intelligent fashion). Furthermore, %html doesn't work: {{{id=0| %html a+hi /// Traceback (mo

[sage-support] Re: notebook worksheet rating info?

2009-08-06 Thread NoSyu
Hello I see this problem few weeks ago. So maybe someone find it and make a ticket. I can't find ticket, so I write problems and solution in this article. Here is the original source Sage 4.1 server/notebook/twist.py line 1266~1299 class Worksheet_rating_info(WorksheetResource, resource.Reso

[sage-support] Re: notebook worksheet rating info?

2009-08-06 Thread William Stein
2009/8/6 Kevin Horton > > What is supposed to happen if one click's on a rating_info link in a > list of notebook worksheets? I've tried with three different browsers > on two computers, on both sagenb.org and on my personal local server, > and I always end up at a blank page titled "Error | Sag

[sage-support] notebook worksheet rating info?

2009-08-06 Thread Kevin Horton
What is supposed to happen if one click's on a rating_info link in a list of notebook worksheets? I've tried with three different browsers on two computers, on both sagenb.org and on my personal local server, and I always end up at a blank page titled "Error | Sage Notebook". -- Kevin Horto

[sage-support] Re: ETS.spkg rebuilt

2009-08-06 Thread William Stein
2009/8/6 Jorge E. ´Sanchez Sanchez > Hi! > >I'm sorry for bothering you with perhaps trivialities but I am desperate > trying to get my sage-ETS rebuilt again. > >I was working happily with your ets-3.1.1.rev22704-py2.5.spkg (specially > mayavi). Almost each month I was doing my sage upg

[sage-support] Re: readline? problem

2009-08-06 Thread Minh Nguyen
Hi John, On Fri, Aug 7, 2009 at 4:40 AM, John H Palmieri wrote: > > I have a problem with Sage and maybe readline on an ubuntu box. If I > type > > sage: squ > > then it partially completes to > > sage: squarefree_ > > Then it lists the options ("squarefree_divisors squarefree_part") and > pu

[sage-support] Re: Debugging; how to use sage -gdb?

2009-08-06 Thread Simon King
Dear Minh, On 7 Aug., 00:46, Minh Nguyen wrote: > This is unrelated but: the version of GCC that is distributed with > openSUSE 11.0 is > > $ gcc --version > gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] > Copyright (C) 2008 Free Software Foundation, Inc. > This i

[sage-support] Re: Debugging; how to use sage -gdb?

2009-08-06 Thread Minh Nguyen
Hi Simon, On Fri, Aug 7, 2009 at 8:09 AM, Simon King wrote: > > Hi! > > Currently I am puzzled by a bug, and so far my approaches to tackle it > down failed. I guess I should use debugging tools such as gdb, but I > did not find a tutorial or wiki page concerning "sage -gdb". For > example: When

[sage-support] Re: Debugging; how to use sage -gdb?

2009-08-06 Thread Simon King
What I said about inserting loads(dumps(self)) holds on openSUSE 11.0 Intel Core Duo, but I am afraid it doesn't on sage.math. Anyway. I think sage -gdb should allow me to see what exactly went wrong (freeing non-allocated memory? double free? whatever?), and also show me, in what line the memory

[sage-support] Expanding long equations

2009-08-06 Thread Hugo
I am trying to find a continuation for a polynomial function The function is very long, but uses no fractional exponents or trigonometry Due to some devisions by zero it is not defined in some places for which there should be a solution, and I was hoping I could expand it and then cancel those te

[sage-support] Debugging; how to use sage -gdb?

2009-08-06 Thread Simon King
Hi! Currently I am puzzled by a bug, and so far my approaches to tackle it down failed. I guess I should use debugging tools such as gdb, but I did not find a tutorial or wiki page concerning "sage -gdb". For example: When I start "sage -gdb", how do I get the gdb prompt so that I can set break p

[sage-support] ETS.spkg rebuilt

2009-08-06 Thread Jorge E . ´Sanchez Sanchez
Hi! I'm sorry for bothering you with perhaps trivialities but I am desperate trying to get my sage-ETS rebuilt again. I was working happily with your ets-3.1.1.rev22704-py2.5.spkg (specially mayavi). Almost each month I was doing my sage upgrade from source (without problems) but in t

[sage-support] Re: readline? problem

2009-08-06 Thread John H Palmieri
On Aug 6, 11:40 am, John H Palmieri wrote: > I have a problem with Sage and maybe readline on an ubuntu box.  If I > type > >   sage: squ > > then it partially completes to > >   sage: squarefree_ > > Then it lists the options ("squarefree_divisors  squarefree_part") and > puts the cursor in the

[sage-support] readline? problem

2009-08-06 Thread John H Palmieri
I have a problem with Sage and maybe readline on an ubuntu box. If I type sage: squ then it partially completes to sage: squarefree_ Then it lists the options ("squarefree_divisors squarefree_part") and puts the cursor in the wrong place: the cursor ends up on the "s" in "squarefree_".

[sage-support] Re: Division by zero in calculation of Weil Pairing

2009-08-06 Thread VictorMiller
Hmm, In looking at ell_point.py at line 1181 it looks like it does the right thing. Somehow the pari error of division by 0 (perhaps in non- prime finite fields?) doesn't get raised as a ZeroDivisionError. This is a problem with the interface with pari: p = 100019 K. = GF(p) L. = GF(p^2) K(1)/K

[sage-support] Re: Division by zero in calculation of Weil Pairing

2009-08-06 Thread VictorMiller
Slight change. The code I gave works, but the following fails. I really don't know what there is about a non-prime finite field that causes this. Victor p=100019 E = EllipticCurve(j=GF(p^2,'r')(1728)) M = (p+1)//3 # find an element of order 3 while True: P = M*E.random_element() if P != 0:

[sage-support] Division by zero in calculation of Weil Pairing

2009-08-06 Thread VictorMiller
In calculating the Weil Pairing of two points I get a pari division by zero error. Needless to say this shouldn't happen. I think that the solution is that if either of the miller_functions that are calculated yield a 0 then the value of the Weil Pairing must be 1. Here's some code that provoke

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread Marshall Hampton
I have a proposed experimental pynifti package, tracked as ticket #6678: http://trac.sagemath.org/sage_trac/ticket/6678 -Marshall On Aug 5, 10:23 pm, Marshall Hampton wrote: > Maybe this was some sort of path issue I don't understand, but when I > tried things again it seemed to work, i.e. if

[sage-support] Re: problem installing sage

2009-08-06 Thread William Stein
On Thu, Aug 6, 2009 at 6:52 AM, alessandro wrote: > > Hello, > I have installed the binary version of Sage on a notebook. > When I open a terminal and I type "./sage", I get the following > result: You have to build from source or wait (October?) until we finally figure out how to make binaries

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread William Stein
On Thu, Aug 6, 2009 at 7:17 AM, Marshall Hampton wrote: > > I have put my spkg up at: > > http://sage.math.washington.edu/home/mhampton/pynifti-p0.spkg > > I will make a ticket for this to become an experimental spkg. > If you made the ticket, you can close it, since I added the above to experime

[sage-support] problem installing sage

2009-08-06 Thread alessandro
Hello, I have installed the binary version of Sage on a notebook. When I open a terminal and I type "./sage", I get the following result: -- | Sage Version 4.1, Release Date: 2009-07-09 | | Type notebook()

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread Marshall Hampton
I have put my spkg up at: http://sage.math.washington.edu/home/mhampton/pynifti-p0.spkg I will make a ticket for this to become an experimental spkg. -Marshall Hampton On Aug 5, 10:23 pm, Marshall Hampton wrote: > Maybe this was some sort of path issue I don't understand, but when I > tried t

[sage-support] Re: Type set of symbols missing

2009-08-06 Thread Burcin Erocal
On Wed, 5 Aug 2009 23:33:40 -0700 (PDT) Rene Bosch wrote: > > hello, > I've seen a topic on this issue regarding integrals, with a ticket > that apparently is closed in the meantime. > I do see the problem still appearing in 4.1 for - in this case - the > sqrt symbol. Tried Mac OSX and on-line

[sage-support] Type set of symbols missing

2009-08-06 Thread Rene Bosch
hello, I've seen a topic on this issue regarding integrals, with a ticket that apparently is closed in the meantime. I do see the problem still appearing in 4.1 for - in this case - the sqrt symbol. Tried Mac OSX and on-line Sage. Simple examples: When I type a simple "sqrt(2)" I do get it type