Univention Bugzilla – Bug 51521
cherrypy changes in debian buster
Last modified: 2021-05-25 16:02:46 CEST
The following exception occurred during error handling. cherrypy then prints a HTML page with that traceback: Traceback (most recent call last): File "/usr/sbin/univention-management-console-web-server", line 1030, in sso self._auth_request(req, user.sessionid) File "/usr/sbin/univention-management-console-web-server", line 1080, in _auth_request response = self.make_queue_request(sessionid, req) File "/usr/sbin/univention-management-console-web-server", line 854, in make_queue_request raise UMC_HTTPError(response.status, response.message, response.result, response.error) UMC_HTTPError: (401, 'Authentisierung ist fehlgeschlagen. Bitte melden Sie sich erneut an.') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python3/dist-packages/cherrypy/lib/encoding.py", line 220, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python3/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/sbin/univention-management-console-web-server", line 1037, in sso 'The SAML authentication failed. This might be a temporary problem. Please login again.\n' UMC_HTTPError: (500, 'The SAML authentication failed. This might be a temporary problem. Please login again.\nFurther information can be found in the following logfiles:\n* /var/log/univention/management-console-web-server.log\n* /var/log/univention/management-console-server.log\n') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 678, in respond inst.set_response() File "/usr/sbin/univention-management-console-web-server", line 505, in set_response content = default_error_page(self.status, self._message, traceback, None, self.body) File "/usr/sbin/univention-management-console-web-server", line 107, in _decorated return func(*args, **kwargs) File "/usr/sbin/univention-management-console-web-server", line 449, in default_error_page return default_error_page_html(status, message, traceback, version, result) File "/usr/sbin/univention-management-console-web-server", line 461, in default_error_page_html content = fd.read().replace('%ERROR%', json.dumps(cherrypy._cperror._escape(content, True))) AttributeError: module 'cherrypy._cperror' has no attribute '_escape'
The apache rules should ignore /js/ but this seems not the case anymore?!: 27.06.20 22:44:05.984 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python3/dist-packages/cherrypy/lib/encoding.py", line 220, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python3/dist-packages/cherrypy/_cperror.py", line 415, in __call__ raise self cherrypy._cperror.NotFound: (404, "The path '/js/dijit/themes/umc/icons/scalable/apps-testapp_htntdqqnyl.svg' was not found.")
Fixed in: univention-management-console (12.0.0-5) | Bug #51521: fix cherrypy incompatibility (In reply to Florian Best from comment #1) This is Bug #51604.
verified: - /usr/sbin/univention-management-console-web-server is running with python3 - changelog entry in UMC debian package exists
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".