-
Notifications
You must be signed in to change notification settings - Fork 55
Detected blocking call to scandir with args (b'/config/pyscript',) #616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for your answer.
|
Thanks for checking,. My fix didn't work. I'm traveling tomorrow and I'll try to get to it on the flight (assuming the WiFi is decent). |
Just to let you know I'm getting the same warning here. I know it's affected a number of other integrations (Such as the Solcast Solar PV integration https://github.com/BJReplay/ha-solcast-solar). If you can stick the changes up as a beta release I'll give it a whirl. There was some discussion over on that repo (new management!) about how to do that if you aren't sure. |
Ok, I pushed another potential fix 774842d. Just about to depart on a flight, so I haven't tested it much.... |
Thanks, |
Just updated my HA instance with code from pyscript/custom_components/pyscript, restarted HA and run my automation that uses PyScript. |
Thanks for checking and confirming the fix! |
@craigbarratt I've updated my HA instance and the warning disappeared for all my pyscripts except one:
Now, I dont' if it is an issue of the script itself... but it was not showing any warning before the HA upgrade:
Thank you! |
Your code is doing file system operations ( |
I’ll try to make the changes and check how it goes, I,m not sure if my Python knowledge is enough for this. Thank you for your feedback. |
Since last HA update, I have the following error in loop :
My HA informations :
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Xiaomi Miot Auto
The text was updated successfully, but these errors were encountered: