[LLVMdev] Trouble starting private llvm buildbot master.

NAKAMURA Takumi geek4civic at gmail.com
Thu Nov 15 19:22:54 PST 2012


Hongbin,

Did you tweak sys.path?

# Extend paths to allow loading zorg and config modules.
import os, sys
path = os.path.join(os.environ.get('HOME'), 'zorg', 'buildbot',
'osuosl', 'master')
if path not in sys.path:
  sys.path.append(path)
path = os.path.join(os.environ.get('HOME'), 'zorg')
if path not in sys.path:
  sys.path.append(path)

'zorg' is expected to be located on $(HOME)/zorg.


2012/11/16 Hongbin Zheng <etherzhhb at gmail.com>:
> Hi,
>
> I had cloned zorg from https://llvm.org/svn/llvm-project/zorg/trunk,
> then I try to start the buildbot master located in buildbot/osuosl/master
> (the absolute path is
> /nfs/home/hongbin.zheng/buildbot/zorg/buildbot/osuosl/master) by simply
> typing "buildbot start"
> And I get something like this from my  twistd.log:
>
>     --- <exception caught here> ---
>       File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
> line 545, in _runCallbacks
>         current.result = callback(current.result, *args, **kw)
>       File "/usr/lib/python2.7/dist-packages/buildbot/master.py", line 226,
> in do_load
>         exec f in localDict
>       File
> "/nfs/home/hongbin.zheng/buildbot/zorg/buildbot/osuosl/master/master.cfg",
> line 17, in <module>
>         import config
>       File
> "/nfs/home/hongbin.zheng/buildbot/zorg/buildbot/osuosl/master/config/__init__.py",
> line 1, in <module>
>         import builders
>       File
> "/nfs/home/hongbin.zheng/buildbot/zorg/buildbot/osuosl/master/config/builders.py",
> line 1, in <module>
>         from zorg.buildbot.builders import ClangBuilder
>     exceptions.ImportError: No module named zorg.buildbot.builders
>
> My system information listed as follow:
> Buildbot version: 0.8.5
> Twisted version: 11.1.0
> Python 2.7.3
>
> Any hint about this problem is appreciated.
>
> thanks a lot.
> ether
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list