“unsupported operand type(s) for *: 'NoneType' and 'int’” seems to match only 
several rain*rain_mult lines in that template


> On 2 Jun 2020, at 9:41 pm, gjr80 <gjroder...@gmail.com> wrote:
> 
> Thank you , you have the latest .tmpl. Could you please run WeeWX directly 
> <http://weewx.com/docs/usersguide.htm#Running_directly>, that will cause loop 
> packets (lines starting with LOOP:) and archive records (lines starting with 
> REC:) to be displayed on the terminal. You will see numerous LOOP: lines with 
> a REC: line every archive period. Let WeeWX run for a few minutes, until you 
> see at least one REC: line, then take a copy of the output and post here. 
> Make sure you have at least 3 or 4 LOOP lines and at least one REC: line.
> 
> Gary
> 
> On Tuesday, 2 June 2020 20:53:51 UTC+10, Campo Fiori wrote:
> Ciao,
> and thanks to all for the collaboration, these are my first steps in GitHub 
> and google groups.
> 
> in attachment the file gauge-data.txt.tmpl that should be the last 
> pubblicated 
> 
> Thanks
> Gianni
> 
> Il giorno martedì 2 giugno 2020 01:45:31 UTC+2, gjr80 ha scritto:
> Gianni,
> Can you please post a copy of gauge-data.txt.tmpl from your WeeWX machine (it 
> will be in /etc/weewx/skins/ss). There have been some recent changes to this 
> file that should have addressed this issue (if the issue is what i suspect it 
> is).
> 
> Gary
> 
> On Tuesday, 2 June 2020 09:39:07 UTC+10, gjr80 wrote:
> Posted on behalf of @CdfCastronno.
> 
> Gary
> 
> Ciao,
> From the first installation of Gauges Steel i've this error:
> 
> Jun 2 00:58:22 raspberrypi weewx[28959] DEBUG weewx.reportengine: Running 
> report 'SteelSeries'
> Jun 2 00:58:22 raspberrypi weewx[28959] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/ss/skin.conf for report 'SteelSeries'
> Jun 2 00:58:22 raspberrypi weewx[28959] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx/ss
> Jun 2 00:58:22 raspberrypi weewx[28959] DEBUG weewx.cheetahgenerator: Using 
> search list ['weewx.cheetahgenerator.Almanac', 
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
> 'weewx.cheetahgenerator.Extras']
> Jun 2 00:58:22 raspberrypi weewx[28959] DEBUG weewx.manager: Daily summary 
> version is 2.0
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: 
> Generate failed with exception '<class 'TypeError'>'
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> Reason: unsupported operand type(s) for *: 'NoneType' and 'int'
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> Traceback (most recent call last):
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> unicode_string = compiled_template.respond()
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 348, in respond
> Jun 2 00:58:22 raspberrypi weewx[28959] ERROR weewx.cheetahgenerator: **** 
> TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
> Jun 2 00:58:22 raspberrypi weewx[28959] INFO weewx.cheetahgenerator: 
> Generated 1 files for report SteelSeries in 0.08 seconds
> 
> Could you help me to understand how i've forgot or wrong?
> i use WH1080 with SDR antenna
> 
> http://cdfcastronno.altervista.org/WEEWX/ 
> <http://cdfcastronno.altervista.org/WEEWX/>
> Thanks
> Gianni
> 
> 
> -- 
> 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 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/ffecee6e-0229-40cc-bfd6-143a4f5cf03f%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/ffecee6e-0229-40cc-bfd6-143a4f5cf03f%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7A18A13B-A3F4-4BD9-8EFC-B2B3C0E08076%40gmail.com.

Reply via email to