sivackrishna commented on issue #498: Can i move the dashboards created from 1 
server to another 
URL: 
https://github.com/apache/incubator-superset/issues/498#issuecomment-354418034
 
 
   Still, I'm also facing the Issue.
   I have designed some dashboards in development machine (Ex: System1). I want 
to import the same dashboards in Client machine (Ex: System2).
   
   Getting following error, When we export the dashboards from System1 and 
import into System2
   
   > Sorry, something went wrong
   > 500 - Internal Server Error
   > Stacktrace
   >          Traceback (most recent call last):
   >   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, 
in wsgi_app
   >     response = self.full_dispatch_request()
   >   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, 
in full_dispatch_request
   >     rv = self.handle_user_exception(e)
   >   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, 
in handle_user_exception
   >     reraise(exc_type, exc_value, tb)
   >   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, 
in full_dispatch_request
   >     rv = self.dispatch_request()
   >   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, 
in dispatch_request
   >     return self.view_functions[rule.endpoint](**req.view_args)
   >   File "/usr/local/lib/python2.7/dist-packages/superset/models/core.py", 
line 870, in wrapper
   >     value = f(*args, **kwargs)
   >   File "/usr/local/lib/python2.7/dist-packages/superset/utils.py", line 
624, in wraps
   >     return f(self, *args, **kwargs)
   >   File "/usr/local/lib/python2.7/dist-packages/superset/views/core.py", 
line 1054, in import_dashboards
   >     ds_class.import_obj(table, import_time=current_tt)
   >   File 
"/usr/local/lib/python2.7/dist-packages/superset/connectors/sqla/models.py", 
line 703, in import_obj
   >     import_time)
   >   File "/usr/local/lib/python2.7/dist-packages/superset/import_util.py", 
line 23, in import_datasource
   >     i_datasource.database_id = lookup_database(i_datasource).id
   >   File 
"/usr/local/lib/python2.7/dist-packages/superset/connectors/sqla/models.py", 
line 700, in lookup_database
   >     database_name=table.params_dict['database_name']).one()
   >   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", 
line 2820, in one
   >     raise orm_exc.NoResultFound("No row was found for one()")
   > NoResultFound: No row was found for one()
   
   Are the users should be same on both the machines?
   If it is datasource problem, I have created the same datasource as per the 
System1. Still the problem is there
   
   Will you please suggest me how to use export and import functionality across 
the Machines?
   
   Thanks in Advance

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

Reply via email to