ValueError: The async backend curio is not currently supported.
See original GitHub issueWhen trying to run the pubsub example I get the following error:
Task Crash: Task(id=6, name='client', state='TERMINATED')
Traceback (most recent call last):
File "/home/logi/.virtualenvs/nng/lib/python3.7/site-packages/curio/kernel.py", line 737, in kernel_run
trap = current.send(current._trap_result)
File "/home/logi/.virtualenvs/nng/lib/python3.7/site-packages/curio/task.py", line 167, in send
return self._send(value)
File "/home/logi/.virtualenvs/nng/lib/python3.7/site-packages/curio/task.py", line 171, in _task_runner
return await coro
File "pubsub.py", line 35, in client
msg = await sock.arecv_msg()
File "/home/logi/.virtualenvs/nng/lib/python3.7/site-packages/pynng/nng.py", line 643, in arecv_msg
with _aio.AIOHelper(self, self._async_backend) as aio:
File "/home/logi/.virtualenvs/nng/lib/python3.7/site-packages/pynng/_aio.py", line 150, in __init__
.format(async_backend)
ValueError: The async backend curio is not currently supported.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How to use the sniffio.current_async_library function in sniffio
The current thread must not be already running an event loop. ... _aio_helper_map: raise ValueError( 'The async backend {} is not currently supported....
Read more >sniffio.current_async_library Example - Program Talk
Event() if curio and current_async_library() == 'curio': return curio. ... raise ValueError( 'The async backend {} is not currently supported.
Read more >Release 3.6.1.post82 Alex Grönholm
AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio or trio. It implements.
Read more >Anyio: all you need for async programming stuff
curio: A simple and pleasant async library which tried to keep as much as ... curio is no longer supported due to some...
Read more >Using async and await — Flask Documentation (2.2.x)
If you encounter something like ValueError: set_wakeup_fd only works in main ... Flask extensions predating Flask's async support do not expect async views....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@geronimo-iia Oh, thank you for the reminder, I totally forgot that you wrote some support for this! I have no idea what I was doing in October. Funny thing is that I even linked to #74, your PR, when I meant to link to #23
@logileifs can you test this on master?
Should work now with the new release!