Baft opened a new issue, #35601:
URL: https://github.com/apache/airflow/issues/35601

   ### Apache Airflow version
   
   2.7.3
   
   ### What happened
   
   install using 
   
   `
   virtualenv --python=/usr/bin/python3.8  --prompt="airflow-venv"  
/usr/lib/airflow/airflow_venv
   source /usr/lib/airflow/airflow_venv/bin/activate 
   pip install apache-airflow==2.7.3
   `
    run with 
   `
   airflow db init
   airflow users create --email [email protected] --firstname admin --lastname 
admin -p admin --role Admin --username admin
   airflow standalone
   # also run with production setting on postgres,...
   
   `
   
   got this error
   
   > {app.py:1744} ERROR - Exception on / [GET]
   webserver  | Traceback (most recent call last):
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/flask/app.py", line 
2529, in wsgi_app
   webserver  | response = self.full_dispatch_request()
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/flask/app.py", line 
1826, in full_dispatch_request
   webserver  | return self.finalize_request(rv)
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/flask/app.py", line 
1847, in finalize_request
   webserver  | response = self.process_response(response)
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/flask/app.py", line 
2344, in process_response
   webserver  | self.session_interface.save_session(self, ctx.session, response)
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/airflow/www/session.py",
 line 33, in save_session
   webserver  | return super().save_session(*args, **kwargs)
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/flask_session/sessions.py",
 line 573, in save_session
   webserver  | response.set_cookie(app.config["SESSION_COOKIE_NAME"], 
session_id,
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/werkzeug/sansio/response.py",
 line 224, in set_cookie
   webserver  | dump_cookie(
   webserver  | File 
"/usr/lib/airflow2/airflow_venv/lib/python3.8/site-packages/werkzeug/http.py", 
line 1303, in dump_cookie
   webserver  | if not _cookie_no_quote_re.fullmatch(value):
   webserver  | TypeError: cannot use a string pattern on a bytes-like object
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   install using 
   
   `
   virtualenv --python=/usr/bin/python3.8  --prompt="airflow-venv"  
/usr/lib/airflow/airflow_venv
   source /usr/lib/airflow/airflow_venv/bin/activate 
   pip install apache-airflow==2.7.3
   `
    run with 
   `
   airflow db init
   airflow users create --email [email protected] --firstname admin --lastname 
admin -p admin --role Admin --username admin
   airflow standalone
   # also run with production setting on postgres,...
   
   `
   
   ### Operating System
   
   ubuntu 20.04
   
   ### Versions of Apache Airflow Providers
   
   2.7.3
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   virtual environment created in docker container with ubuntu 20.4
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to