Jump to content

Issue with Weatherbit


joeria

Recommended Posts

I resent updated PG3 on Polisy to 3.1.23.  I also updated weather bit to 2.06.  It no longer will stay connected.  

 

Dashboard shows disconnected and below is what the log shows.  Any suggestions?  Thanks!

2023-07-05 11:06:23,668 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30
2023-07-05 11:06:26,193 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.59 Starting...
2023-07-05 11:06:26,207 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last):
2023-07-05 11:06:26,207 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db953c5b4_3/./weatherbit.py", line 9, in <module>
2023-07-05 11:06:26,209 MainThread udi_interface ERROR udi_interface:write: from nodes import Controller
2023-07-05 11:06:26,209 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db953c5b4_3/nodes/Controller.py", line 16, in <module>
2023-07-05 11:06:26,211 MainThread udi_interface ERROR udi_interface:write: from nodes import weatherbit_daily
2023-07-05 11:06:26,211 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db953c5b4_3/nodes/weatherbit_daily.py", line 8, in <module>
2023-07-05 11:06:26,212 MainThread udi_interface ERROR udi_interface:write: from weather_funcs import weather_codes
2023-07-05 11:06:26,213 MainThread udi_interface ERROR udi_interface:write: ImportError
2023-07-05 11:06:26,214 MainThread udi_interface ERROR udi_interface:write: :
2023-07-05 11:06:26,214 MainThread udi_interface ERROR udi_interface:write: cannot import name 'weather_codes' from 'weather_funcs' (unknown location)

 

Link to comment

It looks like not all the files got installed when you updated WeatherBit.

You can try re-installing it.

There's been a random issue with PG3 where it will fail to install node server files.  We have not been able to track down why this happens, but once it starts happening, it seems to consistently fail to install the same specific files.  The only known work-a-round that this time is to migrate to PG3x

Link to comment

Thanks Bob,

When was PG3x for Polisy released, surprised my recent update didn't migrate.  I've tried updating the node server from the store several times with no luck.  Since Weatherbit is now my backup weather server, I can live without it.  I won't be able to spend much time over the next couple of weeks with HA stuff, so I'll stay pat and stable and migrate to PG3x in 2 weeks, rather than risking an issue I won't have time to address.

THANKS AGAIN!

Joe

 

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...