8000 TypeError: ord() expected string of length 1 on clear windows install · Issue #151 · 0rpc/zerorpc-python · GitHub
[go: up one dir, main page]

Skip to content< 10000 /a>
TypeError: ord() expected string of length 1 on clear windows install #151
@y666

Description

@y666

I've reinstalled clean python (2.7.12) and installed zerorpc via pip
Scripts/pip.exe install zerorpc

Trying to run an example gives:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\zerorpc\channel.py", line 78, in _channel_dispatcher
event = self._events.recv()
File "C:\Python27\lib\site-packages\zerorpc\events.py", line 365, in recv
event = Event.unpack(get_pyzmq_frame_buffer(blob))
File "C:\Python27\lib\site-packages\zerorpc\events.py", line 215, in unpack
unpacked_msg = unpacker.unpack()
File "C:\Python27\lib\site-packages\msgpack\fallback.py", line 570, in unpack
ret = self._fb_unpack(EX_CONSTRUCT, write_bytes)
File "C:\Python27\lib\site-packages\msgpack\fallback.py", line 498, in _fb_unpack
typ, n, obj = self._read_header(execute, write_bytes)
File "C:\Python27\lib\site-packages\msgpack\fallback.py", line 347, in _read_header
b = ord(c)
TypeError: ord() expected string of length 1, but memoryview found

I've zerorpc version 0.6.0, msgpack version 0.4.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0