You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/03/27 18:06:20 UTC

[GitHub] [incubator-superset] danelhe opened a new issue #7143: Error intializing superset after installation

danelhe opened a new issue #7143: Error intializing superset after installation
URL: https://github.com/apache/incubator-superset/issues/7143
 
 
   Hi. I saw an issue with the same output, but all documentation links given there do not exist anymore
   https://github.com/apache/incubator-superset/issues/316
   
   Im installing superset in an Amazon EC2 instance. I can't find the superset version too. 
   
   
   
   
   ### Expected results
   Open superset main page
   
   ### Actual results
   
   ![image](https://user-images.githubusercontent.com/18239139/55100990-b2613480-5088-11e9-850e-069c0673e2ba.png)
   
   
   sqlalchemy.exc.OperationalError
   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/e3q8
   
   Traceback (most recent call last):
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
       cursor, statement, parameters, context
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, 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/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
       return self.wsgi_app(environ, start_response)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
       response = self.handle_exception(e)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
       reraise(exc_type, exc_value, tb)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
       raise value
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
       raise value
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/superset/views/core.py", line 2768, in welcome
       .filter_by(user_id=g.user.get_id())
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3305, in scalar
       ret = self.one()
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3275, in one
       ret = self.one_or_none()
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3244, in one_or_none
       ret = list(self)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3317, in __iter__
       return self._execute_and_instances(context)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3342, in _execute_and_instances
       result = conn.execute(querycontext.statement, self._params)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
       return meth(self, multiparams, params)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
       return connection._execute_clauseelement(self, multiparams, params)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1107, in _execute_clauseelement
       distilled_params,
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
       e, statement, parameters, cursor, context
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception
       util.raise_from_cause(sqlalchemy_exception, exc_info)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause
       reraise(type(exception), exception, tb=exc_tb, cause=cause)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 128, in reraise
       raise value.with_traceback(tb)
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
       cursor, statement, parameters, context
     File "/home/ubuntu/git/superset/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, 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/e3q8)
   
   
   
   ### Steps to reproduce
   =>  install superset as the guide indicates
   =>  run this in the superset dir:
   . venv/bin/activate
    superset runserver -p 8080 -d
   => access superset from the browser
   
   
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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