PyPortal Weather Station debug issues

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
janowatzki
 
Posts: 32
Joined: Thu Jun 04, 2015 9:42 pm

PyPortal Weather Station debug issues

Post by janowatzki »

New to Circuit Python. So Im trying to do: https://learn.adafruit.com/pyportal-sma ... cuitpython

Im getting this:

File "code.py", line 49, in <module>
AttributeError: 'module' object has no attribute 'set_socket'

I attached the code.py

Thank you.
Attachments
code.py
the code.py from the project
(2.61 KiB) Downloaded 4 times

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: PyPortal Weather Station debug issues

Post by mikeysklar »

We should probably start with making sure your CircuitPython installation is the current stable release and the required libraries that go into CIRCUITPY/lib are all current.

https://circuitpython.org/board/pyportal/

User avatar
janowatzki
 
Posts: 32
Joined: Thu Jun 04, 2015 9:42 pm

Re: PyPortal Weather Station debug issues

Post by janowatzki »

Reloaded everything and it got worse I think. Here is a screenshot. Down in the serial window the m105 stuff, on the actual portal, it fills up half the screen.
Attachments
Screenshot from 2021-06-11 14-35-44.png
Screenshot from 2021-06-11 14-35-44.png (164.93 KiB) Viewed 187 times

User avatar
janowatzki
 
Posts: 32
Joined: Thu Jun 04, 2015 9:42 pm

Re: PyPortal Weather Station debug issues

Post by janowatzki »

power outage and when the lights came back on it works.... damn odd.

thanks.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”