WaluQ-iu commented on issue #23742:
URL: https://github.com/apache/superset/issues/23742#issuecomment-1719125322

   > /home/ubuntu/.local/bin# sudo -u ubuntu FLASK_APP=superset 
/home/ubuntu/.local/bin/superset db upgrade
   > 
   > Traceback (most recent call last): File 
"/home/ubuntu/.local/bin/superset", line 5, in from superset.cli.main import 
superset File 
"/home/ubuntu/.local/lib/python3.10/site-packages/superset/**init**.py", line 
21, in from superset.app import create_app File 
"/home/ubuntu/.local/lib/python3.10/site-packages/superset/app.py", line 23, in 
from superset.initialization import SupersetAppInitializer File 
"/home/ubuntu/.local/lib/python3.10/site-packages/superset/initialization/**init**.py",
 line 33, in from superset.extensions import ( File 
"/home/ubuntu/.local/lib/python3.10/site-packages/superset/extensions/**init**.py",
 line 32, in from superset.utils.async_query_manager import AsyncQueryManager 
File 
"/home/ubuntu/.local/lib/python3.10/site-packages/superset/utils/async_query_manager.py",
 line 26, in from superset.utils.core import get_user_id File 
"/home/ubuntu/.local/lib/python3.10/site-packages/superset/utils/core.py", line 
106, in from superset.sql_parse import sanitize_clause F
 ile "/home/ubuntu/.local/lib/python3.10/site-packages/superset/sql_parse.py", 
line 67, in re.compile(r"'(''|\\|\|[^'])*'", sqlparse.keywords.FLAGS).match, 
AttributeError: module 'sqlparse.keywords' has no attribute 'FLAGS'
   
   `AttributeError: module 'sqlparse.keywords' has no attribute 'FLAGS'` 
suggests a compatibility issue or version mismatch with the libraries or 
modules being used by Superset. Specifically, it mentions an AttributeError 
related to the FLAGS attribute in the sqlparse.keywords module. Comments above 
state that you need to downgrade sqlparse to a lower version, check comments 
above. 
   


-- 
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: notifications-unsubscr...@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to