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 2018/09/03 12:46:54 UTC

[GitHub] AmineTay opened a new issue #5798: Error export datasources

AmineTay opened a new issue #5798: Error export datasources
URL: https://github.com/apache/incubator-superset/issues/5798
 
 
   Hi everyone,
   
   I Had an error when trying to export datasources.
   Superset version : 0.26.3
   Python version : 3.6.3
   
   Error :
   
   Loaded your LOCAL configuration at [/opt/superset/venv3/bin/superset_config.py]
   2018-08-27 11:25:40,921:INFO:root:Starting export
   Traceback (most recent call last):
   File "/opt/superset/venv3/bin/superset", line 15, in 
   manager.run()
   File "/opt/superset/venv3/lib/python3.6/site-packages/flask_script/init.py", line 417, in run
   result = self.handle(argv[0], argv[1:])
   File "/opt/superset/venv3/lib/python3.6/site-packages/flask_script/init.py", line 386, in handle
   res = handle(*args, **config)
   File "/opt/superset/venv3/lib/python3.6/site-packages/flask_script/commands.py", line 216, in call
   return self.run(*args, **kwargs)
   File "/opt/superset/venv3/lib/python3.6/site-packages/superset/cli.py", line 290, in export_datasources
   include_defaults=include_defaults)
   File "/opt/superset/venv3/lib/python3.6/site-packages/superset/dict_import_export_util.py", line 41, in export_to_dict
   include_defaults=include_defaults) for database in dbs]
   File "/opt/superset/venv3/lib/python3.6/site-packages/superset/dict_import_export_util.py", line 41, in 
   include_defaults=include_defaults) for database in dbs]
   File "/opt/superset/venv3/lib/python3.6/site-packages/superset/models/helpers.py", line 206, in export_to_dict
   key=lambda k: sorted(k.items()))
   TypeError: <flask_script.commands.Command object at 0x7ff4bd320748>: '<' not supported between instances of 'dict' and 'dict'
   
   How can I solve it ? 
   
   Thank you.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org