[sage-support] Re: Mysterious problem.

2008-03-26 Thread Michel
"which sage" gives /usr/bin/sage which is the usual script which sets SAGE_ROOT (/usr/local/share/sage-2.10.4 in this case) and calls /usr/local/share/sage-2.10.4/local/bin/sage-sage. Things like env SAGE_ROOT=/usr/local/share/sage-2.10.4 /usr/local/share/ sage-2.10.4/local/bin/sage-sage -singul

[sage-support] Re: no sage.bin

2008-03-26 Thread William Stein
On Wed, 26 Mar 2008 12:48:50 -0700, toothpaste <[EMAIL PROTECTED]> wrote: > > Michael, Thank you for this response. > > I am installing from source. I don't know the architecture of the > system. It is a virtual debian machine that I rent at tektonic.com. (1) What does uname -a output? W

[sage-support] Re: Mysterious problem.

2008-03-26 Thread William Stein
On Wed, 26 Mar 2008 15:36:14 -0700, Michel <[EMAIL PROTECTED]> wrote: > > I have a fresh sage-2.10.4 install (compiled from source). I have done > "make install" > and "install_scripts". > > If I do "sage -singular" I get Is the output of which sage the sage script that is in you SAGE_ROOT

[sage-support] Re: solve() behavior

2008-03-26 Thread William Stein
On Wed, 26 Mar 2008 17:04:10 -0700, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > Hi, > While trying to compute the Golden ratio using SAGE I noticed the > following strange (to me) behavior in solve(). > > * This fails: > > sage: var('a b phi') > (a, b, phi) > sage: solve([phi==a/b, phi==(a

[sage-support] Re: using optional packages

2008-03-26 Thread William Stein
On Wed, 26 Mar 2008 18:55:18 -0700, David Joyner <[EMAIL PROTECTED]> wrote: > > I don't use windows but the way you are trying is definitely wrong. > In linux you just type "sage -i gap_packages-4.4.10_4" and it downloads > it (assuming you have internet) and installs it for you. It also loads th

[sage-support] Re: using optional packages

2008-03-26 Thread David Joyner
I don't use windows but the way you are trying is definitely wrong. In linux you just type "sage -i gap_packages-4.4.10_4" and it downloads it (assuming you have internet) and installs it for you. It also loads the GAP packages into the saved GAP workspace. Therefore, once it is installed, all of

[sage-support] using optional packages

2008-03-26 Thread Becky
I am new to SAGE, and not particularly computer-savy. My computer uses Windows and so I use the VMware Player to run SAGE. I am trying to use some of the features of GAP and have downloaded "gap_packages-4.4.10_4". I saved it in the folder "sage- vmware-2.8.7". I tried, unsuccessfully, to load

[sage-support] solve() behavior

2008-03-26 Thread Hector Villafuerte
Hi, While trying to compute the Golden ratio using SAGE I noticed the following strange (to me) behavior in solve(). * This fails: sage: var('a b phi') (a, b, phi) sage: solve([phi==a/b, phi==(a+b)/a], phi) --- T

[sage-support] Mysterious problem.

2008-03-26 Thread Michel
I have a fresh sage-2.10.4 install (compiled from source). I have done "make install" and "install_scripts". If I do "sage -singular" I get Singular-3-0-4: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by libstdc++.so.6) If I go once to the SAGE_ROOT directory and do the same comm

[sage-support] Re: no sage.bin

2008-03-26 Thread toothpaste
Michael, Thank you for this response. I am installing from source. I don't know the architecture of the system. It is a virtual debian machine that I rent at tektonic.com. > > Does that happen when you run "./sage" also? Yes, it happens whether I run "./sage" or "sage". Please see below for

[sage-support] Published worksheets, Internal Server Error

2008-03-26 Thread dean moore
The published worksheets have given an "Internal Server Error" for some time now. Dean --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTEC

[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread Jay Pottharst
Thanks all for the replies. As far as the coercion issues go, I generally agree. I'd be happy to have access to a CuspForms(22).zero_element() or CuspForms(22)(0), and start my summation there. Re: I agree with William for the defaults. Jay --~--~-~--~~~---~--~---

[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread Craig Citro
> Wait -- it's perfectly fine that M(0) works! It's only bad if this > were to work: > > sage: M._coerce_impl(0) > (0, 0, 0) > > In fact, the above does work. That's because this code is wrong: > > def _coerce_impl(self, x): > """ > Canonical coercion of x into this fre

[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread William Stein
On Wed, Mar 26, 2008 at 11:42 AM, Craig Citro <[EMAIL PROTECTED]> wrote: > > Hey all, > > (I'm cc'ing this to sage-devel, because I think there are people there > who care about modular forms who might not read sage-support.) > > So I've also posted a patch on #2674, which actually fixes both

[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread Craig Citro
Hey all, (I'm cc'ing this to sage-devel, because I think there are people there who care about modular forms who might not read sage-support.) So I've also posted a patch on #2674, which actually fixes both of these issues, as well as the fact that it currently is the case that adding an element

[sage-support] Re: sage-2.10.4 on opensuse 10.3

2008-03-26 Thread William Stein
On Wed, Mar 26, 2008 at 9:29 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Mar 26, 5:18 pm, Florin <[EMAIL PROTECTED]> wrote: > > Thanks everybody for your help. > > > > Following the advice here, these are the solutions that worked out for > > me: > > > > 1,2. Eliminating the Intel co

[sage-support] Re: sh: convert: command not found

2008-03-26 Thread Janzo
Ok it's working. Thanks to both. On Mar 26, 7:24 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Wed, Mar 26, 2008 at 11:10 AM, Janzo <[EMAIL PROTECTED]> wrote: > > > Hi: > > I'm learning the plot functions, sage show that error: > > > sh: convert: command not found > > > when i try to ev

[sage-support] Re: sh: convert: command not found

2008-03-26 Thread William Stein
On Wed, Mar 26, 2008 at 11:10 AM, Janzo <[EMAIL PROTECTED]> wrote: > > Hi: > I'm learning the plot functions, sage show that error: > > sh: convert: command not found > > when i try to evaluate: > > v=[] > for i in range(3): > v.append(polygon([[1,2],[5,6],[5,0],[6,i]], rgbcolor=(1,0,1))

[sage-support] Re: sh: convert: command not found

2008-03-26 Thread alex clemesha
Hi, You need Imagemagick: http://www.imagemagick.org/script/index.php -Alex On Wed, Mar 26, 2008 at 11:10 AM, Janzo <[EMAIL PROTECTED]> wrote: > > Hi: > I'm learning the plot functions, sage show that error: > > sh: convert: command not found > > when i try to evaluate: > > v=[] > for i in ran

[sage-support] sh: convert: command not found

2008-03-26 Thread Janzo
Hi: I'm learning the plot functions, sage show that error: sh: convert: command not found when i try to evaluate: v=[] for i in range(3): v.append(polygon([[1,2],[5,6],[5,0],[6,i]], rgbcolor=(1,0,1))) curve = animate(v) curve.show() Any idea of what package I need? thanks --~--~-~

[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread William Stein
On Tue, Mar 25, 2008 at 10:54 PM, Jay Pottharst <[EMAIL PROTECTED]> wrote: > > Hi all, I'm having trouble adding two modular forms together, > sometimes. Here is a whittled-down demo case: > > sage: b=CuspForms(22).basis() > sage: sum(b) > Traceback (most recent call last): > ... > NameErr

[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread Justin C. Walker
On Mar 25, 2008, at 22:54 , Jay Pottharst wrote: > > Hi all, I'm having trouble adding two modular forms together, > sometimes. Here is a whittled-down demo case: > > sage: b=CuspForms(22).basis() > sage: sum(b) > Traceback (most recent call last): > ... > NameError: global name 'other' is not d

[sage-support] Re: sage-2.10.4 on opensuse 10.3

2008-03-26 Thread mabshoff
On Mar 26, 5:18 pm, Florin <[EMAIL PROTECTED]> wrote: > Thanks everybody for your help. > > Following the advice here, these are the solutions that worked out for > me: > > 1,2. Eliminating the Intel compilers from the path resulted in a clean > build of sage, all the tests were successful.. Ok

[sage-support] Re: sage-2.10.4 on opensuse 10.3

2008-03-26 Thread Florin
Thanks everybody for your help. Following the advice here, these are the solutions that worked out for me: 1,2. Eliminating the Intel compilers from the path resulted in a clean build of sage, all the tests were successful.. 3. removing the .aux and .toc cache files from the documentation area

[sage-support] Re: no sage.bin

2008-03-26 Thread mabshoff
On Mar 26, 4:39 pm, toothpaste <[EMAIL PROTECTED]> wrote: > I have successfully installed sage on my debian box and I am so > excited to use it. What exactly did you do? Install from source? Install a binary? If so which binary? What arch are you on? > But it can't seem to find the sage.bin.  

[sage-support] no sage.bin

2008-03-26 Thread toothpaste
I have successfully installed sage on my debian box and I am so excited to use it. But it can't seem to find the sage.bin. Here are the errors I got when I tried to run sage. /usr/bin/env: sage.bin: No such file or directory /home/ralf/sage/sage-src/sage-2.10.4/local/bin/sage-sage: /home/ralf/

[sage-support] Re: How to get non-axis aligned ellipsoid?

2008-03-26 Thread vakaras
Yes, thanks. On Mar 25, 9:55 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > VAkaras Liutinkevicius wrote: > > How to get non-axis aligned ellipsoid? > > > If I do this: > > sage: a, b = var('a,b') > > sage: fx = 3*cos(b)*cos(a) > > sage: fy = 2*cos(b)*sin(a) > > sage: fz = sin(b) > > sage: P = para

[sage-support] modular forms bug(s)?

2008-03-26 Thread Jay Pottharst
Hi all, I'm having trouble adding two modular forms together, sometimes. Here is a whittled-down demo case: sage: b=CuspForms(22).basis() sage: sum(b) Traceback (most recent call last): ... NameError: global name 'other' is not defined The following also doesn't work: sage: ssum=0 sage: for u