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 hobbyl...@gmail.com 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 hobbyl...@gmail.com 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 hobbyl...@gmail.com 
>>>>> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6e30553b-196f-491b-b31d-9cb60220b04fn%40googlegroups.com.

Reply via email to