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 2021/11/15 06:37:10 UTC

[GitHub] [airflow] nediGit edited a comment on issue #19556: Checking roles and users list in Web UI, give me an error

nediGit edited a comment on issue #19556:
URL: https://github.com/apache/airflow/issues/19556#issuecomment-967307928


   Sure, selecting List Users
   ![image](https://user-images.githubusercontent.com/29753976/141512709-2790d0f4-da48-403f-b19e-777ba5ae7df7.png)
   
   And the error:
   
   ```
   Something bad has happened.
   Please consider letting us know by creating a bug report using GitHub.
   
   Python version: 3.6.8
   Airflow version: 2.1.2
   Node: robots-kube003.nosis.interno
   -------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
       raise value
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 109, in wraps
       return f(self, *args, **kwargs)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask_appbuilder/views.py", line 551, in list
       widgets = self._list()
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 1136, in _list
       form = self.search_form.refresh()
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask_appbuilder/forms.py", line 329, in refresh
       form = self(obj=obj)
     File "/usr/local/lib/python3.6/site-packages/wtforms/form.py", line 208, in __call__
       return type.__call__(cls, *args, **kwargs)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask_wtf/form.py", line 87, in __init__
       super(FlaskForm, self).__init__(formdata=formdata, **kwargs)
     File "/usr/local/lib/python3.6/site-packages/wtforms/form.py", line 268, in __init__
       super(Form, self).__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
     File "/usr/local/lib/python3.6/site-packages/wtforms/form.py", line 51, in __init__
       field = meta.bind_field(self, unbound_field, options)
     File "/usr/local/lib/python3.6/site-packages/wtforms/meta.py", line 27, in bind_field
       return unbound_field.bind(form=form, **options)
     File "/usr/local/lib/python3.6/site-packages/wtforms/fields/core.py", line 376, in bind
       return self.field_class(*self.args, **kw)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/flask_appbuilder/fields.py", line 182, in __init__
       "allow_blank=True does not do anything for QuerySelectMultipleField."
     File "/usr/lib64/python3.6/warnings.py", line 99, in _showwarnmsg
       msg.file, msg.line)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/airflow/settings.py", line 114, in custom_show_warning
       write_console.print(msg, soft_wrap=True)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/rich/console.py", line 1601, in print
       self._buffer.extend(new_segments)
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/rich/console.py", line 815, in __exit__
       self._exit_buffer()
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/rich/console.py", line 774, in _exit_buffer
       self._check_buffer()
     File "/home/dlabrador@nosis.interno/.local/lib/python3.6/site-packages/rich/console.py", line 1824, in _check_buffer
       self.file.write(text)
   OSError: [Errno 5] Input/output error
   ```


-- 
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