Connection successful!
IP: 192.168.0.231
Task exception wasn’t retrieved
future: coro= <generator object ‘_tcp_server’ at 2001fd90>
Traceback (most recent call last):
File “asyncio/core.py”, line 1, in run_until_complete
File “tinyweb/server.py”, line 621, in _tcp_server
File “asyncio/core.py”, line 1, in queue_read
File “asyncio/core.py”, line 1, in _enqueue
NameError: name ‘cur_task’ isn’t defined
I have found the same issue. I did the other examples and they all work OK
I also changed the code in main.py to reflect the use of the ‘Mini’ by removing the triple quotes.
I reflashed the u2f file to be certain I had the correct one installed. No change.
I would like to be included on any results posted by tech support. Thanks
I am sorry if I missed the answer here? I have the exact same errors. What was found for this to work?
Task exception wasn’t retrieved
future: coro= <generator object ‘_tcp_server’ at 2001e870>
Traceback (most recent call last):
File “asyncio/core.py”, line 1, in run_until_complete
File “/lib/tinyweb/server.py”, line 621, in _tcp_server
File “asyncio/core.py”, line 1, in queue_read
File “asyncio/core.py”, line 1, in _enqueue
NameError: name ‘cur_task’ isn’t defined
Might be worth trying an older MicroPython version if you haven’t already? Possible that some sort of bug or incompatibility with tinyweb has snuck into the latest version?