I'm not very fluent in Python, but it seems that <b'something'> is of type "bytes" and not of type "str". I tried running the oneconf-service released in Precise and it seemed to work. It is strange, because the method server_status() in oneconf/networksync/infraclient_pristine.py is exactly the same.
So, I modified the _get() method in that file (that is inherited from the Piston API, I suppose) to convert the return value from bytes to str if necessary. oneconf-service then seems to sync with the server correctly in my laptop. I haven't tested with multiple computers, so I have no idea if it actually works. I have the patch attached. For the developers: please check/test the patch carefully. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1165104 Title: oneconf is only showing the pc you are on in raring and isn't sharing to other machines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1165104/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
