I made the suggested changes with a few small corrections but I got this error.
I don't know enough about how cheetahgenerator works to fix this problem. I have everything up to date. I'm using a Weatherflow Tempest for the data. Is this a naming problem?
Any help?
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'vecdir' while searching for 'hour.wind.vecdir'
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 325, in respond
Jun 03 22:40:26 pi3 python3[17442]: weewx[17442] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'vecdir' while searching for 'hour.wind.vecdir'
On Monday, June 20, 2016 at 8:28:04 AM UTC-4, Jesus C. wrote:Hi,
Installed the steel series gauges (2.5.13) and works well, but the wind rose was not shown. Following this thread Wind rose does not show in Steel Series fixed it: Now is showed, with data in odometer and popup, but inside of gauge don't show colored patterns.
Further investigation noted that value "WindRoseData" of gauge-data.txt is empty. Seems weewx is not feeding data into the variable.
you are correct - there is nothing in the gauge-data.txt.tmpl that makes weewx populate the array that feeds the wind rose.
as gary noted, you could modify gauge-data.txt to make this happen.
you'll want something like this:
## emit the last 16 hourly wind directions for use in wind rose, oldest to newest
#set $rose_data = []
#for $hour in $day.hours
#$rose_data.append($hour.wind.vecdir)
#end for
then something like this in the actual data output:
"WindRoseData": "$rose_data",
Jun 3 08:40:19 meteopi weewx[18757] INFO user.sunduration: Calculated sunshine_time = 5.000000, based on radiation = 343.000000 and threshold = 266.400000Jun 3 08:40:19 meteopi weewx[18757] INFO weewx.manager: Added record 2020-06-03 08:40:00 CEST (1591166400) to database 'weewx'Jun 3 08:40:20 meteopi weewx[18757] INFO weewx.manager: Added record 2020-06-03 08:40:00 CEST (1591166400) to daily summary in 'weewx'Jun 3 08:40:20 meteopi weewx[18757] INFO weewx.restx: Newdata: Published record 2020-06-03 08:40:00 CEST (1591166400)Jun 3 08:40:20 meteopi weewx[18757] INFO weewx.restx: Emetsys: Published record 2020-06-03 08:40:00 CEST (1591166400)Jun 3 08:40:20 meteopi weewx[18757] INFO weewx.restx: Romma: Published record 2020-06-03 08:40:00 CEST (1591166400)Jun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'Jun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmplJun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'count' while searching for 'day.wind.count.raw'Jun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):Jun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generateJun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()Jun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line 431, in respondJun 3 08:40:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'count' while searching for 'day.wind.count.raw'Jun 3 08:40:21 meteopi weewx[18757] INFO weewx.restx: Windy: Published record 2020-06-03 08:40:00 CEST (1591166400)Jun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'Jun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y.txt.tmplJun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'count' while searching for 'month.wind.count.raw'Jun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):Jun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generateJun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()Jun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y_txt_tmpl.py", line 862, in respondJun 3 08:40:22 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'count' while searching for 'month.wind.count.raw'Jun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'Jun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/rss.xml.tmplJun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'max' while searching for 'day.wind.max'Jun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):Jun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generateJun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()Jun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_rss_xml_tmpl.py", line 268, in respondJun 3 08:40:26 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'max' while searching for 'day.wind.max'Jun 3 08:40:26 meteopi weewx[18757] INFO weewx.cheetahgenerator: Generated 5 files for report SeasonsReport in 6.28 secondsJun 3 08:41:21 meteopi weewx[18757] INFO weewx.imagegenerator: Generated 73 images for report SeasonsReport in 54.26 secondsJun 3 08:41:21 meteopi weewx[18757] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewxJun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'Jun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/tagssciez/weewxtags.txt.tmplJun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'gustdir' while searching for 'day.wind.gustdir'Jun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):Jun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generateJun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()Jun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_tagssciez_weewxtags_txt_tmpl.py", line 247, in respondJun 3 08:41:21 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'gustdir' while searching for 'day.wind.gustdir'Jun 3 08:41:21 meteopi weewx[18757] INFO weewx.cheetahgenerator: Generated 0 files for report tagssciez in 0.51 secondsJun 3 08:41:21 meteopi weewx[18757] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/tagssciezJun 3 08:41:32 meteopi weewx[18757] INFO user.imageStackedWindRose: imageStackedWindRose: Generated 4 images for StackedWindRose in 10.42 secondsJun 3 08:41:33 meteopi weewx[18757] INFO weewx.cheetahgenerator: Generated 1 files for report xstats in 0.82 secondsJun 3 08:41:33 meteopi weewx[18757] INFO user.belchertown: version 1.1Jun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'Jun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Belchertown/json/weewx_data.json.tmplJun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'max' while searching for 'day.wind.max'Jun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):Jun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generateJun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()Jun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Belchertown_json_weewx_data_json_tmpl.py", line 485, in respondJun 3 08:41:38 meteopi weewx[18757] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'max' while searching for 'day.wind.max'Jun 3 08:41:46 meteopi weewx[18757] INFO weewx.cheetahgenerator: Generated 10 files for report Belchertown in 12.51 secondsJun 3 08:41:46 meteopi weewx[18757] INFO weewx.reportengine: Copied 31 files to /var/www/html/weewx/belchertownJun 3 08:42:00 meteopi weewx[18757] INFO paramiko.transport: Connected (version 2.0, client OpenSSH_7.4)Jun 3 08:42:01 meteopi weewx[18757] INFO paramiko.transport: Authentication (password) successful!Jun 3 08:42:01 meteopi weewx[18757] INFO paramiko.transport.sftp: [chan 0] Opened sftp connection (server version 3)Jun 3 08:42:42 meteopi weewx[18757] INFO paramiko.transport.sftp: [chan 0] sftp session closed.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/414ee244-cafc-402a-a7db-5d905718cb7b%40googlegroups.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/F46DEABD-AF01-4295-9B00-73C7630CB532%40gmail.com.
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/IaVkYGOz8IY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAooz2znct0YRVqgqJqiHvMWtFnh538Or_PAd0DWp0haQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ACB63400-3370-43DF-A186-A96D3BC23AA3%40gmail.com.
ec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'raw' while searching for 'day.wind.count.raw'
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 323, in generate
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line 430, in respond
Dec 16 00:55:18 weewx-vm weewx[11753] ERROR weewx.cheetahgenerator: **** NotFound: cannot find 'raw' while searching for 'day.wind.count.raw'
Any help will be appreciate.sudo wee_database --drop-dailysudo wee_database --rebuild-daily
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d4d9e47e-ca30-4729-a81b-9d1cfd8dde76n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d4e7d688-fe41-4258-b7c9-6068c95012b3n%40googlegroups.com.
show tables in weewxwftest;
wee_debug --info
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/17e8d219-f018-493f-aef4-6a5b323f4075n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6481bf41-78d1-474d-b21a-45b1df74672an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/696882468.4257661.1626125425925%40mail.yahoo.com.
mysql -u root -p*****mysql> SELECT * FROM archive WHERE dateTime<1589504400;
mysql> DELETE FROM archive WHERE dateTime<1589504400;
wee_database --drop-dailywee_database --rebuild-daily
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/208e0279-98e4-4297-ab38-7481f9bdc4b4n%40googlegroups.com.