feluelle edited a comment on issue #8228: Expose Airflow Webserver Port in 
Production Docker Image
URL: https://github.com/apache/airflow/pull/8228#issuecomment-613384798
 
 
   I also had an issue with volumes being mounted `GET`ting on `/home`:
   
   ```
   Traceback (most recent call last):
     File "/home/airflow/.local/lib/python3.7/site-packages/flask/app.py", line 
2446, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/airflow/.local/lib/python3.7/site-packages/flask/app.py", line 
1951, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/airflow/.local/lib/python3.7/site-packages/flask/app.py", line 
1820, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/airflow/.local/lib/python3.7/site-packages/flask/_compat.py", 
line 39, in reraise
       raise value
     File "/home/airflow/.local/lib/python3.7/site-packages/flask/app.py", line 
1949, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/airflow/.local/lib/python3.7/site-packages/flask/app.py", line 
1935, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py",
 line 109, in wraps
       return f(self, *args, **kwargs)
     File "/opt/airflow/airflow/www/views.py", line 355, in index
       status_count_paused=status_count_paused)
     File "/opt/airflow/airflow/www/views.py", line 190, in render_template
       **kwargs
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask_appbuilder/baseviews.py",
 line 281, in render_template
       template, **dict(list(kwargs.items()) + list(self.extra_args.items()))
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask/templating.py", line 
140, in render_template
       ctx.app,
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask/templating.py", line 
120, in _render
       rv = template.render(context)
     File 
"/home/airflow/.local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 
76, in render
       return original_render(self, *args, **kwargs)
     File 
"/home/airflow/.local/lib/python3.7/site-packages/jinja2/environment.py", line 
1008, in render
       return self.environment.handle_exception(exc_info, True)
     File 
"/home/airflow/.local/lib/python3.7/site-packages/jinja2/environment.py", line 
780, in handle_exception
       reraise(exc_type, exc_value, tb)
     File "/home/airflow/.local/lib/python3.7/site-packages/jinja2/_compat.py", 
line 37, in reraise
       raise value.with_traceback(tb)
     File "/opt/airflow/airflow/www/templates/airflow/dags.html", line 20, in 
top-level template code
       {% extends base_template %}
     File 
"/home/airflow/.local/lib/python3.7/site-packages/jinja2/environment.py", line 
1005, in render
       return concat(self.root_render_func(self.new_context(vars)))
     File "/opt/airflow/airflow/www/templates/airflow/dags.html", line 17, in 
root
       under the License.
     File "/opt/airflow/airflow/www/templates/airflow/master.html", line 16, in 
root
       specific language governing permissions and limitations
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
 line 17, in root
       {% include 'appbuilder/flash.html' %}
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask_appbuilder/templates/appbuilder/init.html",
 line 32, in root
       <link 
href="{{url_for('appbuilder.static',filename='select2/select2.css')}}" 
rel="stylesheet">
     File 
"/home/airflow/.local/lib/python3.7/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
 line 37, in block_body
     File "/opt/airflow/airflow/www/templates/airflow/dags.html", line 106, in 
block_content
       </td>
   TypeError: can only concatenate str (not "NoneType") to str
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to