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 2020/09/24 07:19:02 UTC

[GitHub] [incubator-superset] hckhanh opened a new issue #11035: Table 'superset.logs' doesn't exist

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


   When I try to install Superset and run it on my local machine, I received this error. I am using `Windows (Python 3.7)`
   
   ```
   ProgrammingError: (1146, "Table 'superset.logs' doesn't exist")
     File "sqlalchemy/engine/base.py", line 1244, in _execute_context
       cursor, statement, parameters, context
     File "sqlalchemy/engine/default.py", line 552, in do_execute
       cursor.execute(statement, parameters)
     File "MySQLdb/cursors.py", line 206, in execute
       res = self._query(query)
     File "MySQLdb/cursors.py", line 319, in _query
       db.query(q)
     File "MySQLdb/connections.py", line 259, in query
       _mysql.connection.query(self, query)
   ProgrammingError: (MySQLdb._exceptions.ProgrammingError) (1146, "Table 'superset.logs' doesn't exist")
   [SQL: INSERT INTO logs (action, slice_id, json, dttm, duration_ms) VALUES (%s, %s, %s, %s, %s)]
   [parameters: ('syncing', 0, '{}', datetime.datetime(2020, 9, 23, 3, 32, 22, 899802), 157.641)]
   (Background on this error at: http://sqlalche.me/e/f405)
     File "flask/app.py", line 2446, in wsgi_app
       response = self.full_dispatch_request()
     File "flask/app.py", line 1951, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "flask/app.py", line 1820, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "flask/_compat.py", line 39, in reraise
       raise value
     File "flask/app.py", line 1949, in full_dispatch_request
       rv = self.dispatch_request()
     File "flask/app.py", line 1935, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "superset/utils/log.py", line 79, in wrapper
       referrer=referrer,
     File "superset/utils/log.py", line 157, in log
       sesh.bulk_save_objects(logs)
     File "sqlalchemy/orm/scoping.py", line 162, in do
       return getattr(self.registry(), name)(*args, **kwargs)
     File "sqlalchemy/orm/session.py", line 2700, in bulk_save_objects
       False,
     File "sqlalchemy/orm/session.py", line 2888, in _bulk_save_mappings
       transaction.rollback(_capture_exception=True)
     File "sqlalchemy/util/langhelpers.py", line 68, in __exit__
       compat.reraise(exc_type, exc_value, exc_tb)
     File "sqlalchemy/util/compat.py", line 153, in reraise
       raise value
     File "sqlalchemy/orm/session.py", line 2882, in _bulk_save_mappings
       render_nulls,
     File "sqlalchemy/orm/persistence.py", line 102, in _bulk_insert
       bookkeeping=return_defaults,
     File "sqlalchemy/orm/persistence.py", line 1084, in _emit_insert_statements
       c = cached_connections[connection].execute(statement, multiparams)
     File "sqlalchemy/engine/base.py", line 988, in execute
       return meth(self, multiparams, params)
     File "sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
       return connection._execute_clauseelement(self, multiparams, params)
     File "sqlalchemy/engine/base.py", line 1107, in _execute_clauseelement
       distilled_params,
     File "sqlalchemy/engine/base.py", line 1248, in _execute_context
       e, statement, parameters, cursor, context
     File "sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception
       util.raise_from_cause(sqlalchemy_exception, exc_info)
     File "sqlalchemy/util/compat.py", line 398, in raise_from_cause
       reraise(type(exception), exception, tb=exc_tb, cause=cause)
     File "sqlalchemy/util/compat.py", line 152, in reraise
       raise value.with_traceback(tb)
     File "sqlalchemy/engine/base.py", line 1244, in _execute_context
       cursor, statement, parameters, context
     File "sqlalchemy/engine/default.py", line 552, in do_execute
       cursor.execute(statement, parameters)
     File "MySQLdb/cursors.py", line 206, in execute
       res = self._query(query)
     File "MySQLdb/cursors.py", line 319, in _query
       db.query(q)
     File "MySQLdb/connections.py", line 259, in query
       _mysql.connection.query(self, query)
   ```


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



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


[GitHub] [incubator-superset] dpgaspar commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-698792209


   Hi,
   
   Please fill out the form for a bug report. Although this is probably not a bug, have you run `superset db upgrade` and did it finish successfully?
   
   Also note that Windows is not a supported platform for Superset. 
   


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



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


[GitHub] [incubator-superset] truongvanktv commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
truongvanktv commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-698186968


   inbox! i will show that!


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



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


[GitHub] [incubator-superset] junlincc closed issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
junlincc closed issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035


   


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



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


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-698164365


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


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



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


[GitHub] [incubator-superset] dpgaspar commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-698792209


   Hi,
   
   Please fill out the form for a bug report. Although this is probably not a bug, have you run `superset db upgrade` and did it finish successfully?
   
   Also note that Windows is not a supported platform for Superset. 
   


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



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


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-698164365


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


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



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


[GitHub] [incubator-superset] truongvanktv commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
truongvanktv commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-698186968


   inbox! i will show that!


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



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


[GitHub] [incubator-superset] qinzl1 commented on issue #11035: Table 'superset.logs' doesn't exist

Posted by GitBox <gi...@apache.org>.
qinzl1 commented on issue #11035:
URL: https://github.com/apache/incubator-superset/issues/11035#issuecomment-749485156


   @dpgaspar 
   can not finish upgrade because Table 'superset_demo.tagged_object' doesn't exist  error


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



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