[LLVMdev] Trouble starting private llvm buildbot master.

Hongbin Zheng etherzhhb at gmail.com
Thu Nov 15 19:47:47 PST 2012


thanks a lot :)


On Fri, Nov 16, 2012 at 11:22 AM, NAKAMURA Takumi <geek4civic at gmail.com>wrote:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121116/89f2f44a/attachment.html>


More information about the llvm-dev mailing list