Hi,

I Had the same 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 <module>
    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 <listcomp>
    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'

Did you managed to solve it ? 

Thank you.


[ Full content available at: 
https://github.com/apache/incubator-superset/issues/4783 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to