srinisubramanian opened a new issue, #20942:
URL: https://github.com/apache/superset/issues/20942

   I have tried both upgrading from Superset 1.5 and installing Superset 2.0 in 
a separate pyenv.  Both result in the same issue : TypeError: __init__() got an 
unexpected keyword argument 'unbound_message'
   
   #### How to reproduce the bug
   
   1. I followed the 
https://superset.apache.org/docs/installation/installing-superset-from-scratch 
guide to setup 1.5 a few months ago and followed the same to setup 2.0.  I also 
tried upgrading using 
https://superset.apache.org/docs/installation/upgrading-superset
   2. Unable to run superset
   3. Stack trace
   
   ```
   Traceback (most recent call last):
     File "/home/jenkinsci/.pyenv/versions/superset2/bin/superset", line 33, in 
<module>
       sys.exit(load_entry_point('apache-superset==2.0.0', 'console_scripts', 
'superset')())
     File "/home/jenkinsci/.pyenv/versions/superset2/bin/superset", line 25, in 
importlib_load_entry_point
       return next(matches).load()
     File 
"/home/jenkinsci/.pyenv/versions/3.9.11/lib/python3.9/importlib/metadata.py", 
line 86, in load
       module = import_module(match.group('module'))
     File 
"/home/jenkinsci/.pyenv/versions/3.9.11/lib/python3.9/importlib/__init__.py", 
line 127, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
     File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
     File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
     File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
     File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
     File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
     File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 850, in exec_module
     File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
     File 
"/home/jenkinsci/.pyenv/versions/3.9.11/envs/superset2/lib/python3.9/site-packages/superset/__init__.py",
 line 18, in <module>
       from flask import current_app, Flask
     File 
"/home/jenkinsci/.pyenv/versions/3.9.11/envs/superset2/lib/python3.9/site-packages/flask/__init__.py",
 line 4, in <module>
       from . import json as json
     File 
"/home/jenkinsci/.pyenv/versions/3.9.11/envs/superset2/lib/python3.9/site-packages/flask/json/__init__.py",
 line 8, in <module>
       from ..globals import current_app
     File 
"/home/jenkinsci/.pyenv/versions/3.9.11/envs/superset2/lib/python3.9/site-packages/flask/globals.py",
 line 56, in <module>
       app_ctx: "AppContext" = LocalProxy(  # type: ignore[assignment]
   TypeError: __init__() got an unexpected keyword argument 'unbound_message'
   ```
   
   ### Expected results
   
   Superset should run normally
   
   ### Actual results
   
   Exception as above.  
   
   ### Environment
   
   (please complete the following information):
   
   - OS : CentOS Linux release 7.9.2009 (Core) 
   - browser type and version: Chrome
   - superset version: 2.0
   - python version: Tried both 3.8.13 and 3.9.11
   - any feature flags active:
     - DASHBOARD_RBAC
     - VERSIONED_EXPORT
     - DASHBOARD_CROSS_FILTERS
     - ENABLE_TEMPLATE_PROCESSING
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to