Comments (3)
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.
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.
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)
- Serivice object initialization inside service crashes it HOT 6
- Unable to invoke method in default app HOT 3
- My app's traceback HOT 3
- Cocaine logger and Unicode HOT 4
- cocaine.logging.Logger warn() method rename HOT 3
- Using msgpack HOT 7
- Asyncio branch: strange behaviour. HOT 4
- Wrong dependance in debian package HOT 4
- No cocaine.decorators HOT 2
- [http] Add a context manager for response object HOT 7
- importing decorators module causes RuntimeError if __context__ is not available HOT 2
- Application development with Cocaine
- Using cocaine-framework-python in Windows environment HOT 1
- Current example of usage cocaine app HOT 1
- Can not install framework into specified dir HOT 1
- Russian docs link is broken in README.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocaine-framework-python.