You have a heavily customised install. Do you get the error with the 
gauge-data template every report cycle? It would be useful to see the 
archive record used by WeeWX when the gauge-data template error occurs. If 
it is every report cycle then just run WeeWX directl 
<http://weewx.com/docs/4.10/usersguide.htm#Running_directly>y and post a 
copy of an archive record (line starting with REC:) as it appears on the 
console. If the error occurs occasionally you still need to run WeeWX 
directly, but you need to capture an archive record that results in the 
gauge-data template error.

Gary

On Sunday 21 January 2024 at 18:55:42 UTC+10 [email protected] wrote:

> Hello Gary and thank you for your response.
>
> I have put all the fields in my database below :
>
> [image: WX1.png]
>
> [image: WX2.png]
>
> [image: WX3.png]
>
> [image: WX4.png]
>
> Indeed the error perhaps comes from this side because I deleted fields 
> which were useless to me and added others...*However I do not think I 
> deleted "basic" fields such as those which are used in the skin...?*
>
> As for the WeeWX driver, this is also a driver that I created myself since 
> it directly retrieves the data from AWEKAS after my Bresser 7in1 weather 
> station sent it to their site (no USB output unfortunately) .
> But I don't think this driver is to blame since all the data entered into 
> the database is consistent!
> For information: -> https://meteomillau.go.yo.fr/index.html
>
> Concerning the configuration of Weewx, nothing more classic it seems to 
> me...:
>
>      [[SteelSeries]]
>          skin = ss
>          enable = False
>          HTML_ROOT = /var/www/html/weewx/ss
>          [[[Units]]]
>              [[[[Groups]]]]
>                  group_altitude = meter
>                  group_pressure = hPa
>                  group_rain = mm
>                  group_rainRate = mm_per_hour
>                  group_speed = km_per_hour
>                  group_temperature = degree_C
>              [[[[StringFormats]]]]
>                  degree_C = %.1f
>                  degree_F = %.1f
>                  degree_compass = %.0f
>                  foot = %.0f
>                  hPa = %.1f
>                  inHg = %.3f
>                  inch = %.2f
>                  inch_per_hour = %.2f
>                  km = %.1f
>                  km_per_hour = %.0f
>                  knot = %.0f
>                  mbar = %.1f
>                  meter = %.0f
>                  meter_per_second = %.1f
>                  mile = %.1f
>                  mile_per_hour = %.0f
>                  mm = %.1f
>                  mmHg = %.1f
>                  mm_per_hour = %.1f
>                  percent = %.0f
>                  uv_index = %.1f
>                  watt_per_meter_squared = %.0f
>
> Le dimanche 21 janvier 2024 à 05:52:36 UTC+1, gjr80 a écrit :
>
>> The error message is very non-specific (as Cheetah errors often are), 
>> though the error is likely caused by a required field being None or 
>> non-existent. When asking for log extract I was not looking for errors in 
>> the log, but rather looking for details of your setup including station 
>> type, driver and WeeWX configuration that would hopefully give a clue as to 
>> the field causing the problem. Without any further information there is 
>> little else I can add.
>>
>> Gary
>> On Saturday 20 January 2024 at 20:30:04 UTC+10 [email protected] wrote:
>>
>>> Thank-you...
>>> Sorry but in the syslog, there is only that...
>>> And systematically same error at each packetsloop !
>>> if the option is disabled in weewx.conf obviously no problem. :-(
>>>
>>> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.alarm_multi: 
>>> Alarm set for expression 18: "extraTemp3 is not None and extraTemp3 >= 80.6"
>>> Jan 16 13:56:19 localhost wee_reports[62658] INFO user.healthchecks: 
>>> healthchecks: Using url 
>>> https://hc-ping.com/---------------------------Spw/weewx-record
>>> Jan 16 13:56:20 localhost wee_reports[62658] INFO user.historygenerator: 
>>> historygenerator.py: Generated 6 tables in 0.42 seconds
>>> Jan 16 13:56:32 localhost wee_reports[62658] INFO 
>>> weewx.cheetahgenerator: Generated 13 files for report SeasonsReport2 in 
>>> 12.56 seconds
>>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.imagegenerator: 
>>> Generated 28 images for report SeasonsReport2 in 2.95 seconds
>>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
>>> Copied 5 files to /var/www/html/weewx
>>> Jan 16 13:56:35 localhost wee_reports[62658] INFO weewx.reportengine: 
>>> Copied 6 files to /var/www/html/weewx/ss
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: Evaluation of template 
>>> /etc/weewx/skins/ss/gauge-data.txt.tmpl failed with exception '<class 
>>> 'TypeError'>'
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: **** Ignoring template 
>>> /etc/weewx/skins/ss/gauge-data.txt.tmpl
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: **** Reason: 'UnknownType' object is not 
>>> subscriptable
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****  Traceback (most recent call last):
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****    File 
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****      unicode_string = 
>>> compiled_template.respond()
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****    File 
>>> "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in respond
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****    File 
>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1446, in getVar
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****      return valueFromSearchList(
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/units.py", 
>>> line 1094, in raw
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****      return self.value_t[0]
>>> Jan 16 13:56:36 localhost wee_reports[62658] ERROR 
>>> weewx.cheetahgenerator: ****  TypeError: 'UnknownType' object is not 
>>> subscriptable
>>> Jan 16 13:56:36 localhost wee_reports[62658] INFO 
>>> weewx.cheetahgenerator: Generated 1 files for report SteelSeries in 0.76 
>>> seconds
>>> Jan 16 13:56:37 localhost wee_reports[62658] INFO weewx.imagegenerator: 
>>> Generated 11 images for report SteelSeries in 0.91 seconds
>>> Jan 16 13:56:40 localhost wee_reports[62658] INFO 
>>> weewx.cheetahgenerator: Generated 2 files for report wxobs in 3.66 seconds
>>> Jan 16 13:56:40 localhost wee_reports[62658] INFO weewx.reportengine: 
>>> Copied 6 files to /var/www/html/weewx/wxobs
>>> Jan 16 13:56:54 localhost wee_reports[62658] INFO weewx.reportengine: 
>>> ftpgenerator: Ftp'd 54 files in 13.22 seconds
>>>
>>> *Rémy LAVABRE*
>>>
>>>
>>> Le sam. 20 janv. 2024 à 10:51, gjr80 <[email protected]> a écrit :
>>>
>>>> Impossible to say with such a small log extract. Please refer to the 
>>>> section How to get a good, useful log 
>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log>
>>>>  
>>>> on the Help! Posting to weewx user wiki page 
>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log>
>>>> .
>>>>
>>>> Gary
>>>> On Saturday 20 January 2024 at 19:40:47 UTC+10 [email protected] 
>>>> wrote:
>>>>
>>>>> -> https://github.com/gjr80/weewx-steelseries
>>>>> Good morning,
>>>>>
>>>>> I don't understand the reason and why of the error that occurs with my 
>>>>> version 4.10.2 of weewx and the 'SteelSeries' Skin.
>>>>>
>>>>> Can anyone help me and tell me what's going on?
>>>>> THANKS
>>>>>
>>>>>
>>>>>
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> **** Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> **** Reason: 'UnknownType' object is not subscriptable
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****  Traceback (most recent call last):
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in 
>>>>> generate
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****      unicode_string = compiled_template.respond()
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****    File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 142, in 
>>>>> respond
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>>>>> 1446, in getVar
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****      return valueFromSearchList(
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****    File "/usr/share/weewx/weewx/units.py", line 1094, in raw
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****      return self.value_t[0]
>>>>> Jan 20 10:31:21 localhost weewx[16495] ERROR weewx.cheetahgenerator: 
>>>>> ****  TypeError: 'UnknownType' object is not subscriptable
>>>>>
>>>> -- 
>>>> 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/18ebb63d-7160-4411-8e3d-3ecab1cf3e86n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/18ebb63d-7160-4411-8e3d-3ecab1cf3e86n%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cefcef81-d439-4fea-8652-911983b509a2n%40googlegroups.com.

Reply via email to