Skip to content

Error if no aws profile (i think) #3

@ivyleavedtoadflax

Description

@ivyleavedtoadflax

AWS: reproducibleanalytics   ~/Documents/wellcome  remotepy ls aws:reproducibleanalytics
Traceback (most recent call last):
File "/home/matthew/.local/bin/remotepy", line 8, in
sys.exit(app())
File "/home/matthew/.local/lib/python3.8/site-packages/typer/main.py", line 214, in call
return get_command(self)(*args, **kwargs)
File "/home/matthew/.local/lib/python3.8/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/matthew/.local/lib/python3.8/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/matthew/.local/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/matthew/.local/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/matthew/.local/lib/python3.8/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/matthew/.local/lib/python3.8/site-packages/typer/main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File "/home/matthew/.local/lib/python3.8/site-packages/remotepy/instance.py", line 134, in list
widths = get_column_widths([names, ids, public_ips, statuses, instance_types])
File "/home/matthew/.local/lib/python3.8/site-packages/remotepy/utils.py", line 7, in get_column_widths
widths.append(max([len(str(i)) for i in column]))
ValueError: max() arg is an empty sequence

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions