On Wednesday, October 11, 2017 at 2:05:33 PM UTC-7, Oscar wrote:
>
> Lost power the other day.  When power came back on, the error "launch of 
> report thread aborted:  existing report thread still running." was being 
> written to the log file every couple of seconds.  I restarted weewx and the 
> issue was resolved.  As a test, I disconnected power and the same issue 
> occurred.  I did a 'ps -ef | grep weewx' and one entry of weewxd was 
> displayed.  Is there an issue with an old PID file being read?  
>
>
>
I'm guessing your clock is wrong initially and you probably have that lame 
fake-hwclock thing set up on the pi (?)

bin/weewx/engine.py has the following code in it:
-------------------------------------------------

        if self.thread and self.thread.isAlive():
            thread_age = time.time() - self.launch_time
            if thread_age < self.max_wait:
                syslog.syslog(syslog.LOG_INFO,
                              "engine: Launch of report thread aborted: "
                              "existing report thread still running")
                return


Make sure 'fake-hwclock' is not enabled on your system, and that ntpd 'is' 
enabled to start on boot.

-- 
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