当我尝试为我的 Plone 站点创建新包时,我得到了以下跟踪。我使用的命令:
paster create -t plone myorg.mypackage
Traceback (most recent call last):
File "/usr/bin/paster", line 4, in <module>
command.run()
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/lib/python2.7/dist-packages/paste/script/create_distro.py", line 73, in command
self.extend_templates(templates, tmpl_name)
File "/usr/lib/python2.7/dist-packages/paste/script/create_distro.py", line 267, in extend_templates
'Template by name %r not found' % tmpl_name)
LookupError: Template by name 'plone' not found