Giter Club home page Giter Club logo

Comments (3)

3Hren avatar 3Hren commented on July 17, 2024

Seems like you have python-msgpack version less than 0.3.0.
Check this: python -c 'import msgpack; print(msgpack.version)'
Or: pip list | grep msgpack

from cocaine-framework-python.

vanilhorizon avatar vanilhorizon commented on July 17, 2024

python -c 'import msgpack; print(msgpack.version)'
gives me ( 0.4.0 )

i reinstalled pip, log changed

ERROR:tornado.application:Exception in I/O handler for fd 7
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado-3.1.1-py2.7.egg/tornado/ioloop.py", line 672, in start
self._handlers[fd](fd, events)
File "/usr/local/lib/python2.7/dist-packages/tornado-3.1.1-py2.7.egg/tornado/stack_context.py", line 331, in wrapped
raise_exc_info(exc)
File "/usr/local/lib/python2.7/dist-packages/tornado-3.1.1-py2.7.egg/tornado/stack_context.py", line 302, in wrapped
ret = fn(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/cocaine-0.11.1.0-py2.7.egg/cocaine/asio/ev.py", line 117, in proxy
self._callbacks(fd, self.READ)
File "/usr/local/lib/python2.7/dist-packages/cocaine-0.11.1.0-py2.7.egg/cocaine/asio/stream.py", line 120, in _on_event
self._callback(self._buffer)
File "/usr/local/lib/python2.7/dist-packages/cocaine-0.11.1.0-py2.7.egg/cocaine/asio/service.py", line 184, in dispatch
for chunk in unpacker:
File "build/bdist.linux-x86_64/egg/msgpack/fallback.py", line 440, in next
ret = self._fb_unpack(EX_CONSTRUCT, None)
File "build/bdist.linux-x86_64/egg/msgpack/fallback.py", line 400, in _fb_unpack
ret.append(self._fb_unpack(EX_CONSTRUCT, write_bytes))
File "build/bdist.linux-x86_64/egg/msgpack/fallback.py", line 400, in _fb_unpack
ret.append(self._fb_unpack(EX_CONSTRUCT, write_bytes))
File "build/bdist.linux-x86_64/egg/msgpack/fallback.py", line 381, in _fb_unpack
typ, n, obj = self._read_header(execute, write_bytes)
File "build/bdist.linux-x86_64/egg/msgpack/fallback.py", line 358, in _read_header
n = struct.unpack(">H", self._fb_read(2, write_bytes))[0]
error: unpack requires a string argument of length 2
Timeout

from cocaine-framework-python.

noxiouz avatar noxiouz commented on July 17, 2024

As far as I understand you should install libmsgpack-dev and reinstall msgpack for python. Without libmsgpack-dev pip installs only pure python implementation (fallback.py).

from cocaine-framework-python.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.