Hi, Gary.

Thank you very much for these instructions.

Already replaced imagegenerator.py with new version and got updated 
graphics.

Best regards,

Paulo Reis
A quarta-feira, 1 de fevereiro de 2023 à(s) 11:26:20 UTC, gjr80 escreveu:

> No doubt you are running WeeWX under python 2 and have encountered the bug 
> at issue #840 <https://github.com/weewx/weewx/issues/840>. I am sure in 
> time there will be a release that will fix this issue, but in the meantime 
> you can replace the defective imagegenerator.py as follows:
>
> 1. delete the defective imagegenerator.py:
>
> $ sudo rm /usr/share/weewx/weewx/imagegenerator.py
>
> 2. download the updated imagegenerator.py:
>
> $ wget -P /usr/share/weewx/weewx 
> https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/imagegenerator.py
>
> note this command may require privileged access ie prefix the command with 
> sudo
>
> 3. restart WeeWX
>
> Gary
> On Wednesday, 1 February 2023 at 19:36:34 UTC+10 [email protected] wrote:
>
>> Hi,
>>
>> I am a WeeWX user for some time now (RPi with DietPi connect to a WH1080 
>> weather station).
>>
>> Yesterday, after updating to WeeWX version 4.10.1 (with Seasons 4.10.1 
>> Skin) graphics from web page stopped updating. Other information present in 
>> web page is update apart from graphics (I check dates of graphic files and 
>> they are from time before update).
>>
>> I have restarted my RPi several times, restarted weewx service and also 
>> my weather station, to no success.
>>
>> Then I decided to check weewx service status (/etc/init.d/weewx status) 
>> and got following errors:
>>
>> - - - - - - - - - - - - - - - - - - - -
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         ****   
>>  File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in get_object
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         ****     
>>  mod = __import__(module)
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         ****   
>>  File "/usr/share/weewx/weewx/imagegenerator.py", line 259
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         ****     
>>  log.error(f"Unknown plot type {plot_type}. Ignored")
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         ****       
>>                                                  ^
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         **** 
>>  SyntaxError: invalid syntax
>> python2[10940]: weewx[10940] ERROR weewx.reportengine:         **** 
>>  Generator ignored
>> python2[10940]: weewx[10940] INFO weewx.reportengine: Copied 0 files to 
>> /var/www/html/weewx
>> python2[10940]: weewx[10940] INFO weewx.manager: Added record 2023-02-01 
>> 09:10:00 GMT (1675242600) to database 'weewx.sdb'
>> python2[10940]: weewx[10940] INFO weewx.manager: Added record 2023-02-01 
>> 09:10:00 GMT (1675242600) to daily summary in 'weewx.sdb'
>> - - - - - - - - - - - - - - - - - - - -
>>
>> Can you please help?
>>
>> If any additional information is required, please ask.
>>
>> Than you in advance.
>>
>> Best regards,
>>
>> Paulo Reis
>
>

-- 
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/225d46cb-80aa-4e30-930d-fe5815cb4e2dn%40googlegroups.com.

Reply via email to