See the message "Is there a competing process running??"

Did you stop WeeWX first?

On Fri, Apr 26, 2019 at 6:00 AM bushtech <[email protected]> wrote:

> hmmmm.
>
> Reboot made no difference.
>
> Then tried
> root@ubuntuserver:~# wee_device --clear-memory
> Using configuration file /etc/weewx/weewx.conf
> Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
> Unable to wake up console... sleeping
> Unable to wake up console... retrying
> Traceback (most recent call last):
>   File "/usr/bin/wee_device", line 66, in <module>
>     main()
>   File "/usr/bin/wee_device", line 62, in main
>     device.configure(config_dict)
>   File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
>     self.do_options(options, parser, config_dict, prompt)
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 1972, in
> do_options
>     station = Vantage(**config_dict[DRIVER_NAME])
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 488, in __init__
>     self._setup()
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 1280, in _setup
>     self.port.wakeup_console(max_tries=self.max_tries)
>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 95, in
> wakeup_console
>     raise weewx.WakeupError("Unable to wake up Vantage console")
> weewx.WakeupError: Unable to wake up Vantage console
>
> If I then check status
> Apr 26 14:55:01 ubuntuserver weewx[13426]: vantage: SerialException on
> read.
> Apr 26 14:55:01 ubuntuserver weewx[13426]:    ****  device reports
> readiness to read but returned no data (device disconnect...port?)
> Apr 26 14:55:01 ubuntuserver weewx[13426]:    ****  Is there a competing
> process running??
> Apr 26 14:55:01 ubuntuserver weewx[13426]: vantage: Retry  #2 failed
> Apr 26 14:55:06 ubuntuserver weewx[13426]: vantage: Retry  #3 failed
> Apr 26 14:55:06 ubuntuserver weewx[13426]: vantage: Unable to wake up
> console
> Apr 26 14:55:06 ubuntuserver weewx[13426]: vantage: LOOP try #2; error:
> Unable to wake up Vantage console
> Apr 26 14:55:06 ubuntuserver weewx[13426]: vantage: Requesting 200 LOOP
> packets.
> Apr 26 14:55:10 ubuntuserver weewx[13426]: vantage: Retry  #0 failed
> Apr 26 14:55:10 ubuntuserver weewx[13426]: vantage: Gentle wake up of
> console successful
>
>
>
> On Friday, April 26, 2019 at 11:53:06 AM UTC+2, bushtech wrote:
>>
>> My Vantage Vue station has been off for abour 2 weeks. Got it running
>> again but now weewx 3.9.1 is not posting to wunderground and I don see any
>> references to it in logs or on restart.
>>
>> Here is an extract from status on startup:
>>
>> weewx.service - LSB: weewx weather system
>>    Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled)
>>    Active: active (running) since Fri 2019-04-26 11:39:38 SAST; 8s ago
>>      Docs: man:systemd-sysv-generator(8)
>>   Process: 11751 ExecStop=/etc/init.d/weewx stop (code=exited,
>> status=0/SUCCESS)
>>   Process: 11814 ExecStart=/etc/init.d/weewx start (code=exited,
>> status=0/SUCCESS)
>>     Tasks: 2
>>    Memory: 9.8M
>>       CPU: 175ms
>>    CGroup: /system.slice/weewx.service
>>            └─11830 python /usr/bin/weewxd --daemon
>> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>>
>> Apr 26 11:39:38 ubuntuserver weewx[11830]: engine: Clock error is -0.76
>> seconds (positive is fast)
>> Apr 26 11:39:38 ubuntuserver weewx[11830]: vantage: Getting archive
>> packets since 2019-04-14 15:30:00 SAST (1555248600)
>> Apr 26 11:39:38 ubuntuserver weewx[11830]: vantage: Gentle wake up of
>> console successful
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: vantage: Retrieving 486
>> page(s); starting index= 2
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: vantage: DMPAFT complete: page
>> timestamp 2019-02-20 08:00:00 SAST (1550642400) le...48600)
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: vantage: Catch up complete.
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: engine: Starting main packet
>> loop.
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: vantage: Gentle wake up of
>> console successful
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: vantage: Requesting 200 LOOP
>> packets.
>> Apr 26 11:39:40 ubuntuserver weewx[11830]: vantage: Gentle wake up of
>> console successful
>> Extract from weewx.conf:
>>
>> [[Wunderground]]
>>         # This section is for configuring posts to the Weather
>> Underground.
>>
>>         # If you wish to do this, set the option 'enable' to true,
>>         # and specify a station (e.g., 'KORHOODR3') and password.
>>         # To guard against parsing errors, put the password in quotes.
>>         enable = true
>>         station = INORTHWE6
>>         password = my password
>>
>> Where can I check or what is wrong?
>> Thanks for the help
>>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to