Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

NetworkClient: Disconnect. error #451

Open
0xFF1E071F opened this issue Aug 21, 2020 · 1 comment
Open

NetworkClient: Disconnect. error #451

0xFF1E071F opened this issue Aug 21, 2020 · 1 comment

Comments

@0xFF1E071F
Copy link

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
Copy link
Author

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

python srv.py --cert-dir veles+ssl://a516fec03fbee24dfae2a70ca8889c9f@127.0.0.1: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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant