Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

PyPortal Weather Station debug issues
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PyPortal Weather Station debug issues

by janowatzki on Wed Jun 09, 2021 8:36 pm

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 2 times

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

Re: PyPortal Weather Station debug issues

by mikeysklar on Thu Jun 10, 2021 3:22 pm

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/

mikeysklar
 
Posts: 4559
Joined: Mon Aug 01, 2016 8:10 pm

Re: PyPortal Weather Station debug issues

by janowatzki on Fri Jun 11, 2021 3:55 pm

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 118 times

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

Re: PyPortal Weather Station debug issues

by janowatzki on Fri Jun 11, 2021 4:35 pm

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

thanks.

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

Please be positive and constructive with your questions and comments.