8000 AttributeError: 'poll' object has no attribute 'ipoll' · Issue #153 · pycom/pycom-micropython-sigfox · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

AttributeError: 'poll' object has no attribute 'ipoll' #153

Closed
donikuy opened this issue Mar 23, 2018 · 4 comments
Closed

AttributeError: 'poll' object has no attribute 'ipoll' #153

donikuy opened this issue Mar 23, 2018 · 4 comments

Comments

@donikuy
Copy link
donikuy commented Mar 23, 2018

I am using a WIPY 3.0 on a WIPY 3.0.
MicroPython v1.8.6-849-83e2f7f on 2018-03-19; WiPy with ESP32

When I try to use uasyncio module i get the following error:

Traceback (most recent call last):
File "main.py", line 80, in
File "asyncio_priority.py", line 128, in run_forever
File "uasyncio/init.py", line 69, in wait
AttributeError: 'poll' object has no attribute 'ipoll'
MicroPython v1.8.6-849-83e2f7f on 2018-03-19; WiPy with ESP32

Would anyone be able to explain this error please?

Thank you!

@Sympatron
Copy link

That's because poll.ipoll() is not implemented in the Pycom fork of MicroPython.

Your easiest option is probably to change the uasyncio source to use poll.poll() instead. It is basically the same but less memory efficient. But since the WiPy3 has 4MB RAM it shouldn't be a problem for you.

@donikuy
Copy link
Author
donikuy commented Mar 24, 2018

Thank you. I have changed it. I think I was also getting confused because my software reaches loop.run_forever(), but doesn't seem to run anything, does not even go to the first task.

@donikuy
Copy link
Author
donikuy commented Mar 24, 2018

Seems to get stuck in that loop:

Traceback (most recent call last):
File "main.py", line 59, in
File "asyncio_priority.py", line 128, in run_forever
File "uasyncio/init.py", line 73, in wait

@husigeza
Copy link
Contributor
husigeza commented Aug 7, 2018

Hello,
uasyncio support among with the ipoll() added in development version 1.19.0.b4 thus closing this issue.

@husigeza husigeza closed this as completed Aug 7, 2018
peter-pycom pushed a commit that referenced this issue Jul 9, 2020
Fixed the handling of timeoffset in utime.mktime
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this issue May 12, 2023
Fixed the handling of timeoffset in utime.mktime
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

3 participants
0