Skip to content

Instantly share code, notes, and snippets.

@a2chub
Created August 18, 2011 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a2chub/1153389 to your computer and use it in GitHub Desktop.
Save a2chub/1153389 to your computer and use it in GitHub Desktop.
buildbot initial err
~/tmp$ paster create -t buildbot my.project
Traceback (most recent call last):
File "/usr/local/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.4.2', 'console_scripts', 'paster')()
File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.4.2-py2.7.egg/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.4.2-py2.7.egg/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.4.2-py2.7.egg/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.4.2-py2.7.egg/paste/script/create_distro.py", line 73, in command
self.extend_templates(templates, tmpl_name)
File "/usr/local/lib/python2.7/dist-packages/PasteScript-1.7.4.2-py2.7.egg/paste/script/create_distro.py", line 262, in extend_templates
tmpl = entry.load()(entry.name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/local/lib/python2.7/dist-packages/collective.buildbot-0.4.1-py2.7.egg/collective/buildbot/__init__.py", line 6, in <module>
from buildbot.slave.commands import ShellCommandPP
ImportError: No module named slave.commands
@shimizukawa
Copy link

builtbot-0.8以降をインストールしていて、テンプレートが0.8未対応にみえます。buildbot-0.8から、buildbot本体とbuildbot-slaveとに分かれたので、そのせいだとおもいます。
そうなら、buildbotのバージョンを下げるか、collective.builtbotをあきらめるかしてください・・

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment