custom-components / pyscript

Pyscript adds rich Python scripting to HASS
Apache License 2.0
874 stars 46 forks source link

Impossible to Install: Hangs on configuration #524

Open eMerzh opened 1 year ago

eMerzh commented 1 year ago

Hello I've installed this module from Hacs,

Then i tried to add the integration from the UI, but it's stuck (and eventually timeout)

Capture d’écran 2023-09-06 à 23 22 37

So i tried to manually add via the config.yml file, but if I add pyscript: with or without config billow, and click "verify configuration" in dev tools, the verification hangs too ...

Not sure what's wrong...

Nothing in the logs obviously (in HA core 🤔 correct?)

alexwhittemore commented 11 months ago

I'm running into exactly the same, with

Home Assistant 2023.10.3 Supervisor 2023.10.0 Operating System 11.0 Frontend 20231005.0 - latest

Alcolo47 commented 11 months ago

I had the same problems (hands during adding integration and hangs on verify after adding the 3 lines in configurations.yml)

My HA is inside a docker and I had DNS problems. Adding dns: 8.8.8.8 in my docker-compose may solve the problem. (In fact the HA will restart correctly with pyscript manually configured)

During the init the package croniter must be upgraded (from 1.0.3 If I remember correctly) to 1.3.8 (pyscript dependency). Without dns, this don't work.