Vantage Pro 2 : Weewx stops reading the data

83 views
Skip to first unread message

PC

unread,
Feb 14, 2022, 3:09:07 AM2/14/22
to weewx-user
Hello,
Vantage Pro2 and Datalogger IP. Weewx stops reading the data yesterday at 16:45. You gave the solution (I think I erase memory), but I forgot to note it.
Thank you !

PC

unread,
Feb 14, 2022, 3:46:27 AM2/14/22
to weewx-user
In the same line, is the USB datalogger more reliable than the IP, or it has nothing to do?

PC

unread,
Feb 14, 2022, 8:35:30 AM2/14/22
to weewx-user
When I look at the log, it's horror. Where can this come from. Is this the cause?

Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/index.html.tmpl
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Reason: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_index_html_tmpl.py", line 203, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 344, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  TypeError: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'TypeError'>'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/statistics.html.tmpl
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Reason: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_statistics_html_tmpl.py", line 137, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 344, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  TypeError: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'TypeError'>'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/telemetry.html.tmpl
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Reason: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_telemetry_html_tmpl.py", line 188, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 344, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  TypeError: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'TypeError'>'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/tabular.html.tmpl
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Reason: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_tabular_html_tmpl.py", line 121, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 344, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  TypeError: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'TypeError'>'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/celestial.html.tmpl
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: **** Reason: float() argument must be a string or a number, not 'NoneType'
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_celestial_html_tmpl.py", line 130, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 344, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  TypeError: float() argument must be a string or a number, not 'NoneType'

matthew wall

unread,
Feb 14, 2022, 9:23:59 AM2/14/22
to weewx-user
On Monday, February 14, 2022 at 8:35:30 AM UTC-5 blaise....@gmail.com wrote:
When I look at the log, it's horror. Where can this come from. Is this the cause?
...
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 344, in respond
Feb 14 14:05:19 PiMeteo weewx[7206] ERROR weewx.cheetahgenerator: ****  TypeError: float() argument must be a string or a number, not 'NoneType'

in your Seasons skin, something in titlebar.inc file is expecting a float, but it is getting a None.

hard to say much more than that without knowing which version of weewx you are running, which version of Seasons skin you are running, what modifications (if any) you have made to either, and how your system got into the state that it is in (i.e., how did you install, and what changes did you make that started this behavior).

m

PC

unread,
Feb 15, 2022, 1:21:13 AM2/15/22
to weewx-user
Well, looking in the group, I found the command to erase the vantage memory:
wee_device --clear-memory

Since then, error messages we disappeared, calm flat
Reply all
Reply to author
Forward
0 new messages