[users at bb.net] buildbot --version failing

Wink Saville wink at saville.com
Mon Oct 26 22:29:14 UTC 2015


Sorry, prematurely sent.

So the virtual env did:

$ source venv/bin/activate
(venv)[wink at wink-envy buildbot]
$ python --version
Python 2.7.10
(venv)[wink at wink-envy buildbot]
$ buildbot --version
Traceback (most recent call last):
  File "/usr/bin/buildbot", line 3, in <module>
    from buildbot.scripts import runner
  File "/usr/lib/python3.5/site-packages/buildbot/scripts/runner.py", line
738
    print "Buildbot version: %s" % buildbot.version
                               ^
SyntaxError: Missing parentheses in call to 'print'
(venv)[wink at wink-envy buildbot]

Anyway, what is the suggested work-around?

Will there be a python3 compatible verson or even one that would work in a
"bi" environment "properly"?


On Mon, Oct 26, 2015 at 3:19 PM Wink Saville <wink at saville.com> wrote:

> 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:
> pip 7.1.2 from /usr/lib/python3.5/site-packages (python 3.5)
>
> On Mon, Oct 26, 2015 at 2:42 PM Pierre Tardy <tardyp at gmail.com> wrote:
>
>> Buildbot only supports python 2.7 as of now
>>
>> Le lun. 26 oct. 2015 22:38, Wink Saville <wink at saville.com> a écrit :
>>
>>> I installed buidbot using pip and then run "buildbot --version" and it
>>> failed, what have I done wrong?
>>>
>>> $ buildbot --version
>>> Traceback (most recent call last):
>>>   File "/usr/bin/buildbot", line 3, in <module>
>>>     from buildbot.scripts import runner
>>>   File "/usr/lib/python3.5/site-packages/buildbot/scripts/runner.py",
>>> line 738
>>>     print "Buildbot version: %s" % buildbot.version
>>>                                ^
>>> SyntaxError: Missing parentheses in call to 'print'
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at buildbot.net
>>> https://lists.buildbot.net/mailman/listinfo/users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20151026/0b563999/attachment.html>


More information about the users mailing list