| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/misc/veles/files/ |
Upload File : |
- workaround for the incompatibility with newer python's msgpack package:
- TypeError: __init__() got an unexpected keyword argument 'encoding'
--- python/veles/proto/msgpackwrap.py.orig 2021-04-01 00:13:20 UTC
+++ python/veles/proto/msgpackwrap.py
@@ -33,7 +33,7 @@ class MsgpackWrapper(pep487.NewObject):
self.packer = msgpack.Packer(
use_bin_type=True, default=MsgpackWrapper.pack_obj)
self.unpacker = msgpack.Unpacker(
- encoding='utf-8', ext_hook=MsgpackWrapper.load_obj, max_buffer_size=sys.maxsize)
+ ext_hook=MsgpackWrapper.load_obj, max_buffer_size=sys.maxsize)
@classmethod
def pack_obj(cls, obj):