Ciao,
i've tried
python3 --version
Python 3.7.3
i've sostituite the file gauge-data.txt.tml with yours
seem the same error:
DEBUG weewx.reportengine: Found configuration file
/etc/weewx/skins/ss/skin.conf for report 'SteelSeries'
Jun 2 22:48:52 raspberrypi weewx[1922] INFO weewx.reportengine: Copied 0
files to /var/www/html/weewx/ss
Jun 2 22:48:52 raspberrypi weewx[1922] 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 22:48:52 raspberrypi weewx[1922] DEBUG weewx.manager: Daily summary
version is 2.0
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator:
Generate failed with exception '<class 'TypeError'>'
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
Reason: unsupported operand type(s) for *: 'NoneType' and 'int'
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
Traceback (most recent call last):
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
unicode_string = compiled_template.respond()
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 335, in respond
Jun 2 22:48:52 raspberrypi weewx[1922] ERROR weewx.cheetahgenerator: ****
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
Jun 2 22:48:52 raspberrypi weewx[1922] INFO weewx.cheetahgenerator:
Generated 1 files for report SteelSeries in 0.06 seconds
Ciao
Il giorno martedì 2 giugno 2020 18:31:01 UTC+2, John Kline ha scritto:
>
> Are you running under python3?
>
> If so, attached is my gauge-data.txt.impl file with the changes I had to
> make to run on python3. Would you give it a try?
>
>
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/ff789735-24dc-4c68-a06a-2c255719e6ef%40googlegroups.com.