Hello Luís,

after some more examination I've discovered, that the error really was not connected with Babel, but rather with some "impedance mismatch" between CFFI and ZMQ: CFFI currently is able to support only null-terminated strings, while ZMQ operates in blobs, so TRANSLATE-FROM-FOREIGN was fed with the data, it was not ready to handle.

I've prepared a patch to CFFI, that can handle this situation (additional TRANSLATE- method for string blobs of known size) and will soon send it, if I no better solution will be found.

Best regards,
Vsevolod


On Thu, Aug 5, 2010 at 12:35 AM, Luís Oliveira <luismbo@gmail.com> wrote:
Hello Vsevolod,

On Wed, Aug 4, 2010 at 9:42 PM, Vsevolod Dyomkin <vseloved@gmail.com> wrote:
> It's also worth mentioning, that I'm using babel-0.3.

Perhaps you should try with the development versions of babel and
CFFI. Let me know if that helps.

Cheers,

--
Luís Oliveira
http://r42.eu/~luis/