Issue #417 resolved

Traceback accessing http://localhost:8080/+admin/userbrowser

Roger Haase
created an issue

The email address from new user registration is not copied to right location. Create a new user ID, login, go to User Settings, Notification Settings, note there is no email address, but you may create one there.

If you are logged in as superuser, click Admin tab, and then click Users link to http://localhost:8080/+admin/userbrowser, If there are any users who have registered, but not yet created an email address within Notification Settings, there is a traceback.

But, rather than worry about the traceback, instead look at why Notification Settings does not know the email address entered at user registration.

  2014-02-19 12:24:30,967 INFO werkzeug:87 127.0.0.1 "GET /+admin/userbrowser HTTP/1.1" 500 -
  Traceback (most recent call last):
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1836, in __call__
      return self.wsgi_app(environ, start_response)
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1820, in wsgi_app
      response = self.make_response(self.handle_exception(e))
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1403, in handle_exception
      reraise(exc_type, exc_value, tb)
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1817, in wsgi_app
      response = self.full_dispatch_request()
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
      rv = self.handle_user_exception(e)
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
      reraise(exc_type, exc_value, tb)
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
      rv = self.dispatch_request()
    File "D:\Bitbucket\m2-x3-venv-python\lib\site-packages\flask\app.py", line 1461, in dispatch_request
      return self.view_functions[rule.endpoint](**req.view_args)
    File "d:\bitbucket\m2-x3\MoinMoin\security\__init__.py", line 38, in wrapped_f
      return f(*args, **kw)
    File "d:\bitbucket\m2-x3\MoinMoin\apps\admin\views.py", line 55, in userbrowser
      ) for rev in revs]
    File "d:\bitbucket\m2-x3\MoinMoin\storage\middleware\indexing.py", line 1267, in __getitem__
      return self._meta[key]
  KeyError: u'email'

Comments (5)

  1. Log in to comment