500: Internal server error. On password change

asked 2017-10-11 02:14:52 -0500

justineuro gravatar image

updated 2017-10-11 02:25:08 -0500

Hi! Just encountered some problems in changing the admin password in sage-8.0 (running in Linux Mint 18.2 || Ubunutu 16.04) Downloaded sage-8.0 binary (sage-8.0-Ubuntu_16.04-i686.tar.bz2). ./sage went fine and was able to set password for admin. notebook() opened a page on my browser: localhost:8080 with admin already logged-on. Problems:

  1. After logging out of admin, I couldn't login again with the password I just set (upon starting with ./sage)
  2. Trying to change the password through the "Settings" on the upper right of the 'admin' page gave a page with a "500: internal server error." On the console, I got a somewhat lengthy error message from python, which I have included below:

Could not build url for endpoint 'settings_page'. Did you mean 'settings.settings_page' instead?
Traceback (most recent call last):
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args) File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/sagenb/flask_version/decorators.py", line 22, in > wrapper
return f(*args, **kwds)
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/sagenb/flask_version/decorators.py", line 49, in
return f(*args, **kwds)
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/sagenb/flask_version/settings.py", line 62, in
return current_app.message(error, url_for('settings_page'), username=g.username)
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/flask/helpers.py", line 312, in url_for
return appctx.app.handle_url_build_error(error, endpoint, values)
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/flask/app.py", line 1641, in handle_url_build_error
reraise(exc_type, exc_value, tb)
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/flask/helpers.py", line 305, in url_for
File "/home/juro/Downloads/sage/SageMath/local/lib/python2.7/site-packages/werkzeug/routing.py", line 1758, in build
raise BuildError(endpoint, values, method, self)
BuildError: Could not build url for endpoint 'settings_page'. Did you mean 'settings.settings_page' instead?

Thank you in advance for any insights/clues as to what might be causing the error! Best!

edit retag flag offensive close merge delete