Sometimes the following error occurs (sqlalchemy.exc.NoSuchColumnError)
A clear and concise description of what the bug is.
Expected results
what you expected to happen.
Actual results
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Environment
(please complete the following information):
- superset version: [e.g.
v0.29,master,commit] - python version:
python --version - node.js version:
node -v - npm version:
npm -v
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Add any other context about the problem here.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
in the master branch
Sorry, something went wrong
500 - Internal Server Error
Stacktrace
Traceback (most recent call last):
File "/root/superset/superset_env/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/root/superset/superset_env/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/superset/superset_env/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/superset/superset_env/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/root/superset/superset_env/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/root/superset/superset_env/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/superset/superset_env/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py", line 25, in wraps
if self.appbuilder.sm.has_access(permission_str, self.class.name):
File "/root/superset/superset_env/lib/python3.7/site-packages/flask_appbuilder/security/manager.py", line 892, in has_access
return self._has_view_access(g.user, permission_name, view_name)
File "/root/superset/superset_env/lib/python3.7/site-packages/flask_appbuilder/security/manager.py", line 878, in has_view_access
roles = user.roles
File "/root/superset/superset_env/lib/python3.7/site-packages/werkzeug/local.py", line 347, in getattr
return getattr(self.get_current_object(), name)
File "/root/superset/superset_env/lib/python3.7/site-packages/sqlalchemy/orm/attributes.py", line 276, in get
return self.impl.get(instance_state(instance), dict)
File "/root/superset/superset_env/lib/python3.7/site-packages/sqlalchemy/orm/attributes.py", line 682, in get
value = self.callable(state, passive)
File "/root/superset/superset_env/lib/python3.7/site-packages/sqlalchemy/orm/strategies.py", line 723, in _load_for_state
session, state, primary_key_identity, passive
File "
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Hi, has this bug got fixed?
@francisliyy yes
uwsgi cfg file add
lazy-apps = true