[sage-support] Sage server on a gentoo system

2008-04-19 Thread gerhard
Does anybody have some hints on how to get a sage server up and running on a gentoo system? I have never tried it on any system, and the guidelines in the sage docs do not readily apply in this case. I presume I need to configure apache somehow, create subdirectories with the sage code, and ??

[sage-support] Re: Sage server on a gentoo system

2008-04-19 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I don't think you need to do anything special. Just install sage the normal way (either from binaries or building from source), then run sage -notebook This can be run either as root or as a normal user (probably preferable).

[sage-support] Re: Sage server on a gentoo system

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 9:38 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I don't think you need to do anything special. Just install sage the > normal way (either from binaries or building from source), then run > >

[sage-support] Re: Sage server on a gentoo system

2008-04-19 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William Stein wrote: | On Sat, Apr 19, 2008 at 9:38 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote: | The "mysterious reason" is that we enhanced the security of | the notebook for local users. Namely, you now *must* do | | sage -c "notebook(address='th

[sage-support] Re: Sage server on a gentoo system

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 9:59 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > William Stein wrote: > | On Sat, Apr 19, 2008 at 9:38 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote: > > | The "mysterious reason" is that we enhanced the security of >

[sage-support] bug in DirichletGroup?

2008-04-19 Thread David Joyner
Hi: I wonder if this behavior is a bug? sage: G = DirichletGroup(21) sage: chi = G.0; chi [-1, 1] sage: chi.values() [0, 1, -1, 0, 1, -1, 0, 0, -1, 0, 1, -1, 0, 1, 0, 0, 1, -1, 0, 1, -1] So far, so good (similar code is in the tutorial: http://www.sagemath.org/doc/html/tut/node15.html). Now use

[sage-support] Re: bug in DirichletGroup?

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 1:55 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > Hi: > > I wonder if this behavior is a bug? > > sage: G = DirichletGroup(21) > sage: chi = G.0; chi > [-1, 1] > sage: chi.values() > [0, 1, -1, 0, 1, -1, 0, 0, -1, 0, 1, -1, 0, 1, 0, 0, 1, -1, 0, 1, -1] > > So far

[sage-support] Re: bug in DirichletGroup?

2008-04-19 Thread David Joyner
On Sat, Apr 19, 2008 at 5:08 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > On Sat, Apr 19, 2008 at 1:55 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > Hi: > > > > I wonder if this behavior is a bug? > > > > sage: G = DirichletGroup(21) > > sage: chi = G.0; chi > > [-1, 1] >

[sage-support] Re: bug in DirichletGroup?

2008-04-19 Thread mabshoff
On Apr 19, 11:28 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > Yes, this is definitely a bug. Definitely report it to trac. > > Done:http://trac.sagemath.org/sage_trac/ticket/2959 > I set the milestone as 3.0.1 since I thought Michael said no more > new tickets in 3.0. Well, I said no mo

[sage-support] Re: bug in DirichletGroup?

2008-04-19 Thread Craig Citro
Yep, that's my fault. Fix is up at #2959; if you try it out and run into any issues, just let me know. -cc On Sat, Apr 19, 2008 at 1:55 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > Hi: > > I wonder if this behavior is a bug? > > sage: G = DirichletGroup(21) > sage: chi = G.0; chi > [-1,

[sage-support] Doctesting external files

2008-04-19 Thread Timothy Clemans
Hi, I'm using Sage to doctest the code I've written for a new external project that I started. Currently I have to put ">>> from table import *" at the top of each of my doctest blocks. I don't want to have to add and remove this line before each release especially as my code base enlarges. I'm

[sage-support] Re: Doctesting external files

2008-04-19 Thread William Stein
On Sat, Apr 19, 2008 at 9:34 PM, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using Sage to doctest the code I've written for a new external > project that I started. Currently I have to put ">>> from table import > *" at the top of each of my doctest blocks. I don't want to have