Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbdserver does not start with python 3.10 #155

Open
jsm222 opened this issue Jun 25, 2023 · 0 comments
Open

nbdserver does not start with python 3.10 #155

jsm222 opened this issue Jun 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jsm222
Copy link

jsm222 commented Jun 25, 2023

benji nbd unexpected keyword loop

   ERROR: TypeError: BaseEventLoop.create_server() got an unexpected keyword argument 'loop'
Traceback (most recent call last):
  File "/home/jesper/github/benji/src/benji/scripts/benji.py", line 358, in main
    func(**func_args)
  File "/home/jesper/github/benji/src/benji/commands.py", line 353, in nbd
    server.serve_forever()
  File "/home/jesper/github/benji/src/benji/nbdserver.py", line 398, in serve_forever
    server = loop.run_until_complete(coro)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/usr/lib/python3.10/asyncio/streams.py", line 84, in start_server
    return await loop.create_server(factory, host, port, **kwds)
TypeError: BaseEventLoop.create_server() got an unexpected keyword argument 'loop'

benji nbd

Also see https://bugs.python.org/issue46796

@jsm222 jsm222 added the bug Something isn't working label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant