This is probably a bug somewhere.

Did you modify the standard index.html.tmpl template? Can you identify what
statement in the template is causing the error?

-tk

On Mon, Jul 31, 2017 at 1:32 AM, Pavel Fojt <[email protected]> wrote:

> after midnight (2017-07-30 / 2017-07-31):
>
> Jul 31 10:30:14 debian1 weewx[143]: cheetahgenerator: Generate failed with
> exception '<type 'exceptions.ValueError'>'
> Jul 31 10:30:14 debian1 weewx[143]: cheetahgenerator: **** Ignoring
> template /etc/weewx/skins/Standard/index.html.tmpl
> Jul 31 10:30:14 debian1 weewx[143]: cheetahgenerator: **** Reason: day is
> out of range for month
> Jul 31 10:30:14 debian1 weewx[143]: ****  Traceback (most recent call
> last):
> Jul 31 10:30:14 debian1 weewx[143]: ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py",
> line 329, in generate
> Jul 31 10:30:14 debian1 weewx[143]: ****      print >> _file,
> compiled_template
> Jul 31 10:30:14 debian1 weewx[143]: ****    File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py",
> line 1005, in __str__
> Jul 31 10:30:14 debian1 weewx[143]: ****      rc = getattr(self,
> mainMethName)()
> Jul 31 10:30:14 debian1 weewx[143]: ****    File
> "_etc_weewx_skins_Standard_index_html_tmpl.py", line 1663, in respond
> Jul 31 10:30:14 debian1 weewx[143]: ****    File
> "_etc_weewx_skins_Standard_index_html_tmpl.py", line 707, in
> __errorCatcher92
> Jul 31 10:30:14 debian1 weewx[143]: ****    File "<string>", line 1, in
> <module>
> Jul 31 10:30:14 debian1 weewx[143]: ****    File
> "/usr/share/weewx/weewx/tags.py", line 101, in span
> Jul 31 10:30:14 debian1 weewx[143]: ****      hour_delta=hour_delta,
> day_delta=day_delta, week_delta=week_delta, month_delta=month_delta,
> year_delta=year_delta),
> Jul 31 10:30:14 debian1 weewx[143]: ****    File 
> "/usr/share/weewx/weeutil/weeutil.py",
> line 532, in archiveSpanSpan
> Jul 31 10:30:14 debian1 weewx[143]: ****      start_dt =
> time_dt.replace(year=year, month=month)
> Jul 31 10:30:14 debian1 weewx[143]: ****  ValueError: day is out of range
> for month
>
> weewx version v3.7.1
>
> problem with 31days for July?
>
> thanks
>
> Pavel
>
> --
> 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.
>

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

Reply via email to