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 2022/03/16 18:37:27 UTC

[GitHub] [superset] Narendra678 opened a new issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

Narendra678 opened a new issue #19222:
URL: https://github.com/apache/superset/issues/19222


   Hi Team,
   
   I am trying to import dashboard getting below error.
   An error occurred while importing dashboard: Import dashboard failed for an unknown reason
   
   Note: when try to import i can see dataset added
   when i try to import chart it is working.
   I am able to import other reports
   
   
   Regards,
   Naren


-- 
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] karyan40024 commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   I am facing the same issue... but this happens only in case of multiple datasets


-- 
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] Narendra678 commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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






-- 
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] AAfghahi commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   ok makes sense, I will try to replicate this bug today. Could you tell me what engines you were running and if it is agnostic of the chart/viz types involved. 


-- 
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] AAfghahi commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   Hello! Could you take some screenshots of what you are experiencing? 


-- 
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] Narendra678 commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   > ok makes sense, I will try to replicate this bug today. Could you tell me what engines you were running and if it is agnostic of the chart/viz types involved.
   
   Below is the latest error logs. ERROR:root:'NoneType' object has no attribute 'uuid'
   
   2022-03-22 10:14:04 default[1-3-1noimc]  "GET /api/v1/dashboard/export/?q=!(14)&token=zVVSihwxp HTTP/1.1" 500
   2022-03-22 10:14:05 default[1-3-1noimc]  2022-03-22 10:14:05,189:**ERROR:root:'NoneType' object has no attribute 'uuid'**
   2022-03-22 10:14:05 default[1-3-1noimc]  Traceback (most recent call last):    File "/layers/google.python.pip/pip/lib/python3.7/site-packages/flask_appbuilder/api/__init__.py", line 85, in wraps      return f(self, *args, **kwargs)    File "/workspace/superset/views/base_api.py", line 85, in wraps      raise ex    File "/workspace/superset/views/base_api.py", line 82, in wraps      duration, response = time_function(f, self, *args, **kwargs)    File "/workspace/superset/utils/core.py", line 1429, in time_function      response = func(*args, **kwargs)    File "/layers/google.python.pip/pip/lib/python3.7/site-packages/flask_appbuilder/api/__init__.py", line 155, in wraps      return f(self, *args, **kwargs)    File "/workspace/superset/utils/log.py", line 241, in wrapper      value = f(*args, **kwargs)    File "/workspace/superset/dashboards/api.py", line 718, in export      requested_ids    File "/workspace/superset/commands/export.py", line 61, in run      for file_name, file_con
 tent in self._export(model):    File "/workspace/superset/dashboards/commands/export.py", line 140, in _export      target["datasetUuid"] = str(dataset.uuid)  AttributeError: 'NoneType' object has no attribute 'uuid'
   2022-03-22 10:14:44 default[1-3-1noimc]  "GET /dashboard/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc&viewMode=table HTTP/1.1" 200
   2022-03-22 10:14:46 default[1-3-1noimc]  "GET /api/v1/dashboard/related/created_by?q=() HTTP/1.1" 200
   2022-03-22 10:14:46 default[1-3-1noimc]  "GET /api/v1/dashboard/related/owners?q=() HTTP/1.1" 200
   2022-03-22 10:14:47 default[1-3-1noimc]  "GET /api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/1.1" 200
   2022-03-22 10:14:48 default[1-3-1noimc]  "GET /api/v1/dashboard/_info?q=(keys:!(permissions)) HTTP/1.1" 200
   2022-03-22 10:14:48 default[1-3-1noimc]  "GET /static/assets/images/favicon.png HTTP/1.1" 304
   2022-03-22 10:14:48 default[1-3-1noimc]  "GET /api/v1/dashboard/favorite_status/?q=!(47,50,52,48,41,55,10,29,14,59,56,6,53,51,46,11,42,43,45,33,19,44,40,38,20) HTTP/1.1" 200


-- 
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] Narendra678 commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   Export(Download)working in first environment and **then importing(Upload) in to second environment.**
   
   I am getting error in "then importing(Upload) in to second 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] Narendra678 commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   2022-03-18 07:29:47 default[1-3-1qa]  Error running import command
   2022-03-18 07:29:47 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
   2022-03-18 07:29:47 default[1-3-1qa]
   2022-03-18 07:29:47 default[1-3-1qa]  During handling of the above exception, another exception occurred:
   2022-03-18 07:29:47 default[1-3-1qa]
   2022-03-18 07:29:47 default[1-3-1qa]  Traceback (most recent call last):    File "/workspace/superset/dashboards/commands/importers/dispatcher.py", line 58, in run      command.run()    File "/workspace/superset/commands/importers/v1/__init__.py", line 71, in run      raise self.import_error()  superset.dashboards.commands.exceptions.DashboardImportError: Import dashboard failed for an unknown reason
   2022-03-18 07:29:47 default[1-3-1qa]  2022-03-18 07:29:47,754:ERROR:superset.dashboards.commands.importers.dispatcher:Error running import command
   2022-03-18 07:29:47 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
   2022-03-18 07:29:47 default[1-3-1qa]
   2022-03-18 07:29:47 default[1-3-1qa]  During handling of the above exception, another exception occurred:
   2022-03-18 07:29:47 default[1-3-1qa]
   2022-03-18 07:29:47 default[1-3-1qa]  Traceback (most recent call last):    File "/workspace/superset/dashboards/commands/importers/dispatcher.py", line 58, in run      command.run()    File "/workspace/superset/commands/importers/v1/__init__.py", line 71, in run      raise self.import_error()  superset.dashboards.commands.exceptions.DashboardImportError: Import dashboard failed for an unknown reason
   2022-03-18 07:29:47 default[1-3-1qa]  Import dashboard failed for an unknown reason
   2022-03-18 07:29:47 default[1-3-1qa]  2022-03-18 07:29:47,755:WARNING:superset.views.base:Import dashboard failed for an unknown reason


-- 
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] AAfghahi commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   So you get this toast before you upload a dashboard or after you put in a dashboard and then press import. 


-- 
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] Narendra678 commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   ![image](https://user-images.githubusercontent.com/88739186/158947761-8b49b19d-c2f4-40e9-b8fe-0ea8a47365eb.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] AAfghahi commented on issue #19222: Import is not working: An error occurred while importing dashboard: Import dashboard failed for an unknown reason

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


   Hello! Could you take some screenshots of what you are experiencing? 


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