R.E Python 3.3;

It doesn't actually require it, but it's importing asyncio directly instead of 
using the standard try/catch around the import and falling back to trollius 
(the Python2 port). We can probably import via tornado, which does this 
try/catch for us.

Right now both compactor and pesos can't be installed with setuptools due to 
the BUILD files (setuptools tries to create build folders and the name 
conflicts). I'll be fixing this up today by removing pants, at least just to 
get it working... not sure how Brian feels about that yet ;-)

I can ping the mailing list once both compactor and pesos are up and running in 
an easy-to-use way (next few hours). I've been using 
https://github.com/tarnfeld/mesos-python-framework as a test framework 
skeleton, but that's also not easy to set up just yet.

Note: Regardless of the above, you need to have installed our fork of tornado 
for anything to work beyond the first round of messages.

Cheers,

Tom.

On 23 Jul 2014, at 07:42, Vetoshkin Nikita <nikita.vetosh...@gmail.com> wrote:

> Hi, Tom!
> I would gladly help you to debug if you could provide some information
> about your setup. Is it localhost only communication? Any code snippet to
> reproduce the problem?
> 
> P.S. I'm trying to setup pesos and it seems like python3.3 is a requirement
> but it isn't mentioned anywhere.
> 
> 
> On Tue, Jul 22, 2014 at 1:45 AM, Tom Arnfeld <t...@duedil.com> wrote:
> 
>> Hey,
>> 
>> I've started to try and finish off the work @wickman started around
>> pesos[1] and compactor[2] - pure language bindings for mesos and libprocess
>> in Python. It's currently far from finished, but have fun into a brick wall
>> around libprocess. If anyone could shed any light that'd be great.
>> 
>> To start with, I saw the framework register but disconnect immediately.
>> From a quick chat on IRC someone mentioned this could be related to not
>> keeping the inbound message connection open, the one that sends
>> mesos.internal.FrameworkRegisteredMessage. In doing this, the framework
>> does register with the master and shows up in the UI – however no further
>> messages are received at all. I'm keeping the outbound connection open
>> already.
>> 
>> Mesos seems to think it's sending offers (they show up in the logs and are
>> showing in the Offers page) but the master never gets past there, and the
>> framework never receives the HTTP connections. No doubt this is a bug in
>> the socket logic on my end. Struggling to find my way through the
>> libprocess source to figure it out.
>> 
>> Any pointers would be much appreciated.
>> 
>> Thanks!
>> 
>> Tom.
>> 
>> [1] https://github.com/wickman/pesos
>> [2] https://github.com/wickman/compactor

Reply via email to