Trying to change the default format in reports for leafTemp1 from "degF" to nothing, or just 2.2f, so followed the guide, http://www.weewx.com/docs/customizing.htm#formatting_options, to current.leafTemp1.format(add_label=False)
Apr 13 23:20:17 RPI3 weewx[25402]: cheetahgenerator: Generate failed with exception '<type 'exceptions.TypeError'>'
Apr 13 23:20:17 RPI3 weewx[25402]: cheetahgenerator: **** Ignoring template /home/weewx/skins/Standard/week.html.tmpl
Apr 13 23:20:17 RPI3 weewx[25402]: cheetahgenerator: **** Reason: format() takes at least 2 arguments (1 given)
Apr 13 23:20:17 RPI3 weewx[25402]: **** Traceback (most recent call last):
Apr 13 23:20:17 RPI3 weewx[25402]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 315, in generate
Apr 13 23:20:17 RPI3 weewx[25402]: **** print >> _file, text
Apr 13 23:20:17 RPI3 weewx[25402]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Apr 13 23:20:17 RPI3 weewx[25402]: **** rc = getattr(self, mainMethName)()
Apr 13 23:20:17 RPI3 weewx[25402]: **** File "_home_weewx_skins_Standard_week_html_tmpl.py", line 1095, in respond
Apr 13 23:20:17 RPI3 weewx[25402]: **** File "_home_weewx_skins_Standard_week_html_tmpl.py", line 322, in __errorCatcher37
Apr 13 23:20:17 RPI3 weewx[25402]: **** File "<string>", line 1, in <module>
Apr 13 23:20:17 RPI3 weewx[25402]: **** TypeError: format() takes at least 2 arguments (1 given)
Apr 13 23:20:19 RPI3 weewx[25402]: cheetahgenerator: Generate failed with exception '<type 'exceptions.TypeError'>'
Apr 13 23:20:19 RPI3 weewx[25402]: cheetahgenerator: **** Ignoring template /home/weewx/skins/Standard/index.html.tmpl
Apr 13 23:20:19 RPI3 weewx[25402]: cheetahgenerator: **** Reason: format() takes at least 2 arguments (1 given)
Apr 13 23:20:19 RPI3 weewx[25402]: **** Traceback (most recent call last):
Apr 13 23:20:19 RPI3 weewx[25402]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 315, in generate
Apr 13 23:20:19 RPI3 weewx[25402]: **** print >> _file, text
Apr 13 23:20:19 RPI3 weewx[25402]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Apr 13 23:20:19 RPI3 weewx[25402]: **** rc = getattr(self, mainMethName)()
Apr 13 23:20:19 RPI3 weewx[25402]: **** File "_home_weewx_skins_Standard_index_html_tmpl.py", line 1037, in respond
Apr 13 23:20:19 RPI3 weewx[25402]: **** File "_home_weewx_skins_Standard_index_html_tmpl.py", line 182, in __errorCatcher17
Apr 13 23:20:19 RPI3 weewx[25402]: **** File "<string>", line 1, in <module>
Apr 13 23:20:19 RPI3 weewx[25402]: **** TypeError: format() takes at least 2 arguments (1 given)
Apr 13 23:20:19 RPI3 weewx[25402]: cheetahgenerator: Generated 12 files for report StandardReport in 4.00 seconds
Apr 13 23:20:20 RPI3 weewx[25402]: genimages: Generated 12 images for StandardReport in 0.77 seconds
Apr 13 23:20:20 RPI3 weewx[25402]: reportengine: copied 14 files to /home/weewx/public_html
Apr 13 23:20:40 RPI3 weewx[25402]: reportengine: ftp'd 38 files in 19.90 seconds
--
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/QoUlovvIZoI/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/00726158-cc77-489f-b0ae-a895fe054bea%40googlegroups.com.
Gary
Which skin, Seasons or Standard?
Gary
--
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/QoUlovvIZoI/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/03c147d6-3ffc-466a-805f-7457c07ead37%40googlegroups.com.
Standard. I saw it on someone's Seasons page and thought I'd like it but on my Std page here. My other system although it has Seasons will stay without it for now as it's across the ocean.PH
On Wed, Apr 15, 2020, 12:54 gjr80 <gjrod...@gmail.com> wrote:
Which skin, Seasons or Standard?
Gary
--
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/QoUlovvIZoI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.
<h2>Yesterday's Wx Summary</h2>
<h2>$yesterday.dateTime</h2>
. [[yesterday_images]]
x_label_format = %d
bottom_label_format = %x %H:%M
time_length = 97200 # == 27 hours
[[[yesterdaybarometer]]]
[[[[barometer]]]]
[[[yesterdaytempdew]]]
[[[[outTemp]]]]
[[[[dewpoint]]]]
<div class="header">
<h3>Yesterday Statistics and Plots</h3>
</div>
<div id="plots">
<img src="yesterdaytempdew.png" alt="temperatures" />
<img src="yesterdayrain.png" alt="rain" />
<img src="yesterdaywind.png" alt="wind" />
<img src="yesterdaybarometer.png" alt="barometer"/>
<img src="yesterdaywinddir.png" alt="Hi Wind" />
<img src="yesterdayinside.png" alt="Inside" />
<img src="yesterdayDnldSpd.png" alt="Download" />
#if $week.extraTemp1.has_data
<img src="weekpond.png" alt="Pond Temperatures" />
#end if
</div>