You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of commit 203cc48, I am getting an error in uasyncio.core (line 107) when using the uhttpd library. I have added two print lines for ret and cb, so the error is on actually line 107 as of that commit.
FDUSHIN> ret: <IORead object at 3fff6a10>
FDUSHIN> cb: <generator object 'start_server' at 3fff77d0>
Traceback (most recent call last):
File "main.py", line 14, in
File "neolamp/init.py", line 60, in run
File "uhttpd/init.py", line 70, in run
File "uhttpd/init.py", line 407, in run
File "uasyncio/core.py", line 140, in run_forever
File "uasyncio/core.py", line 109, in run_forever
AttributeError: 'generator' object has no attribute 'pend_throw'
I don't know how esoteric my usage of uasyncio.start_server is -- I am passing in a locally defined function, which is annotated with @asyncio.coroutine:
As of commit 203cc48, I am getting an error in uasyncio.core (line 107) when using the uhttpd library. I have added two print lines for ret and cb, so the error is on actually line 107 as of that commit.
FDUSHIN> ret: <IORead object at 3fff6a10>
FDUSHIN> cb: <generator object 'start_server' at 3fff77d0>
Traceback (most recent call last):
File "main.py", line 14, in
File "neolamp/init.py", line 60, in run
File "uhttpd/init.py", line 70, in run
File "uhttpd/init.py", line 407, in run
File "uasyncio/core.py", line 140, in run_forever
File "uasyncio/core.py", line 109, in run_forever
AttributeError: 'generator' object has no attribute 'pend_throw'
I don't know how esoteric my usage of uasyncio.start_server is -- I am passing in a locally defined function, which is annotated with @asyncio.coroutine:
https://github.com/fadushin/esp8266/blob/master/micropython/uhttpd/uhttpd/__init__.py#L401
If you like, I can try to provide a simpler test case. I would not be surprised if I am abusing the library in some way.
Thank you!
The text was updated successfully, but these errors were encountered: