Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fnsconsole crashes when running list_servers with LXD containers active #4

Open
bocajspear1 opened this issue Aug 13, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@bocajspear1
Copy link
Owner

local> list_servers                                                                                                                                                                           
Traceback (most recent call last):
  File "fnconsole.py", line 466, in <module>
    main()
  File "fnconsole.py", line 462, in main
    console.start()
  File "fnconsole.py", line 288, in start
    self.main_level(command_split)
  File "fnconsole.py", line 308, in main_level
    print_table(server_list, ["Module", "ID", "IP", "Description", "status"])
  File "fnconsole.py", line 46, in print_table
    tp.table(data, headers, width=widths)
  File "/home/jacob/fakernet/venv/lib/python3.6/site-packages/tableprint/printer.py", line 129, in table
    tablestr += [row(d, widths, format_spec, align, style) for d in data]
  File "/home/jacob/fakernet/venv/lib/python3.6/site-packages/tableprint/printer.py", line 129, in <listcomp>
    tablestr += [row(d, widths, format_spec, align, style) for d in data]
  File "/home/jacob/fakernet/venv/lib/python3.6/site-packages/tableprint/printer.py", line 209, in row
    widths = parse_width(width, len(values))
  File "/home/jacob/fakernet/venv/lib/python3.6/site-packages/tableprint/utils.py", line 96, in parse_width
    assert len(width) == n, "Widths and data do not match."
AssertionError: Widths and data do not match.
@bocajspear1 bocajspear1 added the bug Something isn't working label Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant