[sage-support] Re: notebook.setup() problem

2009-06-17 Thread lenient7

Thank you for the patch Mike, It works great.

And, thank you for the recommendation on Python books, William.

On Jun 15, 3:04 pm, Mike Hansen  wrote:
> On Mon, Jun 15, 2009 at 9:59 AM, William Stein wrote:
> >>> It's completely broken.  This is a new bug in Sage-4.0, which was
> >>> introduced by factoring dsage out from the core sage library, I think
> >>> by Mike Hansen.  I've opened a blocker ticket for this:
>
> >>>http://trac.sagemath.org/sage_trac/ticket/6299
>
> >>> I hope Mike will fix this, or if not him, then somebody. It shouldn't be 
> >>> hard.
>
> >>> In the meantime, you'll unfortunately have to wait a little, or try to
> >>> fix the problem yourself.  The fix is probably just to stick some
> >>> import statement somewhere obvious.
>
> Patch is up athttp://trac.sagemath.org/sage_trac/ticket/6299.
>
> --Mike
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: notebook.setup() problem

2009-06-15 Thread lenient7

Thank you William,

I am seriously considering learning Python. In any case, it looks like
that I need to be versatile with Python to use Sage well.

On Jun 15, 11:39 am, William Stein  wrote:
> On Mon, Jun 15, 2009 at 5:03 PM, lenient7 wrote:
>
> > Hello everyone,
>
> > I am very new to the sage.
>
> > I tried to use the sage from a remote client. On that regard, I am
> > running the Sage  4.0.1 on OpenSUSE 11.1 64bit edition. However when I
> > am trying to run notebook with 'secure=True' option, it gives errors
> > which looks like coming from notebook.setup().
>
> It's completely broken.  This is a new bug in Sage-4.0, which was
> introduced by factoring dsage out from the core sage library, I think
> by Mike Hansen.  I've opened a blocker ticket for this:
>
> http://trac.sagemath.org/sage_trac/ticket/6299
>
> I hope Mike will fix this, or if not him, then somebody. It shouldn't be hard.
>
> In the meantime, you'll unfortunately have to wait a little, or try to
> fix the problem yourself.  The fix is probably just to stick some
> import statement somewhere obvious.
>
>
>
> > Following lines are from when I trying this process with freshly
> > installed sage. Any idea or hint will be highly appreciated!
>
> > lenie...@lenient7:~/bin/sage-4.0.1> ./
> > sage
> > --
> > | Sage Version 4.0.1, Release Date: 2009-06-06
> > |
> > | Type notebook() for the GUI, and license() for information.
> > |
> > --
> > The SAGE install tree may have
> > moved.
> > Regenerating Python.pyo and .pyc files that hardcode the install PATH
> > (please wait at
> > most a few
> > minutes)...
> > Do not interrupt
> > this.
> > sage: notebook.setup()
> > Using dsage certificates.
> > ---
> > NameError                                 Traceback (most recent call
> > last)
>
> > /home/lenient7/bin/sage-4.0.1/ in ()
>
> > /home/lenient7/bin/sage-4.0.1/local/lib/python2.5/site-packages/sage/
> > server/notebook/run_notebook.py in notebook_setup(self)
> >     39         print "Using dsage
> > certificates."
> >     40         dsage = os.path.join(DOT_SAGE,
> > 'dsage')
> > ---> 41         sage.dsage.all.dsage.setup
> > ()
> >     42         shutil.copyfile(dsage + '/cacert.pem',
> > private_pem)
> >     43         shutil.copyfile(dsage + '/pubcert.pem',
> > public_pem)
>
> > NameError: global name 'sage' is not defined
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~-~--~~~---~--~~
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
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] notebook.setup() problem

2009-06-15 Thread lenient7

Hello everyone,

I am very new to the sage.

I tried to use the sage from a remote client. On that regard, I am
running the Sage  4.0.1 on OpenSUSE 11.1 64bit edition. However when I
am trying to run notebook with 'secure=True' option, it gives errors
which looks like coming from notebook.setup().

Following lines are from when I trying this process with freshly
installed sage. Any idea or hint will be highly appreciated!


lenie...@lenient7:~/bin/sage-4.0.1> ./
sage
--
| Sage Version 4.0.1, Release Date: 2009-06-06
|
| Type notebook() for the GUI, and license() for information.
|
--
The SAGE install tree may have
moved.
Regenerating Python.pyo and .pyc files that hardcode the install PATH
(please wait at
most a few
minutes)...
Do not interrupt
this.
sage: notebook.setup()
Using dsage certificates.
---
NameError Traceback (most recent call
last)

/home/lenient7/bin/sage-4.0.1/ in ()

/home/lenient7/bin/sage-4.0.1/local/lib/python2.5/site-packages/sage/
server/notebook/run_notebook.py in notebook_setup(self)
 39 print "Using dsage
certificates."
 40 dsage = os.path.join(DOT_SAGE,
'dsage')
---> 41 sage.dsage.all.dsage.setup
()
 42 shutil.copyfile(dsage + '/cacert.pem',
private_pem)
 43 shutil.copyfile(dsage + '/pubcert.pem',
public_pem)

NameError: global name 'sage' is not defined

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



[sage-support] Dimensional Analysis or Unit Conversion capability?

2009-06-11 Thread lenient7

Does SAGE have functionality for the dimensional analysis or unit
conversion? For example, identifying dimension of energy as MASS *
LENGTH^2 * TIME^(-2) or converting inch into meter.

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