Search found 2 matches

by KJM
Sun Jun 23, 2019 1:48 am
Forum: ESP8266 boards
Topic: urequests - Timeout
Replies: 2
Views: 648

Re: urequests - Timeout

Doesn't work on Pycom's version of urequests. File "/flash/lib/urequests.py", line 112, in get TypeError: function does not take keyword arguments import usocket class Response: def __init__(self, f): self.raw = f self.encoding = "utf-8" self._cached = None def close(self): if self.raw: self.raw.clo...
by KJM
Sun Nov 18, 2018 11:02 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 20
Views: 4420

Re: uPing - Ping library for MicroPython

I can't get this to run on a pycom gpy. File "/flash/lib/uping.py", line 46, in ping AttributeError: 'function' object has no attribute 'randint' which I fudged with h.id=100 as a workaround then File "/flash/lib/uping.py", line 51, in ping AttributeError: 'module' object has no attribute 'SOCK_RAW'...