#7628: Error on account creation still creates (half of) an account
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  was     
       Type:  defect    |      Status:  new     
   Priority:  major     |   Milestone:  sage-4.3
  Component:  notebook  |    Keywords:          
Work_issues:            |      Author:          
   Upstream:  N/A       |    Reviewer:          
     Merged:            |  
------------------------+---------------------------------------------------
 I went to the settings page and checked yes to allowing new registrations
 and requiring an email address.  I then created an account with username
 asdf and password asdf.  It returned an error (bad password; contains the
 username).  I logged out anyway and logged back in as admin.  Then I
 clicked on Settings, and got the following error:


 {{{


 2009-12-08 13:34:06-0600 [HTTPChannel,3,127.0.0.1] Exception rendering:
 2009-12-08 13:34:06-0600 [HTTPChannel,3,127.0.0.1] Unhandled Error
    Traceback (most recent call last):
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 186, in addCallbacks
        self._runCallbacks()
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
        self.result = callback(self.result, *args, **kw)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 289, in _continue
        self.unpause()
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 285, in unpause
        self._runCallbacks()
    --- <exception caught here> ---
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
        self.result = callback(self.result, *args, **kw)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 296, in <lambda>
        d.addCallback(lambda res, req: res.renderHTTP(req), self)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 85, in renderHTTP
        return method(request)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 202, in http_GET
        return super(Resource, self).http_GET(request)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 128, in http_GET
        return self.render(request)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/sagenb/notebook/twist.py", line 962, in render
        template_dict['email_address'] = 'None' if not
 notebook.user(self.username)._User__email else
 notebook.user(self.username)._User__email
    exceptions.AttributeError: 'User' object has no attribute
 '_User__email'

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7628>
Sage <http://www.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.


Reply via email to