Hongbin Zheng
2012-Nov-16 03:04 UTC
[LLVMdev] Trouble starting private llvm buildbot master.
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121116/d15c90ad/attachment.html>
NAKAMURA Takumi
2012-Nov-16 03:22 UTC
[LLVMdev] Trouble starting private llvm buildbot master.
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 >
Hongbin Zheng
2012-Nov-16 03:47 UTC
[LLVMdev] Trouble starting private llvm buildbot master.
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>
Possibly Parallel Threads
- [LLVMdev] Trouble starting private llvm buildbot master.
- [LLVMdev] [llvm-commits] [zorg] r144978 - /zorg/trunk/buildbot/osuosl/master/config/builders.py
- [LLVMdev] Clang build "clang-native-arm-cortex-a9" is broken
- [LLVMdev] Clang build "clang-native-arm-cortex-a9" is broken
- [LLVMdev] [cfe-commits] Clang build "clang-native-arm-cortex-a9" is broken