I have been trying to use John Park's scoreboard tutorial for a week now with out success. Now there is an official tutorial at https://learn.adafruit.com/matrix-portal-scoreboard Still does not work as show in the tutorial.
The only difference in my code from the tutorial code is that I have my wifi and Adafruit IO info in the secrets.py file.
I keep receiving the following error and it keeps repeating over and over. The code seems to run for a while but then crashes.
-<Error Quote>-
Socket missing recv_into. Using more memory to be compatible
Team Red is now Team Dar
text index None
An error occured, retrying! 1 - Failed to send 3 bytes (sent 0)
Socket missing recv_into. Using more memory to be compatible
-<End Quote>-
Is there any update to correct this issue. I have gone to Discord and not received any useful assitance.
Hardware:
Adafruit Metro M4 Express AirLift (WiFi) - Lite
Adafruit RGB Matrix Shield for Arduino
Software:
CircuitPython 6.0.0-rc.0
adafruit-circuitpython-bundle-6.x-mpy-20201022
recv_into Error
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: recv_into Error
Could you try removing the Requests library folder from your CIRCUITPY device's lib folder and trying an older version of the Requests library:
https://github.com/adafruit/Adafruit_Ci ... /tag/1.6.0
https://github.com/adafruit/Adafruit_Ci ... /tag/1.6.0
- hsimons
- Posts: 5
- Joined: Thu May 29, 2014 11:20 pm
Re: recv_into Error
brubell's suggestion solved my issue... I had to revert to version 1.6.0 of the requests library before I could interact with IO.
I am using the same board as the OP and library bundle version but the CircuityPython 5.3.1 variant.
I am using the same board as the OP and library bundle version but the CircuityPython 5.3.1 variant.
- JustTheDazz
- Posts: 45
- Joined: Sat Mar 12, 2011 12:53 pm
Re: recv_into Error
I've spent the day trying to resolve a similar issue using this guide - https://learn.adafruit.com/iot-pyportal ... n/overview .
I am using a pyportal with the most recent firmware & libraries installed . Everything was so slow and then would error out and stop working. Installing the older requests library as brubell's mentioned solved my issue.
With all the guides i've seen on adafruit, I am hoping someone has told people about this? I just found this post by accident myself.
I am using a pyportal with the most recent firmware & libraries installed . Everything was so slow and then would error out and stop working. Installing the older requests library as brubell's mentioned solved my issue.
With all the guides i've seen on adafruit, I am hoping someone has told people about this? I just found this post by accident myself.
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.