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 2021/08/25 03:31:57 UTC

[GitHub] [superset] jayakrishnankk opened a new issue #16434: Dashboard export/import doesn't work in v1.3

jayakrishnankk opened a new issue #16434:
URL: https://github.com/apache/superset/issues/16434


   A clear and concise description of what the bug is.
   
   ### Expected results
   
   Prior 1.3 recent update, we were able to do the following.
   
   **Environment setup and workflow:**
   
   1. We have 2 environments [`dev`, `prod`]
   2. We do our dashboard development in `dev` environment
   3. Once dashboard looks good, we deploy the changes to `prod` by doing following 3 steps
   3.1 Export dashboard from `dev`
   3.2 Import dashboard to `prod`
   3.3 Replace the `slug` for the new dashboard so that the users doesn't need to update their bookmarks
   
   ### Actual results
   Gets the following error : `Dataset %s already exists`
   
   ```
   {"asctime": "2021-08-19 15:00:13,977", "threadName": "Dummy-10563", "request_id": "803a6e3e-0ea2-488a-846b-f6550e4ff4fd", "levelname": "ERROR", "name": "superset.views.core", "lineno": 695, "message": "Dataset [reporting].[public].[lookup] already exists", "exc_info": "Traceback (most recent call last):
     File "/app/superset/views/core.py", line 680, in import_dashboards
       {import_file.filename: import_file.read()}, database_id
     File "/app/superset/dashboards/commands/importers/v0.py", line 353, in run
       import_dashboards(db.session, content, self.database_id)
     File "/app/superset/dashboards/commands/importers/v0.py", line 323, in import_dashboards
       new_dataset_id = import_dataset(table, database_id, import_time=import_time)
     File "/app/superset/datasets/commands/importers/v0.py", line 110, in import_dataset
       database_id,
     File "/app/superset/datasets/commands/importers/v0.py", line 204, in import_datasource
       session.flush()
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/scoping.py", line 163, in do
       return getattr(self.registry(), name)(*args, **kwargs)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 2536, in flush
       self._flush(objects)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 2678, in _flush
       transaction.rollback(_capture_exception=True)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
       with_traceback=exc_tb,
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
       raise exception
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 2638, in _flush
       flush_context.execute()
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/unitofwork.py", line 422, in execute
       rec.execute(self)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/unitofwork.py", line 589, in execute
       uow,
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/persistence.py", line 213, in save_obj
       ) in _organize_states_for_save(base_mapper, states, uowtransaction):
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/persistence.py", line 387, in _organize_states_for_save
       mapper.dispatch.before_update(mapper, connection, state)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/event/attr.py", line 322, in __call__
       fn(*args, **kw)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/events.py", line 719, in wrap
       fn(*arg, **kw)
     File "/app/superset/connectors/sqla/models.py", line 1654, in before_update
       raise Exception(get_dataset_exist_error_msg(target.full_name))
   Exception: Dataset [reporting].[public].[lookup] already exists"}
   
   
   {"asctime": "2021-08-19 15:00:13,981", "threadName": "Dummy-10563", "request_id": "803a6e3e-0ea2-488a-846b-f6550e4ff4fd", "levelname": "ERROR", "name": "superset.views.base", "lineno": 444, "message": "This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Dataset [reporting].[public].[lookup] already exists (Background on this error at: http://sqlalche.me/e/13/7s2a)", "exc_info": "Traceback (most recent call last):
     File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/usr/local/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py", line 109, in wraps
       return f(self, *args, **kwargs)
     File "/app/superset/utils/log.py", line 241, in wrapper
       value = f(*args, **kwargs)
     File "/app/superset/views/core.py", line 707, in import_dashboards
       databases = db.session.query(Database).all()
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3373, in all
       return list(self)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__
       return self._execute_and_instances(context)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3557, in _execute_and_instances
       querycontext, self._connection_from_session, close_with_result=True
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3572, in _get_bind_args
       mapper=self._bind_mapper(), clause=querycontext.statement, **kw
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3550, in _connection_from_session
       conn = self.session.connection(**kw)
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 1141, in connection
       execution_options=execution_options,
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 1147, in _connection_for_bind
       engine, execution_options
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 409, in _connection_for_bind
       self._assert_active()
     File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 296, in _assert_active
       code="7s2a",
   sqlalchemy.exc.InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: Dataset [reporting].[public].[lookup] already exists (Background on this error at: http://sqlalche.me/e/13/7s2a)"}
   {"asctime": "2021-08-19 15:00:13,984", "threadName": "Dummy-10563", "request_id": "803a6e3e-0ea2-488a-846b-f6550e4ff4fd", "levelname": "INFO", "name": "maf", "lineno": 61, "message": "response for POST https://reports-uat.storyboard.nielsen.com/superset/import_dashboards/ 500 INTERNAL SERVER ERROR", "method": "POST", "url": "https://reports-uat.storyboard.nielsen.com/superset/import_dashboards/", "status": "500 INTERNAL SERVER ERROR"}
   ```
   
   #### Screenshots
   
   ![imagen](https://user-images.githubusercontent.com/1909466/130720954-1550de76-92e6-41fe-971f-5194243ccf5f.png)
   
   #### How to reproduce the bug
   
   1. Start superset with examples
   2. Export an existing dashboard
   3. Import it back to the same instance
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `1.3`
   - python version: `3.7.9`
   - node.js version: `v14.15.5`
   - any feature flags active:
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Tracked down the error to this pull request #15909, and specifically [this change](https://github.com/apache/superset/pull/15909/files#diff-af5e15a55ff9c81f441eb6b9b10dae13b2ee17fec614d3e3ad0057ed0dc814aeR1651-R1654)
   


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


[GitHub] [superset] sergey-kryuchkov edited a comment on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
sergey-kryuchkov edited a comment on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-1018504979


   > We test new versions of Superset by importing dashboards from our production Superset (currently in version 1.0) to our testing Superset (currently in version 1.3.2).
   > 
   > We were seeing the issues described here when importing dashboards into the testing Superset and just wanted to add that setting the `VERSIONED_EXPORT` flag to `True` in our testing Superset fixed our issue and now we can export and import dashboards.
   > 
   > Just adding this since this appears to be one of the first results when googling around, and having to turn on a feature flag may not be so intuitive. At least until #16569 is merged and the flag is turned on by default.
   
   I tried to solve the same problem with export/import but changing the `VERSIONED_EXPORT` flag to `True` didn't help me. I see the same error like below
   ```
   This Session's transaction has been rolled back due to a previous exception during flush. 
   To begin a new transaction with this Session, first issue Session.rollback(). 
   Original exception was: Dataset %s already exists 
   ```
   I have Superset version 1.3.1


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


[GitHub] [superset] junlincc commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-905180590


   @john-bodley @etr2460 hi! do you mind taking a look? ^ thanks! 


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


[GitHub] [superset] Balamuralia commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
Balamuralia commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-1073303888


   We are trying to Import dashboard from Development Environment to Production environment. It keep throwing the below error. 
   
   VERSIONED_EXPORT flag is true in both Development environment and Production Environment. We are using Apache Superset 1.3.1. Below is the error log. 
   
   Error running import command
   2022-03-20 16:30:16 default[1-3-1qa]  Traceback (most recent call last):    File "/workspace/superset/commands/importers/v1/__init__.py", line 67, in run      self._import(db.session, self._configs, self.overwrite)    File "/workspace/superset/dashboards/commands/importers/v1/__init__.py", line 126, in _import      config = update_id_refs(config, chart_ids, dataset_info)    File "/workspace/superset/dashboards/commands/importers/v1/utils.py", line 85, in update_id_refs      for old_id, columns in metadata["filter_scopes"].items()    File "/workspace/superset/dashboards/commands/importers/v1/utils.py", line 85, in <dictcomp>      for old_id, columns in metadata["filter_scopes"].items()  KeyError: 580
   
   


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


[GitHub] [superset] tomasfarias commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
tomasfarias commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-953647222


   We test new versions of Superset by importing dashboards from our production Superset (currently in version 1.0) to our testing Superset (currently in version 1.3.2). 
   
   We were seeing the issues described here when importing dashboards into the testing Superset and just wanted to add that setting the `VERSIONED_EXPORT` flag to `True` in our testing Superset fixed our issue and now we can export and import dashboards.
   
   Just adding this since this appears to be one of the first results when googling around, and having to turn on a feature flag may not be so intuitive. At least until https://github.com/apache/superset/pull/16569 is merged and the flag is turned on by default.


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


[GitHub] [superset] sergey-kryuchkov commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
sergey-kryuchkov commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-1018504979


   > We test new versions of Superset by importing dashboards from our production Superset (currently in version 1.0) to our testing Superset (currently in version 1.3.2).
   > 
   > We were seeing the issues described here when importing dashboards into the testing Superset and just wanted to add that setting the `VERSIONED_EXPORT` flag to `True` in our testing Superset fixed our issue and now we can export and import dashboards.
   > 
   > Just adding this since this appears to be one of the first results when googling around, and having to turn on a feature flag may not be so intuitive. At least until #16569 is merged and the flag is turned on by default.
   
   I tried to solve the same problem with export/import but changing the `VERSIONED_EXPORT` flag to `True` didn't help me. I see the same error like below
   ```
   This Session's transaction has been rolled back due to a previous exception during flush. 
   To begin a new transaction with this Session, first issue Session.rollback(). 
   Original exception was: Dataset [reporting].[public].[lookup] already exists 
   ```
   I have Superset version 1.3.1


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


[GitHub] [superset] FedericoCalonge commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
FedericoCalonge commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-910290944


   Same issue here. I get the same error Exporting and importing any example dashboard in the same Superset environment. 


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


[GitHub] [superset] etr2460 commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
etr2460 commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-906558932


   I think @betodealmeida knows the most about export/import, we don't really use this feature :/


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


[GitHub] [superset] junlincc commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-906571058


   > I think @betodealmeida knows the most about export/import, we don't really use this feature :/
   
   gotcha, @jayakrishnankk trouble shoot the issue and tracked down to a potential cause of the regression #15909 , would you mind taking a look? @etr2460 


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


[GitHub] [superset] vivek-kandhvar commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
vivek-kandhvar commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-915102468


   We have the same issue after upgrading superset from 1.2.0 to 1.3.0. 
   We haven't touched the flag "VERSIONED_EXPORT", and it is still `False` which is the default.
   
   This used to work in 1.2.0 without any issue. Now we end up with this error `"Dataset <xyz> already exists!"`
   
   ![image](https://user-images.githubusercontent.com/29149291/132490213-0f0e7cb8-1207-43ee-ba72-9982c159607b.png)
   
   
   
   


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


[GitHub] [superset] amitmiran137 closed issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
amitmiran137 closed issue #16434:
URL: https://github.com/apache/superset/issues/16434


   


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


[GitHub] [superset] FedericoCalonge commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
FedericoCalonge commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-915499003


   Same issue here. 
   I get the same error Exporting and importing any example dashboard in the same Superset environment (v 1.3).
   I have the `VERSIONED_EXPORT` flag in `False`.


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


[GitHub] [superset] jitendra-dangi-arris commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
jitendra-dangi-arris commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-915103903


   > We have the same issue after upgrading superset from 1.2.0 to 1.3.0.
   > We haven't touched the flag "VERSIONED_EXPORT", and it is still `False` which is the default.
   > 
   > This used to work in 1.2.0 without any issue. Now we end up with this error `"Dataset <xyz> already exists!"`
   > 
   > ![image](https://user-images.githubusercontent.com/29149291/132490213-0f0e7cb8-1207-43ee-ba72-9982c159607b.png)
   
   getting the same error, unable to export and import any of the example dashboards.


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


[GitHub] [superset] FedericoCalonge commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
FedericoCalonge commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-910380555


   Same issue here. I get the same error exporting and importing any example dashboard in the same Superset environment.


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


[GitHub] [superset] FedericoCalonge edited a comment on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
FedericoCalonge edited a comment on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-910290944


   Same issue here. I get the same error Exporting and importing any example dashboard in the same Superset environment (v 1.3). 


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


[GitHub] [superset] sergey-kryuchkov removed a comment on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
sergey-kryuchkov removed a comment on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-1018504979


   > We test new versions of Superset by importing dashboards from our production Superset (currently in version 1.0) to our testing Superset (currently in version 1.3.2).
   > 
   > We were seeing the issues described here when importing dashboards into the testing Superset and just wanted to add that setting the `VERSIONED_EXPORT` flag to `True` in our testing Superset fixed our issue and now we can export and import dashboards.
   > 
   > Just adding this since this appears to be one of the first results when googling around, and having to turn on a feature flag may not be so intuitive. At least until #16569 is merged and the flag is turned on by default.
   
   I tried to solve the same problem with export/import but changing the `VERSIONED_EXPORT` flag to `True` didn't help me. I see the same error like below
   ```
   This Session's transaction has been rolled back due to a previous exception during flush. 
   To begin a new transaction with this Session, first issue Session.rollback(). 
   Original exception was: Dataset %s already exists 
   ```
   I have Superset version 1.3.1


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


[GitHub] [superset] FedericoCalonge removed a comment on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
FedericoCalonge removed a comment on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-910380555


   Same issue here. I get the same error exporting and importing any example dashboard in the same Superset environment.


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


[GitHub] [superset] amitmiran137 commented on issue #16434: Dashboard export/import doesn't work in v1.3

Posted by GitBox <gi...@apache.org>.
amitmiran137 commented on issue #16434:
URL: https://github.com/apache/superset/issues/16434#issuecomment-912027791


   this is a user mistake  by turning off the feature flag and moved to old mechanism:
   https://github.com/apache/superset/pull/16569


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