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/06/14 09:14:02 UTC

[GitHub] [superset] stevensuting commented on issue #8322: An unknown error occurred. Please contact your Superset administrator

stevensuting commented on issue #8322:
URL: https://github.com/apache/superset/issues/8322#issuecomment-860530701


   @dpgaspar This issue still seems to persist in v1.1.0 
   **Logs**
   It does a series of 
   `INFO:superset.datasets.commands.importers.v0:Importing col` successfully
   Then throws `AttributeError: 'NoneType' object has no attribute 'id'`
   
   ```
   'NoneType' object has no attribute 'id'
   Traceback (most recent call last):
     File "superset-venv/lib/python3.9/site-packages/superset/views/core.py", line 629, in import_dashboards
       ImportDashboardsCommand(
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 329, in run
       import_dashboards(db.session, content, self.database_id)
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 308, in import_dashboards
       import_dashboard(dashboard, import_time=import_time)
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 171, in import_dashboard
       new_slc_id = import_chart(slc, remote_slc, import_time=import_time)
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 73, in import_chart
       slc_to_import.datasource_id = datasource.id  # type: ignore
   AttributeError: 'NoneType' object has no attribute 'id'
   ERROR:superset.views.core:'NoneType' object has no attribute 'id'
   Traceback (most recent call last):
     File "superset-venv/lib/python3.9/site-packages/superset/views/core.py", line 629, in import_dashboards
       ImportDashboardsCommand(
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 329, in run
       import_dashboards(db.session, content, self.database_id)
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 308, in import_dashboards
       import_dashboard(dashboard, import_time=import_time)
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 171, in import_dashboard
       new_slc_id = import_chart(slc, remote_slc, import_time=import_time)
     File "superset-venv/lib/python3.9/site-packages/superset/dashboards/commands/importers/v0.py", line 73, in import_chart
       slc_to_import.datasource_id = datasource.id  # type: ignore
   AttributeError: 'NoneType' object has no attribute 'id'
   ```


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

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