You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/29 15:06:40 UTC

[GitHub] [airflow] rgdev commented on issue #22035: In 'list users', clicking 'show record' button returns an error page

rgdev commented on issue #22035:
URL: https://github.com/apache/airflow/issues/22035#issuecomment-1081989007


   Error occurs on both 2.2.3 and 2.2.4 (python 3.9) running in Docker containers. I've made the same observations as @SangwanP, it works once then a few minutes need to pass by to access it again. In this test case the users are handled using google oauth.
   
   ```
   Python version: 3.9.10
   Airflow version: 2.2.4
   Node: 8ae1c307a746
   -------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/home/airflow/.local/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/airflow/.local/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/airflow/.local/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/airflow/.local/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
       raise value
     File "/home/airflow/.local/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/airflow/.local/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/home/airflow/.local/lib/python3.9/site-packages/flask_appbuilder/security/decorators.py", line 148, in wraps
       return f(self, *args, **kwargs)
     File "/home/airflow/.local/lib/python3.9/site-packages/airflow/www/views.py", line 4699, in show
       widgets['show'].template_args['actions'].pop('userinfoedit')
   KeyError: 'userinfoedit'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org