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.
{\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\vieww26760\viewh10200\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.6\
2025-12-21T21:42:21.819158+01:00 weewx weewxd[201464]: ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'\
2025-12-21T21:42:21.819522+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  not enough arguments for format string\
2025-12-21T21:42:21.831421+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  Traceback (most recent call last):\
2025-12-21T21:42:21.831687+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 204, in execute\
2025-12-21T21:42:21.831846+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      query = query % args\
2025-12-21T21:42:21.832815+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****              ~~~~~~^~~~~~\
2025-12-21T21:42:21.833056+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  TypeError: not enough arguments for format string\
2025-12-21T21:42:21.833399+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  \
2025-12-21T21:42:21.833582+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  During handling of the above exception, another exception occurred:\
2025-12-21T21:42:21.833718+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  \
2025-12-21T21:42:21.834260+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  Traceback (most recent call last):\
2025-12-21T21:42:21.834524+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weedb/mysql.py", line 53, in guarded_fn\
2025-12-21T21:42:21.834689+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      return fn(*args, **kwargs)\
2025-12-21T21:42:21.834826+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weedb/mysql.py", line 247, in execute\
2025-12-21T21:42:21.835546+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      self.cursor.execute(mysql_string, tuple(sql_tuple))\
2025-12-21T21:42:21.835739+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.835959+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 206, in execute\
2025-12-21T21:42:21.836484+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      raise ProgrammingError(str(m))\
2025-12-21T21:42:21.837578+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  MySQLdb._exceptions.ProgrammingError: not enough arguments for format string\
2025-12-21T21:42:21.837798+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  \
2025-12-21T21:42:21.837932+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  During handling of the above exception, another exception occurred:\
2025-12-21T21:42:21.838041+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  \
2025-12-21T21:42:21.838154+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  Traceback (most recent call last):\
2025-12-21T21:42:21.838288+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 248, in run\
2025-12-21T21:42:21.838416+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      obj.start()\
2025-12-21T21:42:21.838557+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ~~~~~~~~~^^\
2025-12-21T21:42:21.838704+01:00 weewx weewxd[201464]: Traceback (most recent call last):\
2025-12-21T21:42:21.841422+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 465, in start\
2025-12-21T21:42:21.842491+01:00 weewx weewxd[201464]:   File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 204, in execute\
2025-12-21T21:42:21.845479+01:00 weewx weewxd[201464]:     query = query % args\
2025-12-21T21:42:21.846640+01:00 weewx weewxd[201464]:             ~~~~~~^~~~~~\
2025-12-21T21:42:21.849605+01:00 weewx weewxd[201464]: TypeError: not enough arguments for format string\
2025-12-21T21:42:21.852976+01:00 weewx weewxd[201464]: During handling of the above exception, another exception occurred:\
2025-12-21T21:42:21.856037+01:00 weewx weewxd[201464]: Traceback (most recent call last):\
2025-12-21T21:42:21.859914+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weedb/mysql.py", line 53, in guarded_fn\
2025-12-21T21:42:21.861784+01:00 weewx weewxd[201464]:     return fn(*args, **kwargs)\
2025-12-21T21:42:21.863031+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weedb/mysql.py", line 247, in execute\
2025-12-21T21:42:21.864831+01:00 weewx weewxd[201464]:     self.cursor.execute(mysql_string, tuple(sql_tuple))\
2025-12-21T21:42:21.866092+01:00 weewx weewxd[201464]:     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.867408+01:00 weewx weewxd[201464]:   File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 206, in execute\
2025-12-21T21:42:21.868775+01:00 weewx weewxd[201464]:     raise ProgrammingError(str(m))\
2025-12-21T21:42:21.870060+01:00 weewx weewxd[201464]: MySQLdb._exceptions.ProgrammingError: not enough arguments for format string\
2025-12-21T21:42:21.871424+01:00 weewx weewxd[201464]: During handling of the above exception, another exception occurred:\
2025-12-21T21:42:21.872719+01:00 weewx weewxd[201464]: Traceback (most recent call last):\
2025-12-21T21:42:21.874371+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      self.run()\
2025-12-21T21:42:21.874953+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/reportengine.py", line 248, in run\
2025-12-21T21:42:21.876213+01:00 weewx weewxd[201464]:     obj.start()\
2025-12-21T21:42:21.877615+01:00 weewx weewxd[201464]:     ~~~~~~~~~^^\
2025-12-21T21:42:21.879068+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/reportengine.py", line 465, in start\
2025-12-21T21:42:21.880451+01:00 weewx weewxd[201464]:     self.run()\
2025-12-21T21:42:21.881725+01:00 weewx weewxd[201464]:     ~~~~~~~~^^\
2025-12-21T21:42:21.882905+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run\
2025-12-21T21:42:21.884210+01:00 weewx weewxd[201464]:     ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)\
2025-12-21T21:42:21.885469+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-21T21:42:21.886844+01:00 weewx weewxd[201464]:     ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-21T21:42:21.888285+01:00 weewx weewxd[201464]:             ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.889603+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-21T21:42:21.890789+01:00 weewx weewxd[201464]:     ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-21T21:42:21.892310+01:00 weewx weewxd[201464]:             ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.893723+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in generate\
2025-12-21T21:42:21.895034+01:00 weewx weewxd[201464]:     searchList = self._getSearchList(encoding, timespan,\
2025-12-21T21:42:21.896317+01:00 weewx weewxd[201464]:                                      default_binding, section_name,\
2025-12-21T21:42:21.897707+01:00 weewx weewxd[201464]:                                      os.path.join(\
2025-12-21T21:42:21.898988+01:00 weewx weewxd[201464]:                                        os.path.dirname(report_dict['template']),\
2025-12-21T21:42:21.900321+01:00 weewx weewxd[201464]:                                        _filename))\
2025-12-21T21:42:21.901690+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 401, in _getSearchList\
2025-12-21T21:42:21.902968+01:00 weewx weewxd[201464]:     search_list += obj.get_extension_list(timespan, db_lookup)\
2025-12-21T21:42:21.904305+01:00 weewx weewxd[201464]:                    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.905744+01:00 weewx weewxd[201464]:   File "/etc/weewx/bin/user/belchertown.py", line 710, in get_extension_list\
2025-12-21T21:42:21.907023+01:00 weewx weewxd[201464]:     year_rainiest_month_query = wx_manager.getSql(year_rainiest_month_sql)\
2025-12-21T21:42:21.908355+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weewx/manager.py", line 597, in getSql\
2025-12-21T21:42:21.909740+01:00 weewx weewxd[201464]:     _cursor.execute(sql, sqlargs)\
2025-12-21T21:42:21.911018+01:00 weewx weewxd[201464]:     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\
2025-12-21T21:42:21.912298+01:00 weewx weewxd[201464]:   File "/usr/share/weewx/weedb/mysql.py", line 62, in guarded_fn\
2025-12-21T21:42:21.913697+01:00 weewx weewxd[201464]:     raise klass(e)\
2025-12-21T21:42:21.914970+01:00 weewx weewxd[201464]: weedb.DatabaseError: not enough arguments for format string\
2025-12-21T21:42:21.916408+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ~~~~~~~~^^\
2025-12-21T21:42:21.916698+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run\
2025-12-21T21:42:21.916958+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)\
2025-12-21T21:42:21.917182+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-21T21:42:21.917453+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-21T21:42:21.917644+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****              ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.917825+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate\
2025-12-21T21:42:21.917987+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)\
2025-12-21T21:42:21.918178+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****              ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.918411+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in generate\
2025-12-21T21:42:21.918670+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      searchList = self._getSearchList(encoding, timespan,\
2025-12-21T21:42:21.918909+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****                                       default_binding, section_name,\
2025-12-21T21:42:21.919114+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****                                       os.path.join(\
2025-12-21T21:42:21.919381+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****                                         os.path.dirname(report_dict['template']),\
2025-12-21T21:42:21.919598+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****                                         _filename))\
2025-12-21T21:42:21.919790+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 401, in _getSearchList\
2025-12-21T21:42:21.919984+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      search_list += obj.get_extension_list(timespan, db_lookup)\
2025-12-21T21:42:21.920206+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****                     ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\
2025-12-21T21:42:21.920508+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/etc/weewx/bin/user/belchertown.py", line 710, in get_extension_list\
2025-12-21T21:42:21.920751+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      year_rainiest_month_query = wx_manager.getSql(year_rainiest_month_sql)\
2025-12-21T21:42:21.921019+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/manager.py", line 597, in getSql\
2025-12-21T21:42:21.921303+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      _cursor.execute(sql, sqlargs)\
2025-12-21T21:42:21.921545+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\
2025-12-21T21:42:21.921823+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weedb/mysql.py", line 62, in guarded_fn\
2025-12-21T21:42:21.922052+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****      raise klass(e)\
2025-12-21T21:42:21.922299+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  weedb.DatabaseError: not enough arguments for format string\
2025-12-21T21:42:21.922586+01:00 weewx weewxd[201464]: ERROR weewx.reportengine:         ****  Generator terminated\
2025-12-21T21:42:21.922810+01:00 weewx weewxd[201464]: INFO weewx.reportengine: Copied 8 files to /var/www/html/weewx/belchertown
\fs28 \
}

Reply via email to