syazwan0913 commented on issue #6197: Not able to import dashboard in the latest version of superset URL: https://github.com/apache/incubator-superset/issues/6197#issuecomment-433275465 Yes both on python 3. Even I tried to import back into the same superset, I got errors. These are the errors: `Traceback (most recent call last): File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise raise value File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/syazwan/incubator-superset/superset/models/core.py", line 1037, in wrapper value = f(*args, **kwargs) File "/home/syazwan/anaconda2/envs/jps2018/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps return f(self, *args, **kwargs) File "/home/syazwan/incubator-superset/superset/views/core.py", line 1260, in import_dashboards dashboard_import_export.import_dashboards(db.session, f.stream) File "/home/syazwan/incubator-superset/superset/utils/dashboard_import_export.py", line 22, in import_dashboards type(table).import_obj(table, import_time=import_time) AttributeError: type object 'dict' has no attribute 'import_obj'`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
