I should have realised when I saw the path to the fonts in skin.conf. Try this command:
$ sudo cp -R /etc/weewx/skins/Seasons/font /etc/weewx/skins/ss The plot labels should now come good on the next report cycle. Gary On Thursday, 10 December 2020 at 07:27:41 UTC+10 [email protected] wrote: > here my skins/ss/skin.conf > > # $Id: skin.conf 1210 2015-01-01 17:01:08Z mwall $ > # configuration file for the steel series gauges skin for weewx > # created by Matthew Wall > # based on work by Mark Crossley and others > # > # This skin can be copied, modified, and distributed as long as this notice > # is included in any derivative work. > > [CopyGenerator] > copy_once = css/*.css, scripts/*.js > > [CheetahGenerator] > encoding = html_entities > [[ToDate]] > [[[index]]] > template = index.html.tmpl > [[[data]]] > template = gauge-data.txt.tmpl > > [ImageGenerator] > image_width = 720 > image_height = 196 > image_background_color = 0xffffff > chart_background_color = 0xffffff > chart_gridline_color = 0xeaeaea > > top_label_font_path = font/OpenSans-Bold.ttf > top_label_font_size = 10 > > unit_label_font_path = font/OpenSans-Regular.ttf > unit_label_font_size = 10 > unit_label_font_color = 0xaaaaaa > > bottom_label_font_path = font/OpenSans-Regular.ttf > bottom_label_font_size = 10 > bottom_label_font_color = 0xaaaaaa > > axis_label_font_path = font/OpenSans-Regular.ttf > axis_label_font_size = 10 > axis_label_font_color = 0xaaaaaa > > rose_label = N > rose_label_font_path = font/OpenSans-Regular.ttf > rose_label_font_size = 8 > rose_label_font_color = 0x888888 > rose_color = 0xaaaaaa > > chart_line_colors = 0x1e69d2, 0x8b008b, 0xa09e5f, 0x8080f0 > chart_fill_colors = 0x7ec9f2, 0xeb00eb, 0xf0febf, 0xe0e0f0 > > line_type = 'solid' > marker_size = 2 > marker_type ='none' > plot_type = line > aggregate_type = none > width = 1 > yscale = None, None, None > vector_rotate = 90 > line_gap_fraction = 0.01 > bar_gap_fraction = 0.2 > daynight_day_color = 0xffffff > daynight_night_color = 0xf8f0f0 > daynight_edge_color = 0xafefef > bottom_label_format = %x %X > time_length = 90000 > > [[images]] > x_label_format = %H:%M > show_daynight = true > [[[daybarometer]]] > [[[[barometer]]]] > [[[dayrain]]] > yscale = None, None, 0.02 > plot_type = bar > [[[[rain]]]] > aggregate_type = sum > aggregate_interval = 3600 > label = Rain (hourly total) > [[[dayrainrate]]] > [[[[rainRate]]]] > [[[daywind]]] > [[[[windSpeed]]]] > [[[[windGust]]]] > [[[daywinddir]]] > line_type = None > marker_type = 'box' > marker_size = 2 > yscale = 0.0, 360.0, 45.0 > [[[[windDir]]]] > [[[daywindvec]]] > [[[[windvec]]]] > plot_type = vector > [[[[windgustvec]]]] > plot_type = vector > aggregate_type = max > aggregate_interval = 3600 > [[[dayouttemphum]]] > [[[[windchill]]]] > [[[[heatindex]]]] > [[[[dewpoint]]]] > [[[[outTemp]]]] > [[[dayinouttemp]]] > [[[[outTemp]]]] > [[[[inTemp]]]] > [[[dayinouthum]]] > yscale = 0, 100, 10 > [[[[outHumidity]]]] > [[[[inHumidity]]]] > [[[dayradiation]]] > [[[[radiation]]]] > [[[dayuv]]] > [[[[UV]]]] > > [Generators] > generator_list = weewx.reportengine.CopyGenerator, > weewx.cheetahgenerator.CheetahGenerator, weewx.imagegenerator.ImageGenerator > > > my skins/Seasons/skin.conf > > > ############################################################################### > # SEASONS SKIN CONFIGURATION FILE > # > # Copyright (c) 2018 Tom Keffer <[email protected]> and Matthew Wall > # > # See the file LICENSE.txt for your rights. > # > > ############################################################################### > > > ############################################################################### > > # The following section is for any extra tags that you want to be > available in > # the templates > > [Extras] > > # This radar image would be available as $Extras.radar_img > #radar_img = http://radar.weather.gov/ridge/lite/N0R/RTX_loop.gif > # This URL will be used as the image hyperlink: > #radar_url = > http://radar.weather.gov/ridge/radar.php?product=NCR&rid=RTX&loop=yes > > # Similar to radar, but for satellite image. > #satellite_img = > http://images.intellicast.com/WxImages/SatelliteLoop/hipacsat_None_anim.gif > #satellite_url = > http://images.intellicast.com/WxImages/SatelliteLoop/hipacsat_None_anim.gif > > # To display a map, enter an API key for google maps > #google_maps_apikey = xxx > > # If you have a Google Analytics ID, uncomment and edit the next line, > and > # the analytics code will be included in your generated HTML files: > #googleAnalyticsId = UA-12345678-1 > > > ############################################################################### > > [Labels] > > # Override some labels. No need to identify these as a "Battery" > # or "Voltage", because that is included in the template. > [[Generic]] > txBatteryStatus = Transmitter > windBatteryStatus = Wind > rainBatteryStatus = Rain > outTempBatteryStatus = Outside Temperature > inTempBatteryStatus = Inside Temperature > consBatteryVoltage = Console > heatingVoltage = Heating > supplyVoltage = Supply > referenceVoltage = Reference > > # Some specialized labels > rain_today = Rain Today > wind = Wind > > > > ############################################################################### > > # The CheetahGenerator creates files from templates. This section > # specifies which files will be generated from which template. > > [CheetahGenerator] > > # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii' > encoding = html_entities > > [[SummaryByMonth]] > # Reports that summarize "by month" > [[[NOAA_month]]] > encoding = strict_ascii > template = NOAA/NOAA-%Y-%m.txt.tmpl > > [[SummaryByYear]] > # Reports that summarize "by year" > [[[NOAA_year]]] > encoding = strict_ascii > template = NOAA/NOAA-%Y.txt.tmpl > > [[ToDate]] > # Reports that show statistics "to date", such as day-to-date, > # week-to-date, month-to-date, etc. > [[[index]]] > template = index.html.tmpl > [[[statistics]]] > template = statistics.html.tmpl > [[[telemetry]]] > template = telemetry.html.tmpl > [[[tabular]]] > template = tabular.html.tmpl > [[[celestial]]] > template = celestial.html.tmpl > # Uncomment the following to generate a celestial page only > once > # an hour instead of every report cycle. > # stale_age = 3600 > [[[RSS]]] > template = rss.xml.tmpl > > > ############################################################################### > > # The CopyGenerator copies files from one location to another. > > [CopyGenerator] > > # List of files to be copied only the first time the generator runs > copy_once = seasons.css, seasons.js, favicon.ico, font/*.woff, > font/*.woff2 > > # List of files to be copied each time the generator runs > # copy_always = > > > > ############################################################################### > > # The ImageGenerator creates image plots of data. > > [ImageGenerator] > > # This section lists all the images to be generated, what SQL types > are to > # be included in them, along with many plotting options. There is a > default > # for almost everything. Nevertheless, values for most options are > included > # to make it easy to see and understand the options. > # > # Fonts can be anything accepted by the Python Imaging Library (PIL), > which > # includes truetype (.ttf), or PIL's own font format (.pil). See > # http://www.pythonware.com/library/pil/handbook/imagefont.htm for > more > # details. Note that "font size" is only used with truetype (.ttf) > # fonts. For others, font size is determined by the bit-mapped size, > # usually encoded in the file name (e.g., courB010.pil). A relative > path > # for a font is relative to the SKIN_ROOT. If a font cannot be found, > # then a default font will be used. > # > # Colors can be specified any of three ways: > # 1. Notation 0xBBGGRR; > # 2. Notation #RRGGBB; or > # 3. Using an English name, such as 'yellow', or 'blue'. > # So, 0xff0000, #0000ff, or 'blue' would all specify a pure blue color. > > image_width = 500 > image_height = 180 > image_background_color = "#ffffff" > > chart_background_color = "#ffffff" > chart_gridline_color = "#d0d0d0" > > # Setting to 2 or more might give a sharper image with fewer jagged > edges > anti_alias = 1 > > top_label_font_path = font/OpenSans-Bold.ttf > top_label_font_size = 14 > > unit_label_font_path = font/OpenSans-Bold.ttf > unit_label_font_size = 12 > unit_label_font_color = "#787878" > > bottom_label_font_path = font/OpenSans-Regular.ttf > bottom_label_font_size = 12 > bottom_label_font_color = "#787878" > bottom_label_offset = 3 > > axis_label_font_path = font/OpenSans-Regular.ttf > axis_label_font_size = 10 > axis_label_font_color = "#787878" > > # Options for the compass rose, used for progressive vector plots > rose_label = N > rose_label_font_path = font/OpenSans-Regular.ttf > rose_label_font_size = 9 > rose_label_font_color = "#222222" > > # Default colors for the plot lines. These can be overridden for > # individual lines using option 'color'. > chart_line_colors = "#4282b4", "#b44242", "#42b442", "#42b4b4", > "#b442b4" > > # Default fill colors for bar charts. These can be overridden for > # individual bar plots using option 'fill_color'. > chart_fill_colors = "#72b2c4", "#c47272", "#72c472", "#72c4c4", > "#c472c4" > > # Type of line. Options are 'solid' or 'none'. > line_type = 'solid' > > # Size of marker in pixels > marker_size = 8 > > # Type of marker. Options are 'cross', 'x', 'circle', 'box', or 'none'. > marker_type ='none' > > # The following option merits an explanation. The y-axis scale used for > # plotting can be controlled using option 'yscale'. It is a 3-way > tuple, > # with values (ylow, yhigh, min_interval). If set to "None", a > parameter is > # set automatically, otherwise the value is used. However, in the case > of > # min_interval, what is set is the *minimum* y-axis tick interval. > yscale = None, None, None > > # For progressive vector plots, you can choose to rotate the vectors. > # Positive is clockwise. > # For my area, westerlies overwhelmingly predominate, so by rotating > # positive 90 degrees, the average vector will point straight up. > vector_rotate = 90 > > # This defines what fraction of the difference between maximum and > minimum > # horizontal chart bounds is considered a gap in the samples and > should not > # be plotted. > line_gap_fraction = 0.01 > > # This controls whether day/night bands will be shown. They only look > good > # on plots wide enough to show individual days such as day and week > plots. > show_daynight = true > # These control the appearance of the bands if they are shown. > # Here's a monochrome scheme: > daynight_day_color = "#fdfaff" > daynight_night_color = "#dfdfe2" > daynight_edge_color = "#e0d8d8" > # Here's an alternative, using a blue/yellow tint: > #daynight_day_color = "#fffff8" > #daynight_night_color = "#f8f8ff" > #daynight_edge_color = "#fff8f8" > > # What follows is a list of subsections, each specifying a time span, > such > # as a day, week, month, or year. There's nothing special about them or > # their names: it's just a convenient way to group plots with a time > span > # in common. You could add a time span [[biweek_images]] and add the > # appropriate time length, aggregation strategy, etc., without changing > # any code. > # > # Within each time span, each sub-subsection is the name of a plot to > be > # generated for that time span. The generated plot will be stored using > # that name, in whatever directory was specified by option 'HTML_ROOT' > # in weewx.conf. > # > # With one final nesting (four brackets!) is the sql type of each line > to > # be included within that plot. > # > # Unless overridden, leaf nodes inherit options from their parent > > # Default plot parameters > plot_type = line > aggregate_type = none > width = 1 > time_length = 86400 # 24 hours > > [[day_images]] > x_label_format = %H:%M > bottom_label_format = %x %X > time_length = 97200 # 27 hours > > [[[daybarometer]]] > [[[[barometer]]]] > > [[[daytempdew]]] > [[[[outTemp]]]] > [[[[dewpoint]]]] > > [[[daytempfeel]]] > [[[[windchill]]]] > [[[[heatindex]]]] > > [[[daytempin]]] > [[[[inTemp]]]] > > [[[daytemp]]] > yscale = None, None, 0.5 > [[[[extraTemp1]]]] > [[[[extraTemp2]]]] > [[[[extraTemp3]]]] > > [[[dayhum]]] > [[[[outHumidity]]]] > > [[[dayhumin]]] > [[[[inHumidity]]]] > > [[[dayrain]]] > # Make sure the y-axis increment is at least 0.02 for the rain > plot > yscale = None, None, 0.02 > plot_type = bar > [[[[rain]]]] > aggregate_type = sum > aggregate_interval = 3600 > label = Rain (hourly total) > > [[[daywind]]] > [[[[windSpeed]]]] > [[[[windGust]]]] > > [[[daywinddir]]] > # Hardwire in the y-axis scale for wind direction > yscale = 0.0, 360.0, 45.0 > line_type = None > marker_type = box > marker_size = 2 > [[[[windDir]]]] > > [[[daywindvec]]] > [[[[windvec]]]] > plot_type = vector > > [[[dayradiation]]] > [[[[radiation]]]] > > [[[dayuv]]] > # yscale = 0, 16, 1 > [[[[UV]]]] > > [[[dayrx]]] > yscale = 0.0, 100.0, 25.0 > [[[[rxCheckPercent]]]] > > [[[dayvolt]]] > [[[[consBatteryVoltage]]]] > [[[[heatingVoltage]]]] > [[[[supplyVoltage]]]] > [[[[referenceVoltage]]]] > > [[week_images]] > x_label_format = %d > bottom_label_format = %x %X > time_length = 604800 # 7 days > aggregate_type = avg > aggregate_interval = 3600 > > [[[weekbarometer]]] > [[[[barometer]]]] > > [[[weektempdew]]] > [[[[outTemp]]]] > [[[[dewpoint]]]] > > [[[weektempfeel]]] > [[[[windchill]]]] > [[[[heatindex]]]] > > [[[weektempin]]] > [[[[inTemp]]]] > > [[[weektemp]]] > yscale = None, None, 0.5 > [[[[extraTemp1]]]] > [[[[extraTemp2]]]] > [[[[extraTemp3]]]] > > [[[weekhum]]] > [[[[outHumidity]]]] > > [[[weekhumin]]] > [[[[inHumidity]]]] > > [[[weekrain]]] > yscale = None, None, 0.02 > plot_type = bar > [[[[rain]]]] > aggregate_type = sum > aggregate_interval = 86400 > label = Rain (daily total) > > [[[weekwind]]] > [[[[windSpeed]]]] > [[[[windGust]]]] > aggregate_type = max > > [[[weekwinddir]]] > yscale = 0.0, 360.0, 45.0 > line_type = None > marker_type = box > marker_size = 2 > [[[[windDir]]]] > > [[[weekwindvec]]] > [[[[windvec]]]] > plot_type = vector > > [[[weekradiation]]] > [[[[radiation]]]] > > [[[weekuv]]] > # yscale = 0, 16, 1 > [[[[UV]]]] > > [[[weekrx]]] > yscale = 0.0, 100.0, 25.0 > [[[[rxCheckPercent]]]] > > [[[weekvolt]]] > [[[[consBatteryVoltage]]]] > [[[[heatingVoltage]]]] > [[[[supplyVoltage]]]] > [[[[referenceVoltage]]]] > > [[month_images]] > x_label_format = %d > bottom_label_format = %x %X > time_length = 2592000 # 30 days > aggregate_type = avg > aggregate_interval = 10800 # 3 hours > show_daynight = false > > [[[monthbarometer]]] > [[[[barometer]]]] > > [[[monthtempdew]]] > [[[[outTemp]]]] > [[[[dewpoint]]]] > > [[[monthtempfeel]]] > [[[[windchill]]]] > [[[[heatindex]]]] > > [[[monthtempin]]] > [[[[inTemp]]]] > > [[[monthtemp]]] > yscale = None, None, 0.5 > [[[[extraTemp1]]]] > [[[[extraTemp2]]]] > [[[[extraTemp3]]]] > > [[[monthhum]]] > [[[[outHumidity]]]] > > [[[monthhumin]]] > [[[[inHumidity]]]] > > [[[monthrain]]] > yscale = None, None, 0.02 > plot_type = bar > [[[[rain]]]] > aggregate_type = sum > aggregate_interval = 86400 > label = Rain (daily total) > > [[[monthwind]]] > [[[[windSpeed]]]] > [[[[windGust]]]] > aggregate_type = max > > [[[monthwinddir]]] > yscale = 0.0, 360.0, 45.0 > line_type = None > marker_type = box > marker_size = 2 > [[[[windDir]]]] > > [[[monthwindvec]]] > [[[[windvec]]]] > plot_type = vector > > [[[monthradiation]]] > [[[[radiation]]]] > > [[[monthuv]]] > # yscale = 0, 16, 1 > [[[[UV]]]] > > [[[monthrx]]] > yscale = 0.0, 100.0, 25.0 > [[[[rxCheckPercent]]]] > > [[[monthvolt]]] > [[[[consBatteryVoltage]]]] > [[[[heatingVoltage]]]] > [[[[supplyVoltage]]]] > [[[[referenceVoltage]]]] > > [[year_images]] > x_label_format = %m/%d > bottom_label_format = %x %X > time_length = 31536000 # 365 days > aggregate_type = avg > aggregate_interval = 86400 > show_daynight = false > > [[[yearbarometer]]] > [[[[barometer]]]] > > [[[yeartempdew]]] > [[[[outTemp]]]] > [[[[dewpoint]]]] > > [[[yeartempfeel]]] > [[[[windchill]]]] > [[[[heatindex]]]] > > [[[yeartempin]]] > [[[[inTemp]]]] > > [[[yeartemp]]] > yscale = None, None, 0.5 > [[[[extraTemp1]]]] > [[[[extraTemp2]]]] > [[[[extraTemp3]]]] > > [[[yearhum]]] > [[[[outHumidity]]]] > > [[[yearhumin]]] > [[[[inHumidity]]]] > > [[[yearrain]]] > yscale = None, None, 0.02 > plot_type = bar > [[[[rain]]]] > aggregate_type = sum > # aggregate_interval = 2629800 # the length of a nominal > month > aggregate_interval = 604800 # one week > label = Rain (weekly total) > > [[[yearwind]]] > [[[[windSpeed]]]] > [[[[windGust]]]] > aggregate_type = max > > [[[yearwinddir]]] > yscale = 0.0, 360.0, 45.0 > line_type = None > marker_type = box > marker_size = 2 > [[[[windDir]]]] > > [[[yearwindvec]]] > [[[[windvec]]]] > plot_type = vector > > [[[yearradiation]]] > [[[[radiation]]]] > > [[[yearuv]]] > # yscale = 0, 16, 1 > [[[[UV]]]] > > [[[yearrx]]] > yscale = 0.0, 100.0, 25.0 > [[[[rxCheckPercent]]]] > > [[[yearvolt]]] > [[[[consBatteryVoltage]]]] > [[[[heatingVoltage]]]] > [[[[supplyVoltage]]]] > [[[[referenceVoltage]]]] > > # This is how to generate a plot of high/low temperatures for the > year: > # [[[yearhilow]]] > # [[[[hi]]]] > # data_type = outTemp > # aggregate_type = max > # label = High > # [[[[low]]]] > # data_type = outTemp > # aggregate_type = min > # label = Low Temperature > > > > ############################################################################### > > [Generators] > # The list of generators that are to be run: > generator_list = weewx.cheetahgenerator.CheetahGenerator, > weewx.imagegenerator.ImageGenerator, weewx.reportengine.CopyGenerator > > > and finaly my debug log > > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** File > "/usr/share/weewx/weewx/drivers/fousb.py", line 1072, in genLoopPackets > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** for p in > self.get_observations(): > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** File > "/usr/share/weewx/weewx/drivers/fousb.py", line 1153, in get_observations > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** > time.sleep(self.polling_interval) > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** File > "/usr/share/weewx/weewxd", line 257, in sigTERMhandler > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** raise > Terminate > Dec 9 23:15:34 metfm weewx[21524] DEBUG __main__: **** Terminate > Dec 9 23:15:35 metfm weewx[23688]: Stopping weewx weather system: > weewx..... > Dec 9 23:15:35 metfm systemd[1]: weewx.service: Succeeded. > Dec 9 23:15:35 metfm systemd[1]: Stopped LSB: weewx weather system. > Dec 9 23:17:01 metfm CRON[23747]: (root) CMD ( cd / && run-parts > --report /etc/cron.hourly) > Dec 9 23:17:56 metfm wpa_supplicant[426]: wlan0: WPA: Group rekeying > completed with 58:98:35:70:9c:c4 [GTK=TKIP] > Dec 9 23:18:22 metfm systemd[1]: Starting LSB: weewx weather system... > Dec 9 23:18:23 metfm weewx[23783] INFO __main__: Initializing weewx > version 4.2.0 > Dec 9 23:18:23 metfm weewx[23783] INFO __main__: Using Python 3.7.3 > (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0] > Dec 9 23:18:23 metfm weewx[23783] INFO __main__: Platform > Linux-4.19.0-13-686-i686-with-Sparky-5.13-Nibiru > Dec 9 23:18:23 metfm weewx[23783] INFO __main__: Locale is 'el_GR.UTF-8' > Dec 9 23:18:23 metfm weewx[23783] INFO __main__: PID file is > /var/run/weewx.pid > Dec 9 23:18:23 metfm weewx[23787] INFO __main__: Using configuration file > /etc/weewx/weewx.conf > Dec 9 23:18:23 metfm weewx[23787] INFO __main__: Debug is 1 > Dec 9 23:18:23 metfm weewx[23787] DEBUG __main__: Initializing engine > Dec 9 23:18:23 metfm weewx[23771]: Starting weewx weather system: weewx. > Dec 9 23:18:23 metfm systemd[1]: Started LSB: weewx weather system. > Dec 9 23:18:23 metfm weewx[23787] INFO weewx.engine: Loading station type > FineOffsetUSB (weewx.drivers.fousb) > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.drivers.fousb: driver > version is 1.20 > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.drivers.fousb: polling mode > is PERIODIC > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.drivers.fousb: polling > interval is 60 > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.drivers.fousb: found station > on USB bus= device= > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdTimeSynch > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdTimeSynch > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdConvert > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.engine: StdConvert target > unit is 0x1 > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdConvert > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdCalibrate > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdCalibrate > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdQC > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdQC > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.wxservices.StdWXCalculate > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.manager: Daily summary > version is 2 > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.wxservices.StdWXCalculate > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdWXXTypes > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdWXXTypes > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdPressureCooker > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdPressureCooker > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.wxxtypes.StdRainRater > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.wxxtypes.StdRainRater > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdArchive > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.engine: Archive will use > data binding wx_binding > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.engine: Record generation > will be attempted in 'software' > Dec 9 23:18:24 metfm weewx[23787] INFO weewx.engine: Using archive > interval of 60 seconds (software record generation) > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Use LOOP data in > hi/low calculations: 1 > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdArchive > Dec 9 23:18:24 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.restx.StdStationRegistry > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.restx: StationRegistry: > Station will not be registered: no station_url specified. > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.restx.StdStationRegistry > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.restx.StdWunderground > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.restx: Wunderground: Posting > not enabled. > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.restx.StdWunderground > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.restx.StdPWSweather > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.restx: PWSweather: Posting > not enabled. > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.restx.StdPWSweather > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.restx.StdCWOP > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.restx: CWOP: Posting not > enabled. > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.restx.StdCWOP > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.restx.StdWOW > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.restx: WOW: Posting not > enabled. > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.restx.StdWOW > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.restx.StdAWEKAS > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.restx: AWEKAS: Posting not > enabled. > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.restx.StdAWEKAS > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > user.wcloud.WeatherCloud > Dec 9 23:18:25 metfm weewx[23787] INFO user.wcloud: service version is > 0.13 > Dec 9 23:18:25 metfm weewx[23787] INFO user.wcloud: Data will be uploaded > for id=a7d15595c00b3f22 > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service user.wcloud.WeatherCloud > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdPrint > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdPrint > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Loading service > weewx.engine.StdReport > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Finished loading > service weewx.engine.StdReport > Dec 9 23:18:25 metfm weewx[23787] INFO __main__: Starting up weewx > version 4.2.0 > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.engine: Station does not > support reading the time > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.engine: Using binding > 'wx_binding' to database 'weewx.sdb' > Dec 9 23:18:25 metfm weewx[23787] INFO weewx.manager: Starting backfill > of daily summaries > Dec 9 23:18:25 metfm weewx[23787] DEBUG weewx.manager: Daily summary > version is 2 > Dec 9 23:18:26 metfm weewx[23787] DEBUG weewx.drivers.fousb: get 827 > records since 2020-12-09 21:29:00 > Dec 9 23:18:26 metfm weewx[23787] INFO weewx.drivers.fousb: synchronising > to the weather station (quality=0) > Dec 9 23:18:27 metfm weewx[23787] DEBUG weewx.drivers.fousb: status > {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0) > > > > > > > > Στις Τρίτη, 8 Δεκεμβρίου 2020 στις 11:20:10 μ.μ. UTC+2, ο χρήστης gjr80 > έγραψε: > >> Thank you, unfortunately you didn’t provide what I asked so it is >> difficult to say too much. From the extract you provided I can see plot >> files for both Seasons and SteelSeries are generated and successfully >> uploaded to your server but unfortunately it doesn’t tell much more. The >> error in the extract relates to a missing template file >> skins/ss/index.html.tmpl which is the template for the HTML file that >> displays the gauges. But this file is largely static and once generated (or >> more correctly once it is uploaded to your web server) your gauges will >> display. The error has nothing to do with your font problem but I would >> still fix it if I was you. >> >> Can you go back to my previous post and post the three things I >> mentioned; a startup debug log (key thing here is capturing the entire >> WeeWX startup, it has important config info), the Seasons skin.conf and the >> SteelSeries skin.conf. >> >> Gary >> >> On Wednesday, 9 December 2020 at 04:57:25 UTC+10 [email protected] >> wrote: >> >>> i have allready done this but dont works >>> here my debug log >>> >>> metfm@metfm:~$ tail -f /var/log/syslog | tee /var/tmp/mylog >>> Dec 8 20:53:04 metfm weewx[21524] INFO weewx.manager: Added record >>> 2020-12-08 20:53:00 EET (1607453580) to database 'weewx.sdb' >>> Dec 8 20:53:04 metfm weewx[21524] INFO weewx.manager: Added record >>> 2020-12-08 20:53:00 EET (1607453580) to daily summary in 'weewx.sdb' >>> Dec 8 20:53:04 metfm weewx[21524] DEBUG weewx.restx: WeatherCloud: wait >>> interval (240 < 600) has not passed for record 2020-12-08 20:53:00 EET >>> (1607453580) >>> Dec 8 20:53:04 metfm weewx[21524] DEBUG weewx.reportengine: Running >>> reports for latest time in the database. >>> Dec 8 20:53:04 metfm weewx[21524] DEBUG weewx.reportengine: Running >>> report 'SeasonsReport' >>> Dec 8 20:53:05 metfm weewx[21524] DEBUG weewx.reportengine: Found >>> configuration file /etc/weewx/skins/Seasons/skin.conf for report >>> 'SeasonsReport' >>> Dec 8 20:53:05 metfm weewx[21524] DEBUG weewx.cheetahgenerator: Using >>> search list ['weewx.cheetahgenerator.Almanac', >>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', >>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', >>> 'weewx.cheetahgenerator.Extras'] >>> Dec 8 20:53:05 metfm weewx[21524] DEBUG weewx.manager: Daily summary >>> version is 2 >>> Dec 8 20:53:09 metfm weewx[21524] INFO weewx.cheetahgenerator: >>> Generated 8 files for report SeasonsReport in 4.06 seconds >>> Dec 8 20:53:09 metfm weewx[21524] DEBUG weewx.manager: Daily summary >>> version is 2 >>> Dec 8 20:53:12 metfm weewx[21524] INFO weewx.imagegenerator: Generated >>> 15 images for report SeasonsReport in 3.53 seconds >>> Dec 8 20:53:12 metfm weewx[21524] INFO weewx.reportengine: Copied 0 >>> files to /var/www/html/weewx >>> Dec 8 20:53:12 metfm weewx[21524] DEBUG weewx.reportengine: Report >>> 'SmartphoneReport' not enabled. Skipping. >>> Dec 8 20:53:12 metfm weewx[21524] DEBUG weewx.reportengine: Report >>> 'MobileReport' not enabled. Skipping. >>> Dec 8 20:53:12 metfm weewx[21524] DEBUG weewx.reportengine: Report >>> 'StandardReport' not enabled. Skipping. >>> Dec 8 20:53:12 metfm weewx[21524] DEBUG weewx.reportengine: Running >>> report 'SteelSeries' >>> Dec 8 20:53:12 metfm weewx[21524] DEBUG weewx.reportengine: Found >>> configuration file /etc/weewx/skins/ss/skin.conf for report 'SteelSeries' >>> Dec 8 20:53:12 metfm weewx[21524] INFO weewx.reportengine: Copied 0 >>> files to /var/www/html/weewx/live >>> Dec 8 20:53:12 metfm weewx[21524] DEBUG weewx.cheetahgenerator: Using >>> search list ['weewx.cheetahgenerator.Almanac', >>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', >>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', >>> 'weewx.cheetahgenerator.Extras'] >>> Dec 8 20:53:13 metfm weewx[21524] DEBUG weewx.manager: Daily summary >>> version is 2 >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: >>> Generate failed with exception '<class 'FileNotFoundError'>' >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> Ignoring template /etc/weewx/skins/ss/index.html.tmpl >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> Reason: [Errno 2] Δεν υπάρχει τέτοιο αρχείο ή κατάλογος: >>> '/etc/weewx/skins/ss/index.html.tmpl' >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> Traceback (most recent call last): >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 319, in generate >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> filtersLib=weewx.cheetahgenerator) >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1336, in >>> __init__ >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> self._compile(source, file, compilerSettings=compilerSettings) >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1630, in >>> _compile >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> self._fileMtime = os.path.getmtime(file) >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> File "/usr/lib/python3.7/genericpath.py", line 55, in getmtime >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> return os.stat(filename).st_mtime >>> Dec 8 20:53:13 metfm weewx[21524] ERROR weewx.cheetahgenerator: **** >>> FileNotFoundError: [Errno 2] Δεν υπάρχει τέτοιο αρχείο ή κατάλογος: >>> '/etc/weewx/skins/ss/index.html.tmpl' >>> Dec 8 20:53:13 metfm weewx[21524] INFO weewx.cheetahgenerator: >>> Generated 1 files for report SteelSeries in 0.58 seconds >>> Dec 8 20:53:13 metfm weewx[21524] DEBUG weewx.manager: Daily summary >>> version is 2 >>> Dec 8 20:53:15 metfm weewx[21524] INFO weewx.imagegenerator: Generated >>> 11 images for report SteelSeries in 2.17 seconds >>> Dec 8 20:53:15 metfm weewx[21524] DEBUG weewx.reportengine: Running >>> report 'FTP' >>> Dec 8 20:53:15 metfm weewx[21524] DEBUG weewx.reportengine: Found >>> configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' >>> Dec 8 20:53:15 metfm weewx[21524] DEBUG weeutil.ftpupload: Attempting >>> connection to ftpupload.net >>> Dec 8 20:53:16 metfm weewx[21524] DEBUG weeutil.ftpupload: Connected to >>> ftpupload.net >>> Dec 8 20:53:16 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daybarometer.png to /htdocs/daybarometer.png >>> Dec 8 20:53:17 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daytempdew.png to /htdocs/daytempdew.png >>> Dec 8 20:53:18 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daytempfeel.png to /htdocs/daytempfeel.png >>> Dec 8 20:53:18 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daytempin.png to /htdocs/daytempin.png >>> Dec 8 20:53:19 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daytemp.png to /htdocs/daytemp.png >>> Dec 8 20:53:20 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayhum.png to /htdocs/dayhum.png >>> Dec 8 20:53:20 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayhumin.png to /htdocs/dayhumin.png >>> Dec 8 20:53:21 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayrain.png to /htdocs/dayrain.png >>> Dec 8 20:53:22 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daywind.png to /htdocs/daywind.png >>> Dec 8 20:53:22 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daywinddir.png to /htdocs/daywinddir.png >>> Dec 8 20:53:23 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/daywindvec.png to /htdocs/daywindvec.png >>> Dec 8 20:53:23 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayradiation.png to /htdocs/dayradiation.png >>> Dec 8 20:53:24 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayuv.png to /htdocs/dayuv.png >>> Dec 8 20:53:25 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayrx.png to /htdocs/dayrx.png >>> Dec 8 20:53:26 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/dayvolt.png to /htdocs/dayvolt.png >>> Dec 8 20:53:27 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/index.html to /htdocs/index.html >>> Dec 8 20:53:27 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/statistics.html to /htdocs/statistics.html >>> Dec 8 20:53:28 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/telemetry.html to /htdocs/telemetry.html >>> Dec 8 20:53:28 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/tabular.html to /htdocs/tabular.html >>> Dec 8 20:53:29 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/celestial.html to /htdocs/celestial.html >>> Dec 8 20:53:30 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/rss.xml to /htdocs/rss.xml >>> Dec 8 20:53:30 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/NOAA/NOAA-2020-12.txt to >>> /htdocs/NOAA/NOAA-2020-12.txt >>> Dec 8 20:53:31 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/NOAA/NOAA-2020.txt to /htdocs/NOAA/NOAA-2020.txt >>> Dec 8 20:53:32 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/daybarometer.png to >>> /htdocs/live/daybarometer.png >>> Dec 8 20:53:33 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayrain.png to /htdocs/live/dayrain.png >>> Dec 8 20:53:33 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayrainrate.png to >>> /htdocs/live/dayrainrate.png >>> Dec 8 20:53:34 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/daywind.png to /htdocs/live/daywind.png >>> Dec 8 20:53:35 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/daywinddir.png to /htdocs/live/daywinddir.png >>> Dec 8 20:53:35 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/daywindvec.png to /htdocs/live/daywindvec.png >>> Dec 8 20:53:36 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayouttemphum.png to >>> /htdocs/live/dayouttemphum.png >>> Dec 8 20:53:37 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayinouttemp.png to >>> /htdocs/live/dayinouttemp.png >>> Dec 8 20:53:37 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayinouthum.png to >>> /htdocs/live/dayinouthum.png >>> Dec 8 20:53:38 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayradiation.png to >>> /htdocs/live/dayradiation.png >>> Dec 8 20:53:39 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/dayuv.png to /htdocs/live/dayuv.png >>> Dec 8 20:53:39 metfm weewx[21524] DEBUG weeutil.ftpupload: Uploaded >>> file /var/www/html/weewx/live/gauge-data.txt to /htdocs/live/gauge-data.txt >>> Dec 8 20:53:40 metfm weewx[21524] INFO weewx.reportengine: >>> ftpgenerator: Ftp'd 35 files in 24.51 seconds >>> Dec 8 20:53:40 metfm weewx[21524] DEBUG weewx.reportengine: Report >>> 'RSYNC' not enabled. Skipping. >>> >>> >>> Στις Δευτέρα, 7 Δεκεμβρίου 2020 στις 4:41:37 π.μ. UTC+2, ο χρήστης gjr80 >>> έγραψε: >>> >>>> OK, try this. Edit your Seasons skin config file ( >>>> skins/Seasons/skins.conf) and locate the [ImageGenerator] stanza, it >>>> should look something like this: >>>> >>>> # The ImageGenerator creates image plots of data. >>>> >>>> [ImageGenerator] >>>> >>>> # This section lists all the images to be generated, what SQL types are >>>> to >>>> # be included in them, along with many plotting options. There is a >>>> default >>>> # for almost everything. Nevertheless, values for most options are >>>> included >>>> # to make it easy to see and understand the options. >>>> # >>>> # Fonts can be anything accepted by the Python Imaging Library (PIL), >>>> which >>>> # includes truetype (.ttf), or PIL's own font format (.pil). See >>>> # http://www.pythonware.com/library/pil/handbook/imagefont.htm for more >>>> # details. Note that "font size" is only used with truetype (.ttf) >>>> # fonts. For others, font size is determined by the bit-mapped size, >>>> # usually encoded in the file name (e.g., courB010.pil). A relative path >>>> # for a font is relative to the SKIN_ROOT. If a font cannot be found, >>>> # then a default font will be used. >>>> # >>>> # Colors can be specified any of three ways: >>>> # 1. Notation 0xBBGGRR; >>>> # 2. Notation #RRGGBB; or >>>> # 3. Using an English name, such as 'yellow', or 'blue'. >>>> # So, 0xff0000, #0000ff, or 'blue' would all specify a pure blue color. >>>> >>>> image_width = 500 >>>> image_height = 180 >>>> image_background_color = "#ffffff" >>>> >>>> chart_background_color = "#ffffff" >>>> chart_gridline_color = "#d0d0d0" >>>> >>>> # Setting to 2 or more might give a sharper image with fewer jagged >>>> edges >>>> anti_alias = 1 >>>> >>>> top_label_font_path = font/OpenSans-Bold.ttf >>>> top_label_font_size = 14 >>>> >>>> unit_label_font_path = font/OpenSans-Bold.ttf >>>> unit_label_font_size = 12 >>>> unit_label_font_color = "#787878" >>>> >>>> bottom_label_font_path = font/OpenSans-Regular.ttf >>>> bottom_label_font_size = 12 >>>> bottom_label_font_color = "#787878" >>>> bottom_label_offset = 3 >>>> >>>> axis_label_font_path = font/OpenSans-Regular.ttf >>>> axis_label_font_size = 10 >>>> axis_label_font_color = "#787878" >>>> >>>> # Options for the compass rose, used for progressive vector plots >>>> rose_label = N >>>> rose_label_font_path = font/OpenSans-Regular.ttf >>>> rose_label_font_size = 9 rose_label_font_color = "#222222" >>>> >>>> Take note of the various xxxx_font_path settings, in this case there >>>> are five different settings and I have highlighted them in the above >>>> extract. Now open your SteelSeries skin config file (skins/ss/skin.conf) >>>> and locate the [ImageGenerator] stanza, it would have originally >>>> looked something like this: >>>> >>>> [ImageGenerator] >>>> image_width = 720 >>>> image_height = 196 >>>> image_background_color = 0xffffff >>>> chart_background_color = 0xffffff >>>> chart_gridline_color = 0xeaeaea >>>> >>>> top_label_font_path = >>>> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf >>>> top_label_font_size = 10 >>>> >>>> unit_label_font_path = >>>> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf >>>> unit_label_font_size = 10 >>>> unit_label_font_color = 0xaaaaaa >>>> >>>> bottom_label_font_path = >>>> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf >>>> bottom_label_font_size = 10 >>>> bottom_label_font_color = 0xaaaaaa >>>> >>>> axis_label_font_path = >>>> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf >>>> axis_label_font_size = 10 >>>> axis_label_font_color = 0xaaaaaa >>>> >>>> rose_label = N >>>> rose_label_font_path = >>>> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf >>>> rose_label_font_size = 8 >>>> rose_label_font_color = 0x888888 >>>> rose_color = 0xaaaaaa >>>> >>>> but may be different now if you have already changed some/all of the >>>> xxxx_font_path settings. Irrespective, go though and change each of >>>> the xxxx_font_path settings (I have again highlighted them) to be the same >>>> as the corresponding setting in your Seasons skin config file. Save the >>>> modified skin.conf. The SteelSeries plots should be re-generated on >>>> the next report cycle, check them after the report cycle is complete. That >>>> should fix the problem. If it does not please: >>>> >>>> 1. post copies of your Seasons skin and SteelSeries skin config files ( >>>> skins/Seasons/skin.conf and skins/ss/skin.conf respectively), and >>>> >>>> 2. post a startup debug log. To do this edit weewx.conf, set debug = 1, >>>> save weewx.conf and restart WeeWX. Let WeeWX run for at least two >>>> archive periods and then take a log extract covering from when WeeWX was >>>> just restarted through until the two archive periods have elapsed. Post >>>> the >>>> log without modification making sure you capture the entire WeeWX startup. >>>> If you run into problems refer to the Help! Posting to weewx user >>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user> wiki >>>> entry in the first instance. >>>> >>>> Gary >>>> On Monday, 7 December 2020 at 08:55:05 UTC+10 [email protected] >>>> wrote: >>>> >>>>> >>>>> editing the /ss/skin.config. here my settings but the weird fonts >>>>> remaing after the page circle >>>>> Στις Δευτέρα, 7 Δεκεμβρίου 2020 στις 12:45:04 π.μ. UTC+2, ο χρήστης >>>>> Greg from Oz έγραψε: >>>>> >>>>>> The font OpenSans-Regular.ttf is here in my install: >>>>>> /etc/weewx/skins/Seasons/font/OpenSans-Regular.ttf >>>>>> >>>>>> Gary is saying edit this file: skins/ss/skin.conf >>>>>> And make the changes. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Monday, 7 December 2020 at 09:26:00 UTC+11 [email protected] >>>>>> wrote: >>>>>> >>>>>>> im sorry for that, but i cant clear understund the line replace >>>>>>> >>>>>>> replace >>>>>>> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf with >>>>>>> /usr/share/fonts/truetype/font/OpenSans-Regular.ttf ? with only >>>>>>> font/OpenSans-Regular.ttf ? >>>>>>> >>>>>>> Στις Κυριακή, 6 Δεκεμβρίου 2020 στις 10:57:16 μ.μ. UTC+2, ο χρήστης >>>>>>> gjr80 έγραψε: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> The issue will be the font being used by the SteelSeries skin image >>>>>>>> generator. The font used in the SteelSeries plots is based on the font >>>>>>>> used >>>>>>>> by the Standard skin (the default skin at the time) when the >>>>>>>> SteelSeries >>>>>>>> skin was first developed. WeeWX now uses Seasons as the default skin >>>>>>>> which >>>>>>>> uses a different font. Most likely what is happening is the >>>>>>>> SteelSeries >>>>>>>> font does not exist and a substitute font is being used and that font >>>>>>>> does >>>>>>>> not support the characters you are using. >>>>>>>> >>>>>>>> Try editing skins/ss/skin.conf and replace: >>>>>>>> >>>>>>>> - all occurrences of >>>>>>>> ‘/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf’ with >>>>>>>> ‘font/OpenSans-Regular.ttf >>>>>>>> - all occurrences of >>>>>>>> ‘/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf’ >>>>>>>> with >>>>>>>> ‘font/OpenSans-Bold.ttf’ >>>>>>>> >>>>>>>> To be consistent with the Seasons skin plot format you might want >>>>>>>> to change the unit_label_font_path setting to ‘ >>>>>>>> font/OpenSans-Bold.ttf’ >>>>>>>> >>>>>>>> Once you save skin.conf the plots should come good on the next >>>>>>>> report cycle. >>>>>>>> >>>>>>>> I will arrange for appropriate changes to the SteelSeries Weather >>>>>>>> Gauges repo. >>>>>>>> >>>>>>>> Gary >>>>>>>> On Monday, 7 December 2020 at 01:03:33 UTC+10 [email protected] >>>>>>>> wrote: >>>>>>>> >>>>>>>>> in my weather page of weewx with steelseries gauges, weird font >>>>>>>>> appears in tooltip graphs. the page is >>>>>>>>> >>>>>>>>> http://kolxiko.epizy.com/live/ >>>>>>>>> >>>>>>>>> in weewx page all the greek characters appears mormal >>>>>>>>> >>>>>>>>> http://kolxiko.epizy.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/75fa299a-a681-499a-995a-4004afd89417n%40googlegroups.com.
