Hi Tom Thanks, i'll try to change the names. All the files are probably old.
Gert On Sunday, July 23, 2017 at 5:54:26 PM UTC+2, Gert Andersen wrote: > > Hi > > I'm trying to install the Cumulus Realtime files using this description: > > realtime.txt, realtime.xml and sunbird.txt copied to the skins folder > > xsearch.py copied to the /usr/share/weewx/use folder (see attached > xsearch.py) > > My skin.conf: > > [CheetahGenerator] > > search_list_extensions = user.xsearch.MyXSearch, > user.forecast.ForecastVariables > > [[[Realtime]]] > template=realtime.txt.tmpl > > [[[Realtime_xml]]] > template=realtime.xml.tmpl > > [[[Sunbird]]] > template=sunbird.txt.tmpl > > After restarting weeWX, I get this error: > > ul 23 17:30:16 weeWX weewx[10501]: reportengine: Caught unrecoverable > exception in generator weewx.cheetahgenerator.CheetahGenerator > Jul 23 17:30:16 weeWX weewx[10501]: **** No module named stats > Jul 23 17:30:16 weeWX weewx[10501]: **** Traceback (most recent > call last): > Jul 23 17:30:16 weeWX weewx[10501]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 239, in run > Jul 23 17:30:16 weeWX weewx[10501]: **** obj.start() > Jul 23 17:30:16 weeWX weewx[10501]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 273, in start > Jul 23 17:30:16 weeWX weewx[10501]: **** self.run() > Jul 23 17:30:16 weeWX weewx[10501]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 154, in run > Jul 23 17:30:16 weeWX weewx[10501]: **** > self.initExtensions(gen_dict[section_name]) > Jul 23 17:30:16 weeWX weewx[10501]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 196, in initExtensions > Jul 23 17:30:16 weeWX weewx[10501]: **** class_ = > weeutil.weeutil._get_object(x) > Jul 23 17:30:16 weeWX weewx[10501]: **** File > "/usr/share/weewx/weeutil/weeutil.py", line 1132, in _get_object > Jul 23 17:30:16 weeWX weewx[10501]: **** mod = > __import__(module) > Jul 23 17:30:16 weeWX weewx[10501]: **** File > "/usr/share/weewx/user/xsearch.py", line 40, in <module> > Jul 23 17:30:16 weeWX weewx[10501]: **** from weewx.stats > import TimeSpanStats > Jul 23 17:30:16 weeWX weewx[10501]: **** ImportError: No module > named stats > Jul 23 17:30:16 weeWX weewx[10501]: **** Generator terminated > > I'm using weeWX version 3.7.1 > > Any ideas? > > Thanks > Gert > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
