<div dir="ltr"><br><div class="gmail_extra">Switching to PyMySQL driver solved the problem. thanks for the tip Dustin!<br><br></div><div class="gmail_extra">Next issue I run into is that LDAP authentication does not work. Correct username and password are not accepted. Initial investigations show that the results returned ldap.search_s() call are different between cpython and pypy. Not sure yet what is going on.<br><br></div><div class="gmail_extra">/Elmir<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 27, 2015 at 3:47 PM, Dustin J. Mitchell <span dir="ltr"><<a href="mailto:dustin@v.igoro.us" target="_blank">dustin@v.igoro.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That suggests that MySQLdb itself isn't pypy-compatible.  I suspect<br>
anything that depends heavily on __del__ will have issues on pypy.<br>
<br>
There are other MySQL drivers available for SQLAlchemy, including<br>
PyMySQL -- perhaps one of those would work better?<br>
<span class=""><font color="#888888"><br>
Dustin<br>
</font></span><div class=""><div class="h5"><br>
On Fri, Nov 27, 2015 at 8:36 AM, Elmir Jagudin <<a href="mailto:elmir@unity3d.com">elmir@unity3d.com</a>> wrote:<br>
><br>
><br>
> On Thu, Nov 26, 2015 at 7:53 PM, Pierre Tardy <<a href="mailto:tardyp@gmail.com">tardyp@gmail.com</a>> wrote:<br>
>><br>
>> There are no fundamental reasons known to me why buildbot will not work<br>
>> with pypy.<br>
>><br>
>> I tried to run the unit tests once, and saw a few issues in the unit tests<br>
>> which were related to the order of dictionaries iteration (which is<br>
>> implementation specific).<br>
>><br>
>> Can you tell us more about your failures?<br>
><br>
><br>
> I'm working on the same Buildbot/Katana set-up as Maria.<br>
><br>
> We tried running full Katana instance under pypy in our staging set-up. It<br>
> seemed to work fine, showing the home page, running the builds on the<br>
> slaves, etc. However the twisted log was filling up with:<br>
><br>
>     2015-11-26 13:50:11+0100 [-] Exception ProgrammingError: (2014,<br>
> "Commands out of<br>
>        sync; you can't run this command now") in method __del__ of<br>
> <MySQLdb.cursors.Cursor object<br>
>        at 0x00000000061875c8> ignored<br>
><br>
> This is probably some issue related to pypy garbage collection vs cpython's<br>
> reference counting. Not sure if this causing actual problems or not.<br>
><br>
> Another issue I have noticed was that running 'buildbot create-master' hangs<br>
> during "creating database (sqlite:///state.sqlite)" step.<br>
><br>
> When running unit tests, a bunch of master upgrade tests hangs. A bunch of<br>
> other tests fails with DB releated error messages.<br>
><br>
> Btw, this is on eight branch of the buildbot.<br>
><br>
> /Elmir<br>
><br>
><br>
><br>
><br>
>><br>
>> Le jeu. 26 nov. 2015 à 19:26, Bill Deegan <<a href="mailto:bill@baddogconsulting.com">bill@baddogconsulting.com</a>> a<br>
>> écrit :<br>
>>><br>
>>> Does twisted run under pypy?<br>
>>> (I've not tried)<br>
>>><br>
>>> -Bill<br>
>>><br>
>>> On Thu, Nov 26, 2015 at 6:00 AM, Maria Marcano<br>
>>> <<a href="mailto:mariangemarcano@gmail.com">mariangemarcano@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> We are trying to run buildbot (our custom katana version) with pypy,<br>
>>>> we run buildbot with mysql and we got some failures,<br>
>>>><br>
>>>> Has anyone tried doing this before? What did you do to get it working?<br>
>>>><br>
>>>> Thanks!<br>
>>>><br>
>>>> Maria.<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> devel mailing list<br>
>>>> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
>>>> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> devel mailing list<br>
>>> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
>>> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
>> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>