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

nvmetcli is not compatible with Python 3.10 #3

Open
xypron opened this issue May 15, 2022 · 0 comments
Open

nvmetcli is not compatible with Python 3.10 #3

xypron opened this issue May 15, 2022 · 0 comments

Comments

@xypron
Copy link

xypron commented May 15, 2022

sudo ./nvmetcli restore test.json

Traceback (most recent call last):
  File "nvmetcli/./nvmetcli", line 617, in <module>
    main()
  File "nvmetcli/./nvmetcli", line 600, in main
    funcs[sys.argv[1]](savefile)
  File "nvmetcli/./nvmetcli", line 563, in restore
    errors = nvme.Root().restore_from_file(from_file)
  File "nvmetcli/nvmet/nvme.py", line 380, in restore_from_file
    return self.restore(config, clear_existing=clear_existing,
  File "nvmetcli/nvmet/nvme.py", line 355, in restore
    Subsystem.setup(t, err_func)
  File "nvmetcli/nvmet/nvme.py", line 496, in setup
    Namespace.setup(s, ns, err_func)
  File "nvmetcli/nvmet/nvme.py", line 590, in setup
    ns._setup_attrs(n, err_func)
  File "nvmetcli/nvmet/nvme.py", line 222, in _setup_attrs
    for name, value in attr_dict.get(group, {}).iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant