Ok..I found this: 

https://braiinly.blogspot.com/?page=en-git-uajqq-weewx-belchertown-new-1764569835670

But it seems not solved so I will give up for the moment, installing 
Blechertown 1.3.1 raises errors, too...



Christian Peters schrieb am Montag, 22. Dezember 2025 um 07:14:54 UTC+1:

> John, 
>
> nothing so far. It's a very old weewx first install, there is no venv 
> install, it's installed via dpgk paket manager (.deb packet of weewx). 
> The strange thing: it works flwaless with my responsive skin, only 
> blechertown seems to raise the error!? 
> I usually do regular the  apt updat&& apt upgrade on my Debian 13 VM to be 
> on track. 
>
> John Smith schrieb am Montag, 22. Dezember 2025 um 00:46:25 UTC+1:
>
>> Quick skim of your log, what else did you upgrade?
>>
>> "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 204
>> TypeError: not enough arguments for format string
>>
>>
>> On Mon, 22 Dec 2025 at 08:04, 'Christian Peters' via weewx-user <
>> [email protected]> wrote:
>>
>>> Hi all, 
>>>
>>> I have  a quite heavy modifed responsive skin running with a mysql 
>>> mariadb and VP2 on a Debian trixie VM. 
>>> As image creation now raises 100sec I had to switch form 1min intervall  
>>> to 5min interval to get it working well again. But now the data is quite 
>>> 'old' I thougt about trying to install blechertown skin 1.6 woth mqtt live 
>>> data and let weewx run it. As I have no problemw with my responsive skin I 
>>> now get this error running blechertown. 
>>> Attached the error log. 
>>>
>>> Any idea what could cause this? Should I start with the original 
>>> blechertown skin. Or better start a new VM and build up a weewx 
>>> installation with blechertown step by step from scratch!? But would be nixe 
>>> to keep my mysql database (5 years)....
>>>
>>> Thanks in advance!
>>>
>>> Regards,
>>>
>>> Christian
>>> I
>>>
>>>
>>> -- 
>>> 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 visit 
>>> https://groups.google.com/d/msgid/weewx-user/d0f2aa45-f7a6-45dc-bc7b-39a429ba32e3n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/d0f2aa45-f7a6-45dc-bc7b-39a429ba32e3n%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 visit 
https://groups.google.com/d/msgid/weewx-user/f6590dcf-044a-4268-9f46-1c5b0cedc07en%40googlegroups.com.
{\rtf1\ansi\ansicpg1252\cocoartf2761
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red0\green0\blue0;}
{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;\csgray\c0\c0;}
\paperw11900\paperh16840\margl1440\margr1440\vieww25420\viewh11400\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0

