Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109197

traceback in CLI system->boot->get_disks

    XMLWordPrintable

    Details

      Description

      [sc01] system> boot get_disks
      Traceback (most recent call last):
        File "/usr/bin/cli", line 12, in <module>
          sys.exit(main())
        File "/usr/lib/python3/dist-packages/midcli/__main__.py", line 106, in main
          cli.run()
        File "/usr/lib/python3/dist-packages/midcli/__main__.py", line 92, in run
          self.context.process_input(text)
        File "/usr/lib/python3/dist-packages/midcli/context.py", line 202, in process_input
          namespace = self.current_namespace.process_input(text)
        File "/usr/lib/python3/dist-packages/midcli/context.py", line 66, in process_input
          return i.process_input(rest)
        File "/usr/lib/python3/dist-packages/midcli/context.py", line 69, in process_input
          i.process_input(rest)
        File "/usr/lib/python3/dist-packages/midcli/command/common_syntax/command.py", line 25, in process_input
          self.run(args, kwargs)
        File "/usr/lib/python3/dist-packages/midcli/command/generic_call/__init__.py", line 84, in run
          self._run_noninteractive(args, kwargs)
        File "/usr/lib/python3/dist-packages/midcli/command/generic_call/__init__.py", line 129, in _run_noninteractive
          self.call(self.method["name"], *call_args, job=self.method["job"])
        File "/usr/lib/python3/dist-packages/midcli/command/call_mixin/__init__.py", line 36, in call
          print(self.context.display_mode_manager.mode.display(rv))
        File "/usr/lib/python3/dist-packages/midcli/display_mode/mode/polymorphic.py", line 14, in display
          return self.display_list(value)
        File "/usr/lib/python3/dist-packages/midcli/display_mode/mode/base_table.py", line 17, in display_list
          header = self._prepare_header(objects)
        File "/usr/lib/python3/dist-packages/midcli/display_mode/mode/base_table.py", line 41, in _prepare_header
          for prev, key in zip([None] + list(object.keys())[:-1], object.keys()):
      AttributeError: 'str' object has no attribute 'keys'

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                vladimirv Vladimir Vinogradenko
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: