#6299: major scoping error introduced by refactoring dsage
----------------------+-----------------------------------------------------
Reporter: was | Owner: boothby
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0.2
Component: notebook | Keywords:
Reviewer: | Author:
Merged: |
----------------------+-----------------------------------------------------
Configuration of dsage / notebook's secure certificate was completely 100%
broken by factoring Dsage out from sage:
{{{
----------------------------------------------------------------------
sage: notebook.setup()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/scratch/wstein/sage/temp/sage.math.washington.edu/15047/_scratch_wstein_sage_init_sage_0.py
in <module>()
AttributeError: NotebookObject instance has no attribute 'settup'
sage: notebook.setup()
Using dsage certificates.
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)
/scratch/wstein/sage/temp/sage.math.washington.edu/15047/_scratch_wstein_sage_init_sage_0.py
in <module>()
/scratch/wstein/build/sage-4.0.2.rc0/local/lib/python2.5/site-
packages/sage/server/notebook/run_notebook.pyc 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
sage:
----
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6299>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---