Johannes, I've pushed a change that should fix this error. It'll be in the 
0.9.1 release but if you want to install it now download these files and 
place them in these locations. Then restart weewx. 

Replace your skins/Belchertown/index.html.tmpl with this --> 
https://raw.githubusercontent.com/poblabs/weewx-belchertown/master/skins/Belchertown/index.html.tmpl

Replace your skins/Belchertown/pi/index.html.tmpl with this --> 
https://raw.githubusercontent.com/poblabs/weewx-belchertown/master/skins/Belchertown/pi/index.html.tmpl


On Friday, March 1, 2019 at 10:35:50 AM UTC-5, Johannes Ebner wrote:
>
> Hi Pat,
>
> I think I was to fast. 
>
> I have the latest GA Version of weewx installed. I updated your skin and 
> then I changed the "mqtt_...." to "mqtt_websockets_...".
>
> I am getting now this error:
>
> Mar  1 16:31:14 weewx weewx[3801]: Belchertown Extension: version 0.9
> Mar  1 16:31:43 weewx weewx[3801]: cheetahgenerator: Generate failed with 
> exception '<type 'exceptions.ValueError'>'
> Mar  1 16:31:43 weewx weewx[3801]: cheetahgenerator: **** Ignoring 
> template /etc/weewx/skins/Belchertown/index.html.tmpl
> Mar  1 16:31:43 weewx weewx[3801]: cheetahgenerator: **** Reason: invalid 
> literal for float(): 2,8
> Mar  1 16:31:43 weewx weewx[3801]: ****  Traceback (most recent call last):
> Mar  1 16:31:43 weewx weewx[3801]: ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mar  1 16:31:43 weewx weewx[3801]: ****      
> fd.write(str(compiled_template))
> Mar  1 16:31:43 weewx weewx[3801]: ****    File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Mar  1 16:31:43 weewx weewx[3801]: ****      rc = getattr(self, 
> mainMethName)()
> Mar  1 16:31:43 weewx weewx[3801]: ****    File 
> "_etc_weewx_skins_Belchertown_index_html_tmpl.py", line 1548, in respond
> Mar  1 16:31:43 weewx weewx[3801]: ****  ValueError: invalid literal for 
> float(): 2,8
> Mar  1 16:31:48 weewx weewx[3801]: cheetahgenerator: Generate failed with 
> exception '<type 'exceptions.ValueError'>'
> Mar  1 16:31:48 weewx weewx[3801]: cheetahgenerator: **** Ignoring 
> template /etc/weewx/skins/Belchertown/pi/index.html.tmpl
> Mar  1 16:31:48 weewx weewx[3801]: cheetahgenerator: **** Reason: invalid 
> literal for float(): 2,8
> Mar  1 16:31:48 weewx weewx[3801]: ****  Traceback (most recent call last):
> Mar  1 16:31:48 weewx weewx[3801]: ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mar  1 16:31:48 weewx weewx[3801]: ****      
> fd.write(str(compiled_template))
> Mar  1 16:31:48 weewx weewx[3801]: ****    File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__
> Mar  1 16:31:48 weewx weewx[3801]: ****      rc = getattr(self, 
> mainMethName)()
> Mar  1 16:31:48 weewx weewx[3801]: ****    File 
> "_etc_weewx_skins_Belchertown_pi_index_html_tmpl.py", line 1199, in respond
> Mar  1 16:31:48 weewx weewx[3801]: ****  ValueError: invalid literal for 
> float(): 2,8
> Mar  1 16:31:54 weewx weewx[3801]: cheetahgenerator: Generated 12 files 
> for report StandardReport in 39.68 seconds
>
>
>
>
>
> Am Freitag, 1. März 2019 01:50:34 UTC+1 schrieb Pat:
>>
>> I've just released Belchertown skin 0.9. You can read the updates and 
>> download it here: https://github.com/poblabs/weewx-belchertown/releases
>>
>> A lot of work went into this release. I've learned a lot through feedback 
>> on the skin. 
>>
>> This release fixes a major bug with the rain charts which were taking a 
>> very long time to generate. This release also brings a lot of updates to 
>> locale formats. 
>>
>> *There's 1 breaking change if you are upgrading*. Please take special 
>> note to a few MQTT variable names which have changed to mqtt_websockets_. 
>> This is to reduce confusion and offer clarity on new user installations. 
>>
>> Please let me know if you've upgraded and share your site. I'd love to 
>> see it out there!
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to