--
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mar 1 16:31:14 weewx weewx[3801]: Belchertown Extension: version 0.9Mar 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.tmplMar 1 16:31:43 weewx weewx[3801]: cheetahgenerator: **** Reason: invalid literal for float(): 2,8Mar 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 generateMar 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 respondMar 1 16:31:43 weewx weewx[3801]: **** ValueError: invalid literal for float(): 2,8Mar 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.tmplMar 1 16:31:48 weewx weewx[3801]: cheetahgenerator: **** Reason: invalid literal for float(): 2,8Mar 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 generateMar 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 respondMar 1 16:31:48 weewx weewx[3801]: **** ValueError: invalid literal for float(): 2,8Mar 1 16:31:54 weewx weewx[3801]: cheetahgenerator: Generated 12 files for report StandardReport in 39.68 seconds
I've tested this skin on 3 locales and 3 timezones in languages I don't speak.
The cheetah generator error I'm clueless on.
The other ones help if people can send me their database file so I can try to replicate. Just send me a private message so we can coordinate
Since you're on a 0.9 beta you don't need to upgrade. I think you have already the majority of the fixes.
Let me see if I can nail down these 2 or 3 issues and then think about upgrading.
sudo wee_extension --install weewx-belchertown-0.9.tar.gz
after downloading the tarball. I had been running the beta of Belchertown previously.Mar 2 15:30:40 raspberrypi weewx[11033]: **** Traceback (most recent call last):
Mar 2 15:30:40 raspberrypi weewx[11033]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Mar 2 15:30:40 raspberrypi weewx[11033]: **** print >> _file, compiled_template
Mar 2 15:30:40 raspberrypi weewx[11033]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Mar 2 15:30:40 raspberrypi weewx[11033]: **** rc = getattr(self, mainMethName)()
Mar 2 15:30:40 raspberrypi weewx[11033]: **** File "_etc_weewx_skins_Belchertown_index_html_tmpl.py", line 1531, in respond
Mar 2 15:30:40 raspberrypi weewx[11033]: **** File "_etc_weewx_skins_Belchertown_index_html_tmpl.py", line 287, in __errorCatcher32
Mar 2 15:30:40 raspberrypi weewx[11033]: **** File "<string>", line 1, in <module>
Mar 2 15:30:40 raspberrypi weewx[11033]: **** TypeError: format() got an unexpected keyword argument 'None_string'
Mar 2 15:30:41 raspberrypi weewx[11033]: cheetahgenerator: Generate failed with exception '<type 'exceptions.TypeError'>'
Mar 2 15:30:41 raspberrypi weewx[11033]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Belchertown/pi/index.html.tmpl
Mar 2 15:30:41 raspberrypi weewx[11033]: cheetahgenerator: **** Reason: format() got an unexpected keyword argument 'None_string'
Mar 2 15:30:41 raspberrypi weewx[11033]: **** Traceback (most recent call last):
Mar 2 15:30:41 raspberrypi weewx[11033]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Mar 2 15:30:41 raspberrypi weewx[11033]: **** print >> _file, compiled_template
Mar 2 15:30:41 raspberrypi weewx[11033]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Mar 2 15:30:41 raspberrypi weewx[11033]: **** rc = getattr(self, mainMethName)()
Mar 2 15:30:41 raspberrypi weewx[11033]: **** File "_etc_weewx_skins_Belchertown_pi_index_html_tmpl.py", line 1191, in respond
Mar 2 15:30:41 raspberrypi weewx[11033]: **** File "_etc_weewx_skins_Belchertown_pi_index_html_tmpl.py", line 266, in __errorCatcher29
Mar 2 15:30:41 raspberrypi weewx[11033]: **** File "<string>", line 1, in <module>
Mar 2 15:30:41 raspberrypi weewx[11033]: **** TypeError: format() got an unexpected keyword argument 'None_string'
--
Johannes, I'm working on a fix for your report too
Colin, Yes. Scroll back a bit in this thread there's 2 links I sent Rich to update to. Try that.
Johannes, I'm working on a fix for your report too
I've just released Belchertown skin 0.9. You can read the updates and download it here: https://github.com/poblabs/weewx-belchertown/releasesA 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!
I made those changes to the graphs page too. Available on GitHub if you want to download it.
--
The number of seconds after a visitor has loaded your page that we disconnect them from the live streaming updates. The idea here is to save your broker from a streaming connection that never ends. Time is in milliseconds. 0 = disabled. 300000 = 5 minutes. 1800000 = 30 minutes
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/yOHpHCu0jAA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
There's nothing else in the error?
Like I said, haven't been able to reproduce it so I don't know what's causing it...
Andy
[[sensor_map]]
outTemp = air_temperature.AR-00003549.obs_air
outHumidity = relative_humidity.AR-00003549.obs_air
pressure = station_pressure.AR-00003549.obs_air
lightning_strikes = lightning_strike_count.AR-00003549.obs_air
avg_distance = lightning_strike_avg_distance.AR-00003549.obs_air
outTempBatteryStatus = battery.AR-00003549.obs_air
windSpeed = wind_speed.SK-00000412.rapid_wind
windDir = wind_direction.SK-00000412.rapid_wind
lux = illuminance.SK-00000412.obs_sky
UV = uv.SK-00000412.obs_sky
rain = rain_accumulated.SK-00000412.obs_sky
windBatteryStatus = battery.SK-00001234.obs_sky
radiation = solar_radiation.SK-00001234.obs_sky
lightningYYY = distance.AR-00004444.evt_strike
lightningZZZ = energy.AR-00004444.evt_strike
Morning - Great Skin as ever and just updated - a quick question if thats ok - i cant seem to get my solar radiation graph to populate. All the others work fine and its in my sensor map (below) - any help would be great if possible...
windSpeed = wind_speed.SK-00000412.rapid_wind
windDir = wind_direction.SK-00000412.rapid_wind
lux = illuminance.SK-00000412.obs_sky
UV = uv.SK-00000412.obs_sky
rain = rain_accumulated.SK-00000412.obs_sky
windBatteryStatus = battery.SK-00001234.obs_sky
radiation = solar_radiation.SK-00001234.obs_sky
Andy
<script type="text/javascript"> var moment_locale = "fr_FR".replace(/_/g, '-'); // Replace underscore with dash (e.g. "en_US" becomes "en-US") which is a format that moment.js needs for local moment.locale(moment_locale);
but it is the same thing, no date time in records. It is not easy that I thought.
Patrick