Hi,

Let's start with the obvious check first; is the file wdSearchX3.py in the 
directory /usr/share/weewx/user ? If it is not there then that is the cause 
of the problem, you will need to extract it from the weeWX-WD archive and 
copy it to /usr/share/weewx/user (though this begs the questions what else 
may have changed) so you might be best served by re-installing weeWX-WD. 

If wdSearchX3.py in the directory /usr/share/weewx/user then something else 
is amiss and we will require more info:

1. A log extract from weeWX startup including at least one full report 
generation cycle. To do this (1) ensure debug=1 in weewx.conf (you already 
have debug=1 in the above extract) (2) stop weeWX (3) start weeWX. You can 
monitor your log using tail -f /var/log/syslog (or whatever log file weeWX 
logs to). (4) Once a couple of report generation cycles are complete take a 
copy of the log from weeWX start up until the 2nd report generation cycle 
is complete and post the output here.

2. Knowing a bit more about your install and your weewx.conf may help. 
Easiest way to do this is with the weeWX utility wee_debug 
<http://weewx.com/docs/utilities.htm#wee_debug_utility>. Post a copy of the 
wee_debug output. Before you do post though check for any sensitive info in 
the output. The wee_debug output includes a copy of weewx.conf, wee_debug 
attempts to obfuscate any sensitive info but it's not perfect.

This leads to the graphics in my daily report not being updated (they are 
> all stuck to the 19th of July). All textual data and graphics in the 
> weekly, monthly and annual reports are still being updated.
>

It is interesting that you say your daily graphics (I presume you refer to 
the plots) are not updating but the plots and data on the weekly and longer 
are. The error you posted will only cause the weeWX-WD reports to be 
skipped and should have no effect on plots or weeWX generated html pages (I 
presume the reports and graphics you say are still being updated are the 
standard weeWX ones). Makes me wonder if there is more to this than meets 
the eye.

Gary

On Friday, 21 July 2017 23:58:28 UTC+10, cyrix2000 wrote:
>
> Hi,
>
> For two days weewx is throwing the exception: "unrecoverable exception in 
> generator weewx.cheetahgenerator.CheetahGenerator" and "no module named 
> wdSearchX3". This leads to the graphics in my daily report not being 
> updated (they are all stuck to the 19th of July). All textual data and 
> graphics in the weekly, monthly and annual reports are still being updated.
>
> The weird thing is that I didn't touch the server for at least a week, so 
> something must have changed by itself (updates?).
>
> Im running Ubuntu 16.04 on a RPi2 and weewx 3.7.1-1.
>
> Here the relevant bits from syslog:
>
> Jul 21 14:25:37 localhost weewx[20793]: reportengine: Running report 
> wdTesttags
> Jul 21 14:25:37 localhost weewx[20793]: reportengine: Found configuration 
> file /etc/weewx/skins/Testtags/skin.conf for report wdTesttags
> Jul 21 14:25:37 localhost weewx[20793]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.wdSearchX3.wdMonthStats', 'user.wdSearchX3.wdTesttagsAgoRainTags', 
> 'user.wdSearchX3.wdLastRainTags', 'user.wdSearchX3.wdTimeSpanTags', 
> 'user.wdSearchX3.wdMaxAvgWindTags', 'user.wdSearchX3.wdMaxWindGustTags', 
> 'user.wdSearchX3.wdSundryTags', 'user.wdSearchX3.wdSkinDict', 
> 'user.wdSearchX3.wdMonthlyReportStats', 'user.wdSearchX3.wdWindroseTags', 
> 'user.wdSearchX3.wdWindRunTags', 'user.wdSearchX3.wdHourRainTags', 
> 'user.wdSearchX3.wdGdDays', 'user.wdSearchX3.wdForToday', 
> 'user.wdSearchX3.wdRainThisDay', 'user.wdSearchX3.wdRainDays', 
> 'user.wdAstroSearchX3.wdMoonApsis', 'user.wdAstroSearchX3.wdEclipse', 
> 'user.wdAstroSearchX3.wdEarthApsis', 
> 'user.wdAstroSearchX3.wdChineseNewYear', 'user.wdSearchX3.wdYestAlmanac', 
> 'user.wdSearchX3.wdTaggedStats', 'user.wdSearchX3.wdTaggedArchiveStats', 
> 'user.wdSearchX3.wdManualAverages']
> Jul 21 14:25:37 localhost weewx[20793]: manager: Daily summary version is 
> 1.0
> Jul 21 14:25:37 localhost weewx[20793]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> Jul 21 14:25:37 localhost weewx[20793]:         ****  No module named 
> wdSearchX3
> Jul 21 14:25:37 localhost weewx[20793]:         ****  Traceback (most 
> recent call last):
> Jul 21 14:25:37 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Jul 21 14:25:37 localhost weewx[20793]:         ****      obj.start()
> Jul 21 14:25:37 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Jul 21 14:25:37 localhost weewx[20793]:         ****      self.run()
> Jul 21 14:25:37 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 154, in run
> Jul 21 14:25:37 localhost weewx[20793]:         ****     
>  self.initExtensions(gen_dict[section_name])
> Jul 21 14:25:37 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 196, in initExtensions
> Jul 21 14:25:37 localhost weewx[20793]:         ****      class_ = 
> weeutil.weeutil._get_object(x)
> Jul 21 14:25:37 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weeutil/weeutil.py", line 1132, in _get_object
> Jul 21 14:25:37 localhost weewx[20793]:         ****      mod = 
> __import__(module)
> Jul 21 14:25:37 localhost weewx[20793]:         ****  ImportError: No 
> module named wdSearchX3
> Jul 21 14:25:37 localhost weewx[20793]:         ****  Generator terminated
> Jul 21 14:25:38 localhost weewx[20793]: reportengine: Running report 
> wdClientraw
> Jul 21 14:25:38 localhost weewx[20793]: reportengine: Found configuration 
> file /etc/weewx/skins/Clientraw/skin.conf for report wdClientraw
> Jul 21 14:25:38 localhost weewx[20793]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.wdSearchX3.wdMonthStats', 'user.wdSearchX3.wdLastRainTags', 
> 'user.wdSearchX3.wdTimeSpanTags', 'user.wdSearchX3.wdSundryTags', 
> 'user.wdSearchX3.wdSkinDict', 'user.wdSearchX3.wdWindRunTags', 
> 'user.wdSearchX3.wdYestAlmanac', 'user.wdSearchX3.wdTaggedStats', 
> 'user.wdSearchX3.wdTaggedArchiveStats', 'user.wdSearchX3.wdRainDays', 
> 'user.wdSearchX3.wdManualAverages']
> Jul 21 14:25:38 localhost weewx[20793]: manager: Daily summary version is 
> 1.0
> Jul 21 14:25:38 localhost weewx[20793]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> Jul 21 14:25:38 localhost weewx[20793]:         ****  No module named 
> wdSearchX3
> Jul 21 14:25:38 localhost weewx[20793]:         ****  Traceback (most 
> recent call last):
> Jul 21 14:25:38 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
> Jul 21 14:25:38 localhost weewx[20793]:         ****      obj.start()
> Jul 21 14:25:38 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
> Jul 21 14:25:38 localhost weewx[20793]:         ****      self.run()
> Jul 21 14:25:38 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 154, in run
> Jul 21 14:25:38 localhost weewx[20793]:         ****     
>  self.initExtensions(gen_dict[section_name])
> Jul 21 14:25:38 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 196, in initExtensions
> Jul 21 14:25:38 localhost weewx[20793]:         ****      class_ = 
> weeutil.weeutil._get_object(x)
> Jul 21 14:25:38 localhost weewx[20793]:         ****    File 
> "/usr/share/weewx/weeutil/weeutil.py", line 1132, in _get_object
> Jul 21 14:25:38 localhost weewx[20793]:         ****      mod = 
> __import__(module)
> Jul 21 14:25:38 localhost weewx[20793]:         ****  ImportError: No 
> module named wdSearchX3
> Jul 21 14:25:38 localhost weewx[20793]:         ****  Generator terminated
>
> Any ideas?
>
>

-- 
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