You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "lekhanhtoan37 (via GitHub)" <gi...@apache.org> on 2023/07/29 14:28:08 UTC
[GitHub] [superset] lekhanhtoan37 commented on issue #22704: 500 'Fatal error' When Creating Dashboard Through Public API
lekhanhtoan37 commented on issue #22704:
URL: https://github.com/apache/superset/issues/22704#issuecomment-1656742628
Same issue
192.168.96.1 - - [29/Jul/2023:14:24:32 +0000] "POST /superset/log/?explode=events&dashboard_id=1 HTTP/1.1" 200 20 "http://0.0.0.0:8088/dashboard/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc&viewMode=table" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
'AnonymousUserMixin' object has no attribute '_sa_instance_state'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/usr/local/lib/python3.9/site-packages/flask_appbuilder/security/decorators.py", line 137, in wraps
return f(self, *args, **kwargs)
File "/app/superset/views/dashboard/views.py", line 123, in new
db.session.add(new_dashboard)
File "<string>", line 2, in add
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2610, in add
self._save_or_update_state(state)
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2626, in _save_or_update_state
for o, m, st_, dct_ in mapper.cascade_iterator(
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/mapper.py", line 3202, in cascade_iterator
queue = deque(
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/relationships.py", line 1986, in cascade_iterator
tuples = state.manager[self.key].impl.get_all_pending(state, dict_)
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/attributes.py", line 1399, in get_all_pending
current_states = [
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/attributes.py", line 1400, in <listcomp>
((c is not None) and instance_state(c) or None, c)
AttributeError: 'AnonymousUserMixin' object has no attribute '_sa_instance_state'
--
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-unsubscribe@superset.apache.org
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