Martin, could you please more of the log than the tiny bit you showed? It's
not even possible to tell which skin was being run.

Set debug=1, then either restart weewxd, or run "weectl report run". Post
the log.

On Thu, Feb 8, 2024 at 11:56 PM Maarten van der Hoeven <hoeve...@gmail.com>
wrote:

> Hi,
>
> Nut sure this came up after the Weewx 5 upgrade, and it seems to not
> breaking any functionallity, but I want to find out why this is being
> reported (KeyError: 'skin').
>
> Feb  9 08:44:56 weewx weewxd[1051]: Exception in thread ReportThread:
> Feb  9 08:44:56 weewx weewxd[1051]: Traceback (most recent call last):
> Feb  9 08:44:56 weewx weewxd[1051]:   File
> "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
> Feb  9 08:44:56 weewx weewxd[1051]:     self.run()
> Feb  9 08:44:56 weewx weewxd[1051]:   File
> "/usr/share/weewx/weewx/reportengine.py", line 194, in run
> Feb  9 08:44:56 weewx weewxd[1051]:     skin_dict['skin'])) as cwd:
> Feb  9 08:44:56 weewx weewxd[1051]:   File
> "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
> Feb  9 08:44:56 weewx weewxd[1051]:     val = dict.__getitem__(self, key)
> Feb  9 08:44:56 weewx weewxd[1051]: KeyError: 'skin'
>
>
> Part of my weewx.conf, debug set to 1:
>
> [StdReport]
>
>     # Where the skins reside, relative to WEEWX_ROOT
>     SKIN_ROOT = /etc/weewx/skins
>
>     # Where the generated reports should go, relative to WEEWX_ROOT
>     HTML_ROOT = /var/www/html/weewx
>
>     # The database binding indicates which data should be used in reports.
>     data_binding = wx_binding
>
>     # Whether to log a successful operation
>     log_success = True
>
>     # Whether to log an unsuccessful operation
>     log_failure = True
>
>     # Each of the following subsections defines a report that will be run.
>     # See the customizing guide to change the units, plot types and line
>     # colors, modify the fonts, display additional sensor data, and other
>     # customizations. Many of those changes can be made here by overriding
>     # parameters, or by modifying templates within the skin itself.
>
>     [[SeasonsReport]]
>         # The SeasonsReport uses the 'Seasons' skin, which contains the
>         # images, templates and plots for the report.
>         skin = Seasons
>         enable = true
>
>     [[SmartphoneReport]]
>         # The SmartphoneReport uses the 'Smartphone' skin, and the images
> and
>         # files are placed in a dedicated subdirectory.
>         skin = Smartphone
>         enable = false
>         HTML_ROOT = /var/www/html/weewx/smartphone
>
>     [[MobileReport]]
>         # The MobileReport uses the 'Mobile' skin, and the images and files
>         # are placed in a dedicated subdirectory.
>         skin = Mobile
>         enable = false
>         HTML_ROOT = /var/www/html/weewx/mobile
>
>     [[StandardReport]]
>         # This is the old "Standard" skin. By default, it is not enabled.
>         skin = Standard
>         enable = false
>
> --
> 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/7833ec5c-fde8-4832-8920-6fc17ed34ad4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/7833ec5c-fde8-4832-8920-6fc17ed34ad4n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBA_7uuizrbA-s%2Br6xfQb8E4B7nxFdHkQhnYrX9NA8VMw%40mail.gmail.com.

Reply via email to