<div dir="ltr"><div>Better discuss this on devel..</div><div><br></div><div>The registry of worker command is maintained here:</div><a href="https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/commands/registry.py#L27">https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/commands/registry.py#L27</a><br><div><br></div><div>And it is indexed as nativeString so the master sends its native string via pb and py3 receives a bytes.</div><div><br></div><div>Pierre</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 14, 2017 at 12:18 PM Craig Rodrigues <<a href="mailto:rodrigc@crodrigues.org">rodrigc@crodrigues.org</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">Hi,<div><br></div><div>From the buildbot master branch, I experimented with setting up</div><div>a Python 2.7 master and a Python 3.6 worker.  I was able to start the master and worker,</div><div>and saw that they connected to each other.</div><div><br></div><div>However, when I triggered a build, I got:</div><div><br></div><div><div></div><br><div><div class="m_7737498120985822214hljs m_7737498120985822214ruby" style="display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248);font-family:monospace"><div>Traceback (most recent call last):</div><div>  File <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py"</span>, line <span class="m_7737498120985822214hljs-number" style="color:rgb(136,0,0)">459</span>, <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">in</span> callback</div><div>    <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">self</span>._startRunCallbacks(result)</div><div>  File <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py"</span>, line <span class="m_7737498120985822214hljs-number" style="color:rgb(136,0,0)">567</span>, <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">in</span> _startRunCallbacks</div><div>    <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">self</span>._runCallbacks()</div><div>  File <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py"</span>, line <span class="m_7737498120985822214hljs-number" style="color:rgb(136,0,0)">653</span>, <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">in</span> _runCallbacks</div><div>    current.result = callback(current.result, *args, **kw)</div><div>  File <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py"</span>, line <span class="m_7737498120985822214hljs-number" style="color:rgb(136,0,0)">1442</span>, <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">in</span> gotResult</div><div>    _inlineCallbacks(r, g, deferred)</div><div>--- <exception caught here> ---</div><div>  File <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py"</span>, line <span class="m_7737498120985822214hljs-number" style="color:rgb(136,0,0)">1386</span>, <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">in</span> _inlineCallbacks</div><div>    result = g.send(result)</div><div>  File <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/process/buildstep.py"</span>, line <span class="m_7737498120985822214hljs-number" style="color:rgb(136,0,0)">704</span>, <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">in</span> run</div><div>    results = <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">yield</span> <span class="m_7737498120985822214hljs-keyword" style="font-weight:bold">self</span>._start_deferred</div><div>buildbot.process.remotecommand.<span class="m_7737498120985822214hljs-symbol" style="color:rgb(188,96,96)">RemoteException:</span> buildbot_worker.base.<span class="m_7737498120985822214hljs-symbol" style="color:rgb(188,96,96)">UnknownCommand:</span> unrecognized WorkerCommand <span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">'b'</span>shell<span class="m_7737498120985822214hljs-string" style="color:rgb(136,0,0)">''</span></div><div>Traceback unavailable</div></div></div><br><div></div><div><br></div></div><div>Any ideas what the problem could be?</div><div><br></div><div>--</div><div>Craig</div></div>
_______________________________________________<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></div>