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/08/27 09:32:50 UTC

[GitHub] AmineTay commented on issue #4783: error when export datasources

AmineTay commented on issue #4783: error when export datasources 
URL: https://github.com/apache/incubator-superset/issues/4783#issuecomment-416170966
 
 
   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.
   

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