i made an update from V.3.6.2 to v.3.7.9
Then i get this Error:
Mar 12 11:30:16 raspberrypi weewx[2485]: **** No module named
examples.xsearch
Mar 12 11:30:16 raspberrypi weewx[2485]: **** Traceback (most
recent call last):
Mar 12 11:30:16 raspberrypi weewx[2485]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 239, in run
Mar 12 11:30:16 raspberrypi weewx[2485]: **** obj.start()
Mar 12 11:30:16 raspberrypi weewx[2485]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 273, in start
Mar 12 11:30:16 raspberrypi weewx[2485]: **** self.run()
Mar 12 11:30:16 raspberrypi weewx[2485]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 154, in run
Mar 12 11:30:16 raspberrypi weewx[2485]: **** self.
initExtensions(gen_dict[section_name])
Mar 12 11:30:16 raspberrypi weewx[2485]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 196, in initExtensions
Mar 12 11:30:16 raspberrypi weewx[2485]: **** class_ = weeutil.
weeutil._get_object(x)
Mar 12 11:30:16 raspberrypi weewx[2485]: **** File
"/usr/share/weewx/weeutil/weeutil.py", line 1132, in _get_object
Mar 12 11:30:16 raspberrypi weewx[2485]: **** mod = __import__(
module)
Mar 12 11:30:16 raspberrypi weewx[2485]: **** ImportError: No
module named examples.xsearch
Mar 12 11:30:16 raspberrypi weewx[2485]: **** Generator terminated
So i deactivated this in the skin.conf
[CheetahGenerator]
# This section is used by the generator CheetahGenerator, and specifies
# which files are to be generated from which template.
# Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
encoding = html_entities
# search_list_extensions = examples.xsearch.MyXSearch
This results in the "alltime" issue
Am Sonntag, 12. März 2017 00:54:43 UTC+1 schrieb VM_83:
>
> Hey guys,
>
> i made an update on the newest version and now i get this failure
>
>
>
>
>
>
>
>
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: cheetahgenerator: Generate
> failed with exception '<class 'NameMapper.NotFound'>'
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: cheetahgenerator: **** Ignoring
> template /etc/weewx/skins/sofaskin/record.html.tmpl
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: cheetahgenerator: **** Reason:
> cannot find 'alltime'
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** Traceback (most recent
> call last):
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 329, in generate
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** print >> _file,
> compiled_template
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** File
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
> __str__
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** rc = getattr(self,
> mainMethName)()
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** File
> "_etc_weewx_skins_sofaskin_record_html_tmpl.py", line 221, in respond
>
> Mar 12 00:50:23 raspberrypi weewx[2485]: **** NotFound: cannot find
> 'alltime'
>
> do you have any idea how to fix?
>
> Thanks
> VM
>
--
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.