$ python cloudmapper.py prepare --config config.json --account the_account
Building data for account the_account (111111111111)
Traceback (most recent call last):
File "cloudmapper.py", line 72, in <module>
main()
File "cloudmapper.py", line 66, in main
commands[command].run(arguments)
File "/home/danielpops/cloudmapper/commands/prepare.py", line 831, in run
prepare(account, config, outputfilter)
File "/home/danielpops/cloudmapper/commands/prepare.py", line 660, in prepare
cytoscape_json = build_data_structure(account, config, outputfilter)
File "/home/danielpops/cloudmapper/commands/prepare.py", line 445, in build_data_structure
nodes = get_resource_nodes(region, outputfilter)
File "/home/danielpops/cloudmapper/commands/prepare.py", line 384, in get_resource_nodes
for ecs_json in get_ecs_tasks(region):
File "/home/danielpops/cloudmapper/commands/prepare.py", line 147, in get_ecs_tasks
tasks.append(task["tasks"][0])
IndexError: list index out of range
Are you working out of a virtualenv environment, Docker, or something else?
virtualenv --python=python3.7
I'm not exactly sure why the task is marked as "MISSING" (I originally ran collect with a user that may not have had all the required permissions? Or maybe the task was transient and was removed between API calls?). The task in this case looks like:
virtualenv --python=python3.7
I'm not exactly sure why the task is marked as
"MISSING"
(I originally ran collect with a user that may not have had all the required permissions? Or maybe the task was transient and was removed between API calls?). The task in this case looks like:While that may have been user error to collect incomplete data, I feel like the
prepare
step can handle this more gracefully