#4135: [with patch, needs review] notebook -- user management features
----------------------------+-----------------------------------------------
Reporter: TimothyClemans | Owner: boothby
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.3
Component: notebook | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by ddrake):
I've applied all the necessary patches to a 3.1.3alpha1 tree, but when I
try to start Sage, I get:
{{{
/var/tmp/sage-3.1.3.alpha1/local/lib/python2.5/site-
packages/sage/server/notebook/twist.py in <module>()
1935 return False
1936
-> 1937 from sage.server.notebook.template import
registration_page_template
1938 from sage.server.notebook.template import login_page_template
1939
/var/tmp/sage-3.1.3.alpha1/local/lib/python2.5/site-
packages/sage/server/notebook/template.py in <module>()
38 templates = ['login', 'yes_no', 'failed_login', 'register',
'admin_add_user']
39 for name in templates:
---> 40 G[name + '_template'] = PageTemplate(pjoin(path,
'%s.template'%name))
41
42 def login_page_template(accounts, default_user,
is_username_error=False, is_password_error=False, welcome=None,
recover=False):
/var/tmp/sage-3.1.3.alpha1/local/lib/python2.5/site-
packages/sage/server/notebook/template.py in __init__(self, filename)
27 class PageTemplate:
28 def __init__(self, filename):
---> 29 file = open(filename, 'r')
30 self.__template = Template(file.read())
31 file.close()
IOError: [Errno 2] No such file or directory:
'/var/tmp/sage-3.1.3.alpha1/data/extcode/notebook/templates/admin_add_user.template'
}}}
That's just the last part of the traceback; the rest doesn't seem so
interesting...but let me know if you want to see it.
I've looked through the patches from 4134, 2407, and this ticket, and I
don't see where the file `admin_add_user.template` is created. I have all
those patches applied (except 4134, which has already been merged); how do
I get that file?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4135#comment:7>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---