testing 4.0.0b18 need help esolving issue

73 views
Skip to first unread message

Cat22

unread,
Apr 28, 2020, 1:19:03 AM4/28/20
to weewx-development
After resolving a few minor issues I cant seem to resolve this one, why is rainrate not understood?
I'm using a Vantage Pro II station and python3, did I  miss a python module?

#./wee_reports


Using configuration file /usr/local/bin/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
 
File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 197, in run
    obj
.start()
 
File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 280, in start
   
self.run()
 
File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 41, in run
   
self.genImages(self.gen_ts)
 
File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 176, in genImages
    start_vec_t
, stop_vec_t ,data_vec_t = weewx.xtypes.get_series(var_type,
 
File "/usr/local/bin/weewx/bin/weewx/xtypes.py", line 91, in get_series
   
raise weewx.UnknownType(obs_type)
weewx
.UnknownType: rainrate
Traceback (most recent call last):
 
File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 197, in run
    obj
.start()
 
File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 280, in start
   
self.run()
 
File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 41, in run
   
self.genImages(self.gen_ts)
 
File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 176, in genImages
    start_vec_t
, stop_vec_t ,data_vec_t = weewx.xtypes.get_series(var_type,
 
File "/usr/local/bin/weewx/bin/weewx/xtypes.py", line 91, in get_series
   
raise weewx.UnknownType(obs_type)
weewx
.UnknownType: rainrate



gjr80

unread,
Apr 28, 2020, 1:33:00 AM4/28/20
to weewx-development
Case matters, WeeWX uses field rainRate not rainrate.Try using rainRate.

Gary

Cat22

unread,
Apr 28, 2020, 1:45:07 AM4/28/20
to weewx-development
you mean edit vantage.py? I didnt type in that rainrate that was what the weewx SW reported

gjr80

unread,
Apr 28, 2020, 1:49:20 AM4/28/20
to weewx-development
No, the WeeWX image generator is being called by a skin and the skin is asking for a plot that includes field rainrate. Have a look in your skin config file skin.conf under [[ImageGenerator]].

Gary

Cat22

unread,
Apr 28, 2020, 1:56:06 AM4/28/20
to weewx-development
That did it, now I am running with out any apparent errors. the skins.conf with the bad rainrate was part of the  steel series gauges stuff. A quick edit and bingo! back in business.
Thanks!

gjr80

unread,
Apr 28, 2020, 2:02:54 AM4/28/20
to weewx-development
That is interesting, that skin has been around for years and a quick look at the history indicates rainrate has been there from day one. Surprised that has not been picked up (and fixed) earlier. Will submit a PR to the repo owner.

Gary

Cat22

unread,
Apr 28, 2020, 2:12:19 AM4/28/20
to weewx-development
As this is a beta, is there anything i should be watching for? Near as I can tell right now everything is working as it should. I'm a happy camper :-) and yeh, i am actually glad to get into python3

gjr80

unread,
Apr 28, 2020, 2:25:24 AM4/28/20
to weewx-development
Any errors in logs, crashes, unexplained restarts, anything on the generated pages that does not look right. One of the main things sought during beta is users with different stations/setups. This has been a long beta, up to 18 now, so it’s likely most issues have been found. In fact release would have occurred earlier except for some packaging challenges.

Gary

Tom Keffer

unread,
Apr 28, 2020, 7:30:48 AM4/28/20
to gjr80, weewx-development
Gary, this was addressed a couple of weeks ago. See this post.

On Mon, Apr 27, 2020 at 11:02 PM gjr80 <gjrod...@gmail.com> wrote:
That is interesting, that skin has been around for years and a quick look at the history indicates rainrate has been there from day one. Surprised that has not been picked up (and fixed) earlier. Will submit a PR to the repo owner.

Gary

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/f3ebffff-9f96-4d6c-a5ca-e2e68107f7d2%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages