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/04/13 16:22:14 UTC

[GitHub] [superset] william-sy commented on issue #18980: Export Databases from the CLI does not work

william-sy commented on issue #18980:
URL: https://github.com/apache/superset/issues/18980#issuecomment-1098247282

   Hi All, 
   
   We had the exact same Error as @codek, Fixed it with: 
   
   ```python
               if dashboard.json_metadata is None:
                   logger.info("JSON is None")
                   continue
    ```
   We added this code above the following: 
   
    https://github.com/apache/superset/blob/d645579cdd64b7fe7f9dde4a8da000dd7db51ce9/superset/models/dashboard.py#L391
   
   You will now be greeted with:
   ```bash
   2022-04-13 16:15:02,010:INFO:superset.cli.importexport:Exporting dashboards to ./test.json
   ```
   


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