<div dir="ltr">Thanks for the help!<div><br></div><div>I worked through '<a href="http://docs.buildbot.net/current/tutorial/tour.html#quick-tour-label" target="_blank">A quick tour</a>' ran into some minor issues:</div><div><ul><li>In <a href="http://docs.buildbot.net/current/tutorial/tour.html#enabling-the-irc-bot" target="_blank">Enabling the IRC bot</a> it says:</li></ul><p style="margin:0px 0px 0.5em;padding:0px"><font face="monospace, monospace">Enter these lines below the WebStatus line in master.cfg:</font></p><p style="margin:0px 0px 0.5em;padding:0px"><font face="monospace, monospace"><span style="color:rgb(33,33,33);font-size:13px;line-height:1.5">from buildbot.plugins import status</span><br></font></p></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">c['status'].append(status.WebStatus(http_port=8010, authz=authz_cfg))
c['status'].append(status.IRC(host="<a href="http://irc.freenode.org" target="_blank">irc.freenode.org</a>", nick="bbtest",
 channels=["#buildbot-test"]))
</font><br><br><br>But I think you only need to enter the line:</div><div><br></div><div><font face="monospace, monospace">['status'].appens(status.IRC(host="<a href="http://irc.freenode.org" target="_blank">irc.freenode.org</a></font>" ......</div><div><br></div><div>not "all" of the lines.</div><div><br></div><div><ul><li>In <a href="http://docs.buildbot.net/current/tutorial/tour.html#debugging-with-manhole" target="_blank">Debugging the manhole</a> is said "After restarting the master, you can ssh into the master and get an interactive Python shell:" but I didn't know how to "restart" but "buildbot restart master" worked.</li><li>Also in <a href="http://docs.buildbot.net/current/tutorial/tour.html#debugging-with-manhole" target="_blank">Debugging the manhole</a> <span style="line-height:1.5">I couldn't ssh initially:</span></li></ul><div><div><font face="monospace, monospace">$ ssh -p1234 <a href="mailto:admin@127.0.0.1" target="_blank">admin@127.0.0.1</a></font></div><div><font face="monospace, monospace">Unable to negotiate with <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1</font></div></div></div><div><br></div><div>What I had to do was add it as an option, then it worked</div><div><br></div><div><font face="monospace, monospace">ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -p1234 <a href="mailto:admin@127.0.0.1" target="_blank">admin@127.0.0.1</a><br></font></div><div><br></div><div>From <a href="http://www.openssh.com/legacy.html" target="_blank">openssh</a> It seems the default crypto should be updated and <font face="monospace, monospace">diffie-hellman-group1-sha1</font> shouldn't be the only option.</div><div><ul><li>Finally in <a href="http://docs.buildbot.net/current/tutorial/tour.html#adding-a-try-scheduler" target="_blank">Adding a 'try' scheduler</a> it says to add the "<font face="monospace, monospace">c['scheduler'] = ....</font>". But of course I added to the top of the file and there was no 'scheduler' value in 'c'. You might want to say add it at the end of the master.cfg.</li></ul></div><div><br></div><div>Again, thanks for the help!</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 26, 2015 at 4:22 PM Bill Deegan <<a href="mailto:bill@baddogconsulting.com" target="_blank">bill@baddogconsulting.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 26, 2015 at 4:04 PM, Wink Saville <span dir="ltr"><<a href="mailto:wink@saville.com" target="_blank">wink@saville.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I uninstalled the previous version and installed buildbot under virtualenv for python2 and it works:<div><br></div><div><div>$ . venv/bin/activate</div><div>(venv)[wink@wink-envy buildbot]</div><div>$ buildbot --version</div><div>Buildbot version: 0.8.12</div><div>Twisted version: 15.4.0</div><div>(venv)[wink@wink-envy buildbot]</div></div><div><br></div><div>Although way premature at this point, running a background service like continuous integration in a virtualenv seems clumsy. I suspect I'm missing something.</div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Been doing it for years!<br></div><div>That way you can try out new versions without disturbing the current version..<br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I'm feeling using docker or other container system might be a better approach, but I don't know anything about them either :)</div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Probably not a horrible idea.  Though virtualenv is (as far as python goes) somewhat equivalent to a docker container (not the files it touches, but as far as installing python modules in a segregated manor).<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Suggestions?</div></div></blockquote><div><br></div><div>Just use virtualenv to run buildbot.<br></div><div>Don't run it as root.<br></div><div>If you like (this is what I've done) use an apache (or webserver of your choice) redirect from some virtualhost (<a href="http://buildbot.whatever.com" target="_blank">buildbot.whatever.com</a>) to whatever port you are running buildbot on (as a non-root user).<br><br></div><div>-Bill<br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div dir="ltr"><div><br></div><div><div class="gmail_quote"><div dir="ltr">On Mon, Oct 26, 2015 at 3:32 PM Elliot Saba <<a href="mailto:staticfloat@gmail.com" target="_blank">staticfloat@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You have installed buildbot in your global python packages, under Python 3.  Note how the buildbot script is being run from <span style="color:rgb(80,0,80);font-size:12.8px">/usr/bin/buildbot.  Try removing it from your global python packages, then activate your virtualenv and try installing it again.</span><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px">This kind of behavior is not unusual for a python package; many packages are not compatible with python 3, so care must be taken when invoking these packages with python3 as the main python interpreter.  Once your virtualenv is setup properly (which it looks like it is) and the packages are installed <i>within</i> that virtualenv (which they are not yet) everything should work just fine.<br></span></font></div></div><div dir="ltr"><div><div><span style="color:rgb(80,0,80);font-size:12.8px">-E</span></div></div></div><div dir="ltr"><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 3:29 PM, Wink Saville <span dir="ltr"><<a href="mailto:wink@saville.com" target="_blank">wink@saville.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry, prematurely sent.<div><br></div><div>So the virtual env did:</div><div><br></div><div><div>$ source venv/bin/activate</div><div>(venv)[wink@wink-envy buildbot]</div><div>$ python --version</div><div>Python 2.7.10</div><div>(venv)[wink@wink-envy buildbot]</div><span><div>$ buildbot --version</div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/buildbot", line 3, in <module></div><div>    from buildbot.scripts import runner</div><div>  File "/usr/lib/python3.5/site-packages/buildbot/scripts/runner.py", line 738</div><div>    print "Buildbot version: %s" % buildbot.version</div><div>                               ^</div><div>SyntaxError: Missing parentheses in call to 'print'</div></span><div>(venv)[wink@wink-envy buildbot]</div><div><br></div><div>Anyway, what is the suggested work-around?</div><div><br></div><div>Will there be a python3 compatible verson or even one that would work in a "bi" environment "properly"?</div><div><div><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 26, 2015 at 3:19 PM Wink Saville <<a href="mailto:wink@saville.com" target="_blank">wink@saville.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hmmm, I have both 3.5 and 2.7 installed, I'm surprised that buildbot isn't capable of running in an environment where both are installed and python3 is the default. I also tried setting up a virtualenv and it still fails, probably because I installed buildbot using pip which is a python3 version:<div><div>pip 7.1.2 from /usr/lib/python3.5/site-packages (python 3.5)</div></div></div><div dir="ltr"><div><div><br></div><div class="gmail_quote"><div dir="ltr">On Mon, Oct 26, 2015 at 2:42 PM Pierre Tardy <<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Buildbot only supports python 2.7 as of now</p>
<br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr">Le lun. 26 oct. 2015 22:38, Wink Saville <<a href="mailto:wink@saville.com" target="_blank">wink@saville.com</a>> a écrit :<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:13px;line-height:19.5px">I installed buidbot using pip and then run "buildbot --version" and it failed, what have I done wrong?</span><div style="font-size:13px;line-height:19.5px"><br></div><div style="font-size:13px;line-height:19.5px"><div>$ buildbot --version</div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/buildbot", line 3, in <module></div><div>    from buildbot.scripts import runner</div><div>  File "/usr/lib/python3.5/site-packages/buildbot/scripts/runner.py", line 738</div><div>    print "Buildbot version: %s" % buildbot.version</div><div>                               ^</div><div>SyntaxError: Missing parentheses in call to 'print'</div><div><br></div></div></div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div></blockquote></div></div></div></blockquote></div></div></div></div></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br></blockquote></div><br></div></div></div></blockquote></div></div></div></div></div></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br></blockquote></div></div></div></blockquote></div></div>