Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

No atomic parameters with python3 cause traceback #242

Closed
ybznek opened this issue Dec 4, 2015 · 3 comments
Closed

No atomic parameters with python3 cause traceback #242

ybznek opened this issue Dec 4, 2015 · 3 comments

Comments

@ybznek
Copy link
Contributor

ybznek commented Dec 4, 2015

python2

$ sudo atomic
/bin/atomic: too few arguments
Try 'atomic --help' for more information.

python3

$ sudo atomic
Traceback (most recent call last):
  File "/bin/atomic", line 399, in <module>
    sys.exit(args.func())
AttributeError: 'Namespace' object has no attribute 'func'
@ashcrow
Copy link
Contributor

ashcrow commented Dec 7, 2015

@ybznek can you provide a bit more information? I'm unable to reproduce this on:

  • OS: Fedora 21
  • Python: 3.4.2
  • Version: 1.7
  • Git Hash: 95b28a9
  • Install Type: Source (python3 setup.py install)
$ sudo atomic
usage: atomic [-h] [-v]
              {diff,info,install,images,migrate,mount,push,upload,scan,stop,run,uninstall,unmount,update,version,verify}
              ...

@rhatdan
Copy link
Member

rhatdan commented Dec 7, 2015

This was a bug in f23 python, but newer atomic clients should fix it.

See if it fixed in atomic-1.6-5.git09ac479.fc23

@rhatdan rhatdan closed this as completed Dec 8, 2015
@cgwalters
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants