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

Argument list too long: '/bin/bash' #11

Open
karel-brinda opened this issue Feb 24, 2021 · 0 comments
Open

Argument list too long: '/bin/bash' #11

karel-brinda opened this issue Feb 24, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@karel-brinda
Copy link
Owner

File "/home/ubuntu/.local/bin/mof", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/.local/lib/python3.8/site-packages/mof/mof.py",
line 383, in main
    prep(objects=args.what)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/mof/mof.py",
line 235, in prep
    _prep_one(x)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/mof/mof.py",
line 229, in _prep_one
    _complete_nodes(bl, tree)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/mof/mof.py",
line 215, in _complete_nodes
    shell("touch {}".format(" ".join(node_names)), dn)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/mof/mof.py",
line 53, in shell
    return_code = subprocess.call([f'/bin/bash', '-c', wrap])
  File "/usr/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 7] Argument list too long: '/bin/bash'
@karel-brinda karel-brinda added the bug Something isn't working label Feb 24, 2021
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