Please note in the description for this extension:

“weewx-airlink requires the wview_extended in WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“

On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at <michael.kainzba...@gmx.at> wrote:


weedb.NoColumnError: no such column: pm2_5
Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:
Hi,

I've installe the module weewx-airlink (https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air Quality, but I have this error :

Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: Generated 18 images for report Bootstrap in 19.46 seconds
Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Jul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: historygenerator.py: Generated 7 tables in 1.20 seconds
Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 10 files for report Bootstrap in 5.12 seconds
Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 1 files for report lastrain in 0.06 seconds
Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: Generated 1 files for report AirLinkReport in 0.06 seconds
Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar called where record does not contain pm2_5.  This is unexpected.
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  no such column: pm2_5
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/xtypes.py", line 101, in get_series
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      aggregate_interval, **option_dict)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  TypeError: get_series() got an unexpected keyword argument 'SKIN_ROOT'
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  During handling of the above exception, another exception occurred:
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fn
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      return fn(*args, **kwargs)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weedb/sqlite.py", line 233, in execute
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      return sqlite3.Cursor.execute(self, *args, **kwargs)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  sqlite3.OperationalError: no such column: pm2_5
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  During handling of the above exception, another exception occurred:
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      obj.start()
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      self.run()
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/imagegenerator.py", line 42, in run
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      self.gen_images(self.gen_ts)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/imagegenerator.py", line 109, in gen_images
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      self.image_dict[timespan][plotname])
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/imagegenerator.py", line 249, in gen_plot
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      **option_dict)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/xtypes.py", line 106, in get_series
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      aggregate_interval)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/airlink.py", line 631, in get_series
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      for record in db_manager.genSql(sql_str, timespan):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/manager.py", line 598, in genSql
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      for _row in _cursor.execute(sql, sqlargs):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weedb/sqlite.py", line 51, in guarded_fn
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****      raise weedb.NoColumnError(e)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  weedb.NoColumnError: no such column: pm2_5
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:         ****  Generator terminated

Any idea?

Yves,
YMartin.com/meteo

--
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/8ee71df7-dde4-4af2-af2e-bd627d838385n%40googlegroups.com.

--
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/7B699D7C-3AD7-47DC-9AB6-35AAB1C4124D%40johnkline.com.

Reply via email to