\f0\fs24 \cf2 \cb3 \CocoaLigature0 INFO user.belchertown: version 1.3.1\
2025-12-22T07:30:16.467369+01:00 weewx weewxd[260535]: ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'\
2025-12-22T07:30:16.467616+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****  module 'locale' has no attribute 'format'\
2025-12-22T07:30:16.474293+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****  Traceback (most recent call last):\
2025-12-22T07:30:16.476097+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 248, in run\
2025-12-22T07:30:16.476420+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      obj.start()\
2025-12-22T07:30:16.478187+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      ~~~~~~~~~^^\
2025-12-22T07:30:16.478462+01:00 weewx weewxd[260535]: Traceback (most recent call last):\
2025-12-22T07:30:16.484129+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 465, in start\
2025-12-22T07:30:16.485311+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/reportengine.py", line 248, in run\
2025-12-22T07:30:16.489325+01:00 weewx weewxd[260535]:     obj.start()\
2025-12-22T07:30:16.493201+01:00 weewx weewxd[260535]:     ~~~~~~~~~^^\
2025-12-22T07:30:16.497024+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/reportengine.py", line 465, in start\
2025-12-22T07:30:16.500580+01:00 weewx weewxd[260535]:     self.run()\
2025-12-22T07:30:16.504337+01:00 weewx weewxd[260535]:     ~~~~~~~~^^\
2025-12-22T07:30:16.507525+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run\
2025-12-22T07:30:16.510437+01:00 weewx weewxd[260535]:     ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)\
2025-12-22T07:30:16.513883+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-22T07:30:16.516681+01:00 weewx weewxd[260535]:     ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-22T07:30:16.520371+01:00 weewx weewxd[260535]:             ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-22T07:30:16.521959+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-22T07:30:16.523088+01:00 weewx weewxd[260535]:     ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-22T07:30:16.524206+01:00 weewx weewxd[260535]:             ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-22T07:30:16.528315+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in generate\
2025-12-22T07:30:16.531756+01:00 weewx weewxd[260535]:     searchList = self._getSearchList(encoding, timespan,\
2025-12-22T07:30:16.535193+01:00 weewx weewxd[260535]:                                      default_binding, section_name,\
2025-12-22T07:30:16.538667+01:00 weewx weewxd[260535]:                                      os.path.join(\
2025-12-22T07:30:16.541821+01:00 weewx weewxd[260535]:                                        os.path.dirname(report_dict['template']),\
2025-12-22T07:30:16.544916+01:00 weewx weewxd[260535]:                                        _filename))\
2025-12-22T07:30:16.546875+01:00 weewx weewxd[260535]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 401, in _getSearchList\
2025-12-22T07:30:16.551119+01:00 weewx weewxd[260535]:     search_list += obj.get_extension_list(timespan, db_lookup)\
2025-12-22T07:30:16.552327+01:00 weewx weewxd[260535]:                    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\
2025-12-22T07:30:16.554668+01:00 weewx weewxd[260535]:   File "/etc/weewx/bin/user/belchertown.py", line 612, in get_extension_list\
2025-12-22T07:30:16.556654+01:00 weewx weewxd[260535]:     locale.format("%g", float(year_outTemp_max_range_total)),\
2025-12-22T07:30:16.559665+01:00 weewx weewxd[260535]:     ^^^^^^^^^^^^^\
2025-12-22T07:30:16.562354+01:00 weewx weewxd[260535]: AttributeError: module 'locale' has no attribute 'format'\
2025-12-22T07:30:16.565366+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      self.run()\
2025-12-22T07:30:16.565561+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      ~~~~~~~~^^\
2025-12-22T07:30:16.565691+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run\
2025-12-22T07:30:16.565833+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)\
2025-12-22T07:30:16.565954+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-22T07:30:16.566095+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-22T07:30:16.566209+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****              ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-22T07:30:16.566364+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-22T07:30:16.566463+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-22T07:30:16.566568+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****              ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-22T07:30:16.566667+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in generate\
2025-12-22T07:30:16.566798+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      searchList = self._getSearchList(encoding, timespan,\
2025-12-22T07:30:16.566921+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****                                       default_binding, section_name,\
2025-12-22T07:30:16.567050+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****                                       os.path.join(\
2025-12-22T07:30:16.567183+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****                                         os.path.dirname(report_dict['template']),\
2025-12-22T07:30:16.567338+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****                                         _filename))\
2025-12-22T07:30:16.567480+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 401, in _getSearchList\
2025-12-22T07:30:16.567603+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      search_list += obj.get_extension_list(timespan, db_lookup)\
2025-12-22T07:30:16.567724+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****                     ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\
2025-12-22T07:30:16.567862+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****    File "/etc/weewx/bin/user/belchertown.py", line 612, in get_extension_list\
2025-12-22T07:30:16.567974+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      locale.format("%g", float(year_outTemp_max_range_total)),\
2025-12-22T07:30:16.568110+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****      ^^^^^^^^^^^^^\
2025-12-22T07:30:16.568298+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****  AttributeError: module 'locale' has no attribute 'format'\
2025-12-22T07:30:16.568457+01:00 weewx weewxd[260535]: ERROR weewx.reportengine:         ****  Generator terminated}

Reply via email to