[LLVMdev] Trouble starting private llvm buildbot master.

2 views
Skip to first unread message

Hongbin Zheng

unread,
Nov 15, 2012, 10:04:21 PM11/15/12
to LLVM Developers Mailing List
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

NAKAMURA Takumi

unread,
Nov 15, 2012, 10:22:54 PM11/15/12
to Hongbin Zheng, LLVM Developers Mailing List
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 <ethe...@gmail.com>:
> _______________________________________________
> LLVM Developers mailing list
> LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
_______________________________________________
LLVM Developers mailing list
LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

Hongbin Zheng

unread,
Nov 15, 2012, 10:47:47 PM11/15/12
to NAKAMURA Takumi, LLVM Developers Mailing List
thanks a lot :)
Reply all
Reply to author
Forward
0 new messages