-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
- Plone CLI version: 1.1
- Mr.Bob version: 5.1.1
- Python version: 2.7.17
- Operating System: Ubuntu 18.04
Description
Was attempting to create and build an addon.
I expected it to generate the add-on without error.
The add-on is successfully created but there is an error:
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
What I Did
I ran plonecli create addon
The output is shown below.
plonecli create addon myplone.example2
RUN: mrbob bobtemplates.plone:addon -O myplone.example2
Welcome to mr.bob interactive mode. Before we generate directory structure, some questions need to be answered.
Answer with a question mark to display help.
Values in square brackets at the end of the questions show the default value if there is no answer.
--> Author's name [FakeGitUserOrEmail]:
--> Author's email [FakeGitUserOrEmail]:
--> Author's GitHub username: pigeonflight
--> Package description [An add-on for Plone]:
--> Do you want me to initialze a GIT repository in your new package? (y/n) [y]:
--> Plone version [5.2.1]:
--> Python version for virtualenv [python3.7]:
--> Do you want me to activate VS Code support? (y/n) [y]:
Traceback (most recent call last):
File "/home/ubuntu/.local/bin/mrbob", line 11, in <module>
sys.exit(main())
File "/home/ubuntu/.local/lib/python2.7/site-packages/mrbob/cli.py", line 175, in main
c.render()
File "/home/ubuntu/.local/lib/python2.7/site-packages/mrbob/configurator.py", line 199, in render
f(self)
File "/home/ubuntu/.local/lib/python2.7/site-packages/bobtemplates/plone/addon.py", line 141, in post_render
run_isort(configurator)
File "/home/ubuntu/.local/lib/python2.7/site-packages/bobtemplates/plone/utils.py", line 76, in run_isort
cwd=root_folder,
File "/usr/lib/python2.7/subprocess.py", line 216, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory