Re: [weewx-user] Putting back weewx in service after moving to new location

2020-08-14 Thread Manuel G
Thanks Tom, much appreciated.

All working with extension removed, will look to upgrade that extension.


Le vendredi 14 août 2020 14:53:36 UTC+2, Tom Keffer a écrit :
>
> Your copy of the forecast extension has not been ported to Python 3. 
> Either use Python 2, or upgrade the extension.
>
> NB: there are other issues with the forecast extension as well. While 
> we're waiting for the author to get to them, in the meanwhile, there are a 
> few forked versions floating around that may work better. 
>
> On Fri, Aug 14, 2020 at 5:37 AM Manuel G > 
> wrote:
>
>> Hello,
>>
>> I'm trying to put my weather station back in service after moving to a 
>> new location.
>>
>> My setup is the following:
>>
>> weather station: Vantage Pro 2 with network module (WeatherLinkIP)
>> Server: Debian 10.5
>> Weewx installation based on documentation for Debian 9 initially and 
>> revised for debian 10. Version is 4.1.1
>>
>> My understanding is that this is related to the forecast but I'm not 
>> fluent in Python yet.
>>
>> The log shows the following:
>>
>> weewx[18046] INFO __main__: Initializing weewx version 4.1.1
>> weewx[18046] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 
>> 13:03:44) #012[GCC 8.3.0]
>> weewx[18046] INFO __main__: Platform 
>> Linux-4.19.0-9-amd64-x86_64-with-debian-10.5
>> weewx[18046] INFO __main__: Locale is 'en_US.UTF-8'
>> weewx[18046] INFO __main__: PID file is /var/run/weewx.pid
>> weewx[18050] INFO __main__: Using configuration file /etc/weewx/weewx.conf
>> weewx[18050] INFO __main__: Debug is 0
>> weewx[18050] INFO weewx.engine: Loading station type Vantage 
>> (weewx.drivers.vantage)
>> weewx[18035]: Starting weewx weather system: weewx.
>> weewx[18050] INFO weewx.engine: StdConvert target unit is 0x1
>> weewx[18050] INFO weewx.wxservices: The following values will be 
>> calculated: pressure=prefer_hardware, barometer=prefer_hardware, 
>> altimeter=prefer_hardware, windchill=prefer_hardware, 
>> heatindex=prefer_hardware, dewpoint=prefer_hardware, 
>> inDewpoint=prefer_hardware, rainRate=prefer_hardware, 
>> maxSolarRad=prefer_hardware, cloudbase=prefer_hardware, 
>> humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware, 
>> windrun=prefer_hardware
>> weewx[18050] INFO weewx.wxservices: The following algorithms will be used 
>> for calculations: altimeter=aaASOS, maxSolarRad=RS
>> weewx[18050] INFO weewx.engine: Archive will use data binding wx_binding
>> weewx[18050] INFO weewx.engine: Record generation will be attempted in 
>> 'hardware'
>> weewx[18050] INFO weewx.engine: Using archive interval of 300 seconds 
>> (specified by hardware)
>> weewx[18050] CRITICAL __main__: Caught unrecoverable exception:
>> weewx[18050] CRITICAL __main__:   invalid syntax (forecast.py, 
>> line 541)
>> weewx[18050] CRITICAL __main__:   Traceback (most recent call 
>> last):
>> weewx[18050] CRITICAL __main__: File 
>> "/usr/share/weewx/weewxd", line 148, in main
>> weewx[18050] CRITICAL __main__:   engine = 
>> weewx.engine.StdEngine(config_dict)
>> weewx[18050] CRITICAL __main__: File 
>> "/usr/share/weewx/weewx/engine.py", line 75, in __init__
>> weewx[18050] CRITICAL __main__:   
>> self.loadServices(config_dict)
>> weewx[18050] CRITICAL __main__: File 
>> "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
>> weewx[18050] CRITICAL __main__:   obj = 
>> weeutil.weeutil.get_object(svc)(self,config_dict)
>> weewx[18050] CRITICAL __main__: File 
>> "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
>> weewx[18050] CRITICAL __main__:   mod = __import__(module)
>> weewx[18050] CRITICAL __main__: File 
>> "/usr/share/weewx/user/forecast.py", line 541
>> weewx[18050] CRITICAL __main__:   except OSError, e:
>> weewx[18050] CRITICAL __main__: ^
>> weewx[18050] CRITICAL __main__:   SyntaxError: invalid syntax
>> weewx[18050] CRITICAL __main__:   Exiting.
>>
>> Many thanks in advance for your help.
>>
>> Regards,
>>
>> Manuel
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/36f5c5d4-8daf-4299-b70b-728c5bb2142do%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 

Re: [weewx-user] Putting back weewx in service after moving to new location

2020-08-14 Thread Tom Keffer
Your copy of the forecast extension has not been ported to Python 3. Either
use Python 2, or upgrade the extension.

NB: there are other issues with the forecast extension as well. While we're
waiting for the author to get to them, in the meanwhile, there are a few
forked versions floating around that may work better.

On Fri, Aug 14, 2020 at 5:37 AM Manuel G  wrote:

> Hello,
>
> I'm trying to put my weather station back in service after moving to a new
> location.
>
> My setup is the following:
>
> weather station: Vantage Pro 2 with network module (WeatherLinkIP)
> Server: Debian 10.5
> Weewx installation based on documentation for Debian 9 initially and
> revised for debian 10. Version is 4.1.1
>
> My understanding is that this is related to the forecast but I'm not
> fluent in Python yet.
>
> The log shows the following:
>
> weewx[18046] INFO __main__: Initializing weewx version 4.1.1
> weewx[18046] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020,
> 13:03:44) #012[GCC 8.3.0]
> weewx[18046] INFO __main__: Platform
> Linux-4.19.0-9-amd64-x86_64-with-debian-10.5
> weewx[18046] INFO __main__: Locale is 'en_US.UTF-8'
> weewx[18046] INFO __main__: PID file is /var/run/weewx.pid
> weewx[18050] INFO __main__: Using configuration file /etc/weewx/weewx.conf
> weewx[18050] INFO __main__: Debug is 0
> weewx[18050] INFO weewx.engine: Loading station type Vantage
> (weewx.drivers.vantage)
> weewx[18035]: Starting weewx weather system: weewx.
> weewx[18050] INFO weewx.engine: StdConvert target unit is 0x1
> weewx[18050] INFO weewx.wxservices: The following values will be
> calculated: pressure=prefer_hardware, barometer=prefer_hardware,
> altimeter=prefer_hardware, windchill=prefer_hardware,
> heatindex=prefer_hardware, dewpoint=prefer_hardware,
> inDewpoint=prefer_hardware, rainRate=prefer_hardware,
> maxSolarRad=prefer_hardware, cloudbase=prefer_hardware,
> humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware,
> windrun=prefer_hardware
> weewx[18050] INFO weewx.wxservices: The following algorithms will be used
> for calculations: altimeter=aaASOS, maxSolarRad=RS
> weewx[18050] INFO weewx.engine: Archive will use data binding wx_binding
> weewx[18050] INFO weewx.engine: Record generation will be attempted in
> 'hardware'
> weewx[18050] INFO weewx.engine: Using archive interval of 300 seconds
> (specified by hardware)
> weewx[18050] CRITICAL __main__: Caught unrecoverable exception:
> weewx[18050] CRITICAL __main__:   invalid syntax (forecast.py,
> line 541)
> weewx[18050] CRITICAL __main__:   Traceback (most recent call
> last):
> weewx[18050] CRITICAL __main__: File
> "/usr/share/weewx/weewxd", line 148, in main
> weewx[18050] CRITICAL __main__:   engine =
> weewx.engine.StdEngine(config_dict)
> weewx[18050] CRITICAL __main__: File
> "/usr/share/weewx/weewx/engine.py", line 75, in __init__
> weewx[18050] CRITICAL __main__: 
> self.loadServices(config_dict)
> weewx[18050] CRITICAL __main__: File
> "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
> weewx[18050] CRITICAL __main__:   obj =
> weeutil.weeutil.get_object(svc)(self,config_dict)
> weewx[18050] CRITICAL __main__: File
> "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
> weewx[18050] CRITICAL __main__:   mod = __import__(module)
> weewx[18050] CRITICAL __main__: File
> "/usr/share/weewx/user/forecast.py", line 541
> weewx[18050] CRITICAL __main__:   except OSError, e:
> weewx[18050] CRITICAL __main__: ^
> weewx[18050] CRITICAL __main__:   SyntaxError: invalid syntax
> weewx[18050] CRITICAL __main__:   Exiting.
>
> Many thanks in advance for your help.
>
> Regards,
>
> Manuel
>
> --
> 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/36f5c5d4-8daf-4299-b70b-728c5bb2142do%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/CAPq0zEAWnb%3DGrbn2RFMRHEzbm8kjRReR3-s8O8Xknu1T6xQ%2Big%40mail.gmail.com.


[weewx-user] Putting back weewx in service after moving to new location

2020-08-14 Thread Manuel G
Hello,

I'm trying to put my weather station back in service after moving to a new 
location.

My setup is the following:

weather station: Vantage Pro 2 with network module (WeatherLinkIP)
Server: Debian 10.5
Weewx installation based on documentation for Debian 9 initially and 
revised for debian 10. Version is 4.1.1

My understanding is that this is related to the forecast but I'm not fluent 
in Python yet.

The log shows the following:

weewx[18046] INFO __main__: Initializing weewx version 4.1.1
weewx[18046] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 
13:03:44) #012[GCC 8.3.0]
weewx[18046] INFO __main__: Platform 
Linux-4.19.0-9-amd64-x86_64-with-debian-10.5
weewx[18046] INFO __main__: Locale is 'en_US.UTF-8'
weewx[18046] INFO __main__: PID file is /var/run/weewx.pid
weewx[18050] INFO __main__: Using configuration file /etc/weewx/weewx.conf
weewx[18050] INFO __main__: Debug is 0
weewx[18050] INFO weewx.engine: Loading station type Vantage 
(weewx.drivers.vantage)
weewx[18035]: Starting weewx weather system: weewx.
weewx[18050] INFO weewx.engine: StdConvert target unit is 0x1
weewx[18050] INFO weewx.wxservices: The following values will be 
calculated: pressure=prefer_hardware, barometer=prefer_hardware, 
altimeter=prefer_hardware, windchill=prefer_hardware, 
heatindex=prefer_hardware, dewpoint=prefer_hardware, 
inDewpoint=prefer_hardware, rainRate=prefer_hardware, 
maxSolarRad=prefer_hardware, cloudbase=prefer_hardware, 
humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware, 
windrun=prefer_hardware
weewx[18050] INFO weewx.wxservices: The following algorithms will be used 
for calculations: altimeter=aaASOS, maxSolarRad=RS
weewx[18050] INFO weewx.engine: Archive will use data binding wx_binding
weewx[18050] INFO weewx.engine: Record generation will be attempted in 
'hardware'
weewx[18050] INFO weewx.engine: Using archive interval of 300 seconds 
(specified by hardware)
weewx[18050] CRITICAL __main__: Caught unrecoverable exception:
weewx[18050] CRITICAL __main__:   invalid syntax (forecast.py, line 
541)
weewx[18050] CRITICAL __main__:   Traceback (most recent call last):
weewx[18050] CRITICAL __main__: File "/usr/share/weewx/weewxd", 
line 148, in main
weewx[18050] CRITICAL __main__:   engine = 
weewx.engine.StdEngine(config_dict)
weewx[18050] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 75, in __init__
weewx[18050] CRITICAL __main__:   self.loadServices(config_dict)
weewx[18050] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 138, in loadServices
weewx[18050] CRITICAL __main__:   obj = 
weeutil.weeutil.get_object(svc)(self,config_dict)
weewx[18050] CRITICAL __main__: File 
"/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
weewx[18050] CRITICAL __main__:   mod = __import__(module)
weewx[18050] CRITICAL __main__: File 
"/usr/share/weewx/user/forecast.py", line 541
weewx[18050] CRITICAL __main__:   except OSError, e:
weewx[18050] CRITICAL __main__: ^
weewx[18050] CRITICAL __main__:   SyntaxError: invalid syntax
weewx[18050] CRITICAL __main__:   Exiting.

Many thanks in advance for your help.

Regards,

Manuel

-- 
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/36f5c5d4-8daf-4299-b70b-728c5bb2142do%40googlegroups.com.