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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to