bzmatteo72 opened a new issue #11765:
URL: https://github.com/apache/incubator-superset/issues/11765


   Hello,
   
   I have configured Apache Superset to send email as per documentation (celery 
set up)
   https://superset.apache.org/docs/installation/async-queries-celery
   
   After that i get this error when i try to authenticate in the login page:
   
   Please see below attachment
   
   Could you help to resolve this issue?
   Thanks & regards
   Matteo
   
   
   Sorry, something went wrong
   500 - Internal Server Error
   Stacktrace
           Traceback (most recent call last):
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1276, in _execute_context
       self.dialect.do_execute(
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", 
line 593, in do_execute
       cursor.execute(statement, parameters)
   sqlite3.OperationalError: no such table: user_attribute
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/home/matteo/.local/lib/python3.8/site-packages/flask/app.py", line 
2447, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/matteo/.local/lib/python3.8/site-packages/flask/app.py", line 
1952, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/matteo/.local/lib/python3.8/site-packages/flask/app.py", line 
1821, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/matteo/.local/lib/python3.8/site-packages/flask/_compat.py", 
line 39, in reraise
       raise value
     File "/home/matteo/.local/lib/python3.8/site-packages/flask/app.py", line 
1950, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/matteo/.local/lib/python3.8/site-packages/flask/app.py", line 
1936, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/superset/views/core.py", line 
2510, in welcome
       db.session.query(UserAttribute.welcome_dashboard_id)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 
3523, in scalar
       ret = self.one()
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 
3490, in one
       ret = self.one_or_none()
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 
3459, in one_or_none
       ret = list(self)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 
3535, in __iter__
       return self._execute_and_instances(context)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 
3560, in _execute_and_instances
       result = conn.execute(querycontext.statement, self._params)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1011, in execute
       return meth(self, multiparams, params)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/sql/elements.py", 
line 298, in _execute_on_connection
       return connection._execute_clauseelement(self, multiparams, params)
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1124, in _execute_clauseelement
       ret = self._execute_context(
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1316, in _execute_context
       self._handle_dbapi_exception(
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1510, in _handle_dbapi_exception
       util.raise_(
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/util/compat.py", 
line 182, in raise_
       raise exception
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1276, in _execute_context
       self.dialect.do_execute(
     File 
"/home/matteo/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", 
line 593, in do_execute
       cursor.execute(statement, parameters)
   sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: 
user_attribute
   [SQL: SELECT user_attribute.welcome_dashboard_id AS 
user_attribute_welcome_dashboard_id 
   FROM user_attribute 
   WHERE user_attribute.user_id = ?]
   [parameters: ('1',)]
   (Background on this error at: http://sqlalche.me/e/13/e3q8)
   
         
   


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



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

Reply via email to