GeeTee
November 11, 2022, 4:31pm
#21
100% indeed the bug is raspberry pi3 is hung at:
def load_skills_data(branch, path):
try:
market_info_url = (MYCROFT_SKILLS_DATA + “/” + branch +
“/skill-metadata.json”)
# aaa
LOG.info ( 'aaa load_skills_data 1.0 "' + market_info_url + '"' )
# hangs at this line
strAAA = requests.get(market_info_url)
The request.get is NOT returning. its trying to get 125KB of data. maybe the PI is having a memory issue? note I tried the code on 2 Pis and the same issue.
call me?
GeeTee
November 11, 2022, 4:36pm
#22
before the GET call:
2022-11-11 16:35:30.571 | INFO | 16801 | msm.skill_repo | aaa load_skills_data 1.0 “https://raw.githubusercontent.com/MycroftAI/mycroft-skills-data/21.02/skill-metadata.json ”
2022-11-11 16:35:30.615 | INFO | 16801 | msm.skill_repo | [‘total’, ‘used’, ‘free’, ‘shared’, ‘buff/cache’, ‘available’]
2022-11-11 16:35:30.617 | INFO | 16801 | msm.skill_repo | [‘Mem:’, ‘923Mi’, ‘199Mi’, ‘270Mi’, ‘8.0Mi’, ‘453Mi’, ‘658Mi’]
2022-11-11 16:35:30.617 | INFO | 16801 | msm.skill_repo | total : 923Mi
2022-11-11 16:35:30.618 | INFO | 16801 | msm.skill_repo | used : 199Mi
2022-11-11 16:35:30.618 | INFO | 16801 | msm.skill_repo | free : 270Mi
2022-11-11 16:35:30.619 | INFO | 16801 | msm.skill_repo | shared : 8.0Mi
2022-11-11 16:35:30.619 | INFO | 16801 | msm.skill_repo | buff/cache : 453Mi
2022-11-11 16:35:30.620 | INFO | 16801 | msm.skill_repo | available : 658Mi
GeeTee
November 11, 2022, 4:37pm
#23
i have proven that on multiple rPi 3b+, with a new raspberry OS install, the same above error occurs.
GeeTee
November 11, 2022, 4:39pm
#24
i suspect that the json file is too large now for a rPi to handle? and gotta believe all users have same issue.
cant afford to upgrade $300 for this myCroft issue.
It’s not bricked, you can still wipe the SD and install any OS on it.
Mark 2 device is about $350 USD, not sure Mycroft team will give you this in exchange of a RPi 3. Picroft is more a community project rather than a product from Mycroft they are not oblige to provide support on it.
I stopped using Picroft the first day I tried it, I switched to a Raspberry Pi OS 64-bit Lite and then install mycroft-core following the official documentation.
Not sure you will get more help on Picroft.
1 Like
GeeTee
November 11, 2022, 4:40pm
#26
i am not in picroft anymore. the same bug in rasberry OS.
GeeTee
November 11, 2022, 4:40pm
#27
I switched to a Raspberry Pi OS 64-bit Lite and then install mycroft-core following the official documentation.
I have same issue .
GeeTee
November 11, 2022, 4:41pm
#28
can i call you?
are you own a rPi 4 or rPi 3?
GeeTee
November 11, 2022, 4:43pm
#30
I bet it is a memory issue on rpi3 and that the json is now too large for it.
do you work for MyCroft? We need to get this no longer supported rPi 3b issue looked at.
do you have a Mark 1 to send me (its based on rpi 3 right?)
I do not work for Mycroft.
GeeTee
November 11, 2022, 4:45pm
#32
mycroft has refused to return my telephone calls and my emails to them. Sad…
Thank you for your efforts
Perhaps I have to buy a pi 4
If you have a Mark 2 then they will answer you because you paid for the product but if you try to install mycroft-core or Picroft on any devices then they don’t have to because it is community based.
I got 4Gb and 8Gb.
GeeTee
November 11, 2022, 4:49pm
#35
thanks. I so bet that the JSON is now (125 KB) too larger for 1GB rPi 3b
whats in the mark 1? I thought a rpi 3b - if so then all users of mark 1 are dead too
GeeTee
November 11, 2022, 5:07pm
#36
are you using a fan on your pi?
Yes because I O/C the CPU to 2.25Ghz and the GPU (core) to 900Mhz.
GeeTee
November 11, 2022, 5:22pm
#38
does the noise of the fan bother the microphone and mycroft ability to hear you speak?
No, I’m using a NF-A4x10 PWM regulated via PWM and managed by gpio-fan which means it starts only when a temperature is reached.
GeeTee
November 12, 2022, 6:47pm
#40
i bought new rpi 4b 4gb ram, installed same rpi os as you.
then ran a simple python program to get same data as the bug in mycroft does and it too hangs!
can you run please and tell me your version number:
python -m pip show requests
thanks Gary