DeDop / dedop-core

DeDop is a User Configurable Tool for Processing Delay Doppler Altimeter Data.
http://dedop.org/
GNU General Public License v3.0
14 stars 8 forks source link

Error when listing configurations of empty workspace #11

Closed hans-permana closed 7 years ago

hans-permana commented 7 years ago

Scenario

dedop w add newWorkSpace dedop c ls

Issue

> dedop c ls
Traceback (most recent call last):
  File "C:\Users\hans\DeDop\Scripts\dedop-script.py", line 5, in <module>
    sys.exit(dedop.ui.cli.main())
  File "C:\Users\hans\DeDop\lib\site-packages\dedop\ui\cli.py", line 1268, in main
    status_and_message = args_obj.command_class().execute(args_obj)
  File "C:\Users\hans\DeDop\lib\site-packages\dedop\ui\cli.py", line 512, in execute
    return command_args.cf_command(command_args)
  File "C:\Users\hans\DeDop\lib\site-packages\dedop\ui\cli.py", line 646, in execute_list
    num_configs = len(config_names)
TypeError: object of type 'NoneType' has no len() 
mark-ep commented 7 years ago

this issue has been fixed in commit https://github.com/DeDop/dedop-core/commit/1d0fc43c38890c5d9f463baefafb203a0e961163