I'm using Plone 5.2 and I'm trying to use bobtemplates with mrbob to make a dexterity product and a dexterity content type.
I create the product, going to src and then typing:
../bin/mrbob -O my.product bobtemplates.plone:addon
I make the addon and then add the addon to my buildout.
Then I go into my.product and type:
../../bin/mrbob bobtemplates.plone:content_type
It mentions its going to ask questions:
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.
And then it breaks:
RUN: git status --porcelain --ignore-submodules
Traceback (most recent call last):
File "../../bin/mrbob", line 20, in <module>
sys.exit(mrbob.cli.main())
File "/home/pjdowney/Plone/buildout-cache/eggs/mr.bob-0.1.2-py2.7.egg/mrbob/cli.py", line 172, in main
c.ask_questions()
File "/home/pjdowney/Plone/buildout-cache/eggs/mr.bob-0.1.2-py2.7.egg/mrbob/configurator.py", line 231, in ask_questions
self.variables[question.name] = question.ask(self)
File "/home/pjdowney/Plone/buildout-cache/eggs/mr.bob-0.1.2-py2.7.egg/mrbob/configurator.py", line 297, in ask
f(configurator, self)
File "/home/pjdowney/Plone/buildout-cache/eggs/bobtemplates.plone-4.1.3-py2.7.egg/bobtemplates/plone/base.py", line 192, in git_clean_state_check
cwd=configurator.target_directory,
File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Is that command incorrect or did I install it incorrectly?
I'm trying to follow the Plone documentation here:
https://docs.plone.org/develop/addons/bobtemplates.plone/bobtemplates.plone/docs/
In my buildout.cfg, I have:
parts =
....
mrbob
[mrbob]
recipe = zc.recipe.egg
eggs =
mr.bob
bobtemplates.plone