veles icon indicating copy to clipboard operation
veles copied to clipboard

NetworkClient: Disconnect. error

Open 0xFF1E071F opened this issue 4 years ago • 1 comments

I am using archlinux and installed veles using AUR But when i am trying to run veles i got this error?

Waiting for a new server to start...
Process of locally created server started.
INFO:root:Świtezianka server is starting up...
INFO:root:Opening database...
Traceback (most recent call last):
  File "srv.py", line 51, in <module>
    conn = AsyncLocalConnection(loop, args.database)
  File "/usr/lib/python3.8/site-packages/veles/server/conn.py", line 78, in __init__
    tracker = DbTracker(tracker)
  File "/usr/lib/python3.8/site-packages/veles/db/tracker.py", line 49, in __init__
    db = DbBackend(db)
  File "/usr/lib/python3.8/site-packages/veles/db/backend.py", line 135, in __init__
    wrapper = msgpackwrap.MsgpackWrapper()
  File "/usr/lib/python3.8/site-packages/veles/proto/msgpackwrap.py", line 34, in __init__
    self.unpacker = msgpack.Unpacker(
  File "msgpack/_unpacker.pyx", line 317, in msgpack._cmsgpack.Unpacker.__init__
TypeError: __init__() got an unexpected keyword argument 'encoding'
Process of locally created server finished. Exit code: 1.
NetworkClient: Disconnect.

Installed requirements are:

python-msgpack 1.0.0-1 [installed] python-pbr 5.4.5-1 [installed] python-six 1.15.0-1 [installed] python-pyopenssl 19.1.0-2 [installed]

0xFF1E071F avatar Aug 21 '20 15:08 0xFF1E071F

I also try to run srv.py from terminal but i got the same error:

python srv.py --cert-dir veles+ssl://[email protected]:3135 /home/reverser/.local/share/CodiSec/Veles/veles.vdb 
INFO:root:Świtezianka server is starting up...
INFO:root:Opening database...
Traceback (most recent call last):
  File "srv.py", line 51, in <module>
    conn = AsyncLocalConnection(loop, args.database)
  File "/usr/lib/python3.8/site-packages/veles/server/conn.py", line 78, in __init__
    tracker = DbTracker(tracker)
  File "/usr/lib/python3.8/site-packages/veles/db/tracker.py", line 49, in __init__
    db = DbBackend(db)
  File "/usr/lib/python3.8/site-packages/veles/db/backend.py", line 135, in __init__
    wrapper = msgpackwrap.MsgpackWrapper()
  File "/usr/lib/python3.8/site-packages/veles/proto/msgpackwrap.py", line 34, in __init__
    self.unpacker = msgpack.Unpacker(
  File "msgpack/_unpacker.pyx", line 317, in msgpack._cmsgpack.Unpacker.__init__
TypeError: __init__() got an unexpected keyword argument 'encoding'

BTW running with sudo doesn't help. I 've got the same error.

0xFF1E071F avatar Sep 01 '20 08:09 0xFF1E071F