Ok, thanks!

On Thursday, August 27, 2020 at 9:15:27 AM UTC-4, gjr80 wrote:
>
> Thanks Luke, I have a logic error in the code that sends commands direct 
> to the GW1000 API. Under certain circumstances the code incorrectly signals 
> that it needs to shutdown which for a driver causes WeeWX to shutdown. I am 
> working through problem now and should have  fix in a day or so.
>
> Gary
>
> On Thursday, 27 August 2020 at 05:58:11 UTC+10 [email protected] 
> wrote:
>
>> Here's the log:
>>
>> Aug 26 13:47:52 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next 
>> update in 60 seconds
>> Aug 26 13:48:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next 
>> update in 60 seconds
>> Aug 26 13:49:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next 
>> update in 60 seconds
>> Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next 
>> update in 60 seconds
>> Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record 
>> 2020-08-26 13:50:00 EDT (1598464200) to database 'weewx.sdb'
>> Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record 
>> 2020-08-26 13:50:00 EDT (1598464200) to daily summary in 'weewx.sdb'
>> Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record 
>> 2020-08-26 13:50:00 EDT (1598464200) to database 'weewxwd.sdb'
>> Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record 
>> 2020-08-26 13:50:00 EDT (1598464200) to daily summary in 'weewxwd.sdb'
>> Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record 
>> 2020-08-26 13:50:00 EDT (1598464200) to database 'wdsupp.sdb'
>> Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> reports for latest time in the database.
>> Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> report 'SeasonsReport'
>> Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
>> 'SeasonsReport'
>> Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Using search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras']
>> Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:54 raspberrypi weewx[1528] DEBUG weewx.restx: 
>> Wunderground-PWS: Failed upload attempt 1: HTTP Error 401: Unauthorized
>> Aug 26 13:50:54 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: 
>> Generated 8 files for report SeasonsReport in 0.85 seconds
>> Aug 26 13:50:54 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.imagegenerator: 
>> Generated 15 images for report SeasonsReport in 0.50 seconds
>> Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.reportengine: Copied 0 
>> files to /var/www/html/weewx
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report 
>> 'SmartphoneReport' not enabled. Skipping.
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report 
>> 'MobileReport' not enabled. Skipping.
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report 
>> 'StandardReport' not enabled. Skipping.
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> report 'wdPWS'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/PWS/skin.conf for report 'wdPWS'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Using search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras', '']
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report wdPWS in 0.04 seconds
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> report 'wdStackedWindRose'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/StackedWindRose/skin.conf for report 
>> 'wdStackedWindRose'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:55 raspberrypi weewx[1528] INFO user.stackedwindrose: 
>> Generated 1 images for wdStackedWindRose in 0.05 seconds
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> report 'wdTesttags'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Testtags/skin.conf for report 
>> 'wdTesttags'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Using search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras', 'user.wdsearchlist.WdMonthStats', 
>> 'user.wdsearchlist.WdLastRainTags', 'user.wdsearchlist.WdTimeSpanTags', 
>> 'user.wdsearchlist.WdAvgWindTags', 'user.wdsearchlist.WdSundryTags', 
>> 'user.wdsearchlist.WdSkinDict', 'user.wdsearchlist.WdMonthlyReportStats', 
>> 'user.wdsearchlist.WdWindRunTags', 'user.wdsearchlist.WdHourRainTags', 
>> 'user.wdsearchlist.WdGdDays', 'user.wdsearchlist.WdForToday', 
>> 'user.wdsearchlist.WdRainThisDay', 'user.wdsearchlist.WdRainDays', 
>> 'user.wdastro.MoonApsis', 'user.wdastro.Eclipse', 
>> 'user.wdastro.EarthApsis', 'user.wdastro.ChineseNewYear', 
>> 'user.wdsearchlist.WdYestAlmanac', 'user.wdsearchlist.WdTaggedStats', 
>> 'user.wdsearchlist.WdTaggedArchiveStats', 
>> 'user.wdsearchlist.WdManualAverages']
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report wdTesttags in 0.59 seconds
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> report 'wdClientraw'
>> Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Clientraw/skin.conf for report 
>> 'wdClientraw'
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Using search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras', 'user.wdsearchlist.WdMonthStats', 
>> 'user.wdsearchlist.WdLastRainTags', 'user.wdsearchlist.WdTimeSpanTags', 
>> 'user.wdsearchlist.WdSundryTags', 'user.wdsearchlist.WdSkinDict', 
>> 'user.wdsearchlist.WdWindRunTags', 'user.wdsearchlist.WdYestAlmanac', 
>> 'user.wdsearchlist.WdTaggedStats', 
>> 'user.wdsearchlist.WdTaggedArchiveStats', 'user.wdsearchlist.WdRainDays', 
>> 'user.wdsearchlist.WdManualAverages']
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.manager: Daily 
>> summary version is 2.0
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Skip 'clientrawextra.txt': last_mod=1598463954.7997284 
>> age=301.32956314086914 stale=600
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Skip 'clientrawhour.txt': last_mod=1598463955.0897214 
>> age=301.04062151908875 stale=600
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: 
>> Skip 'clientrawdaily.txt': last_mod=1598463955.2897165 
>> age=300.8416323661804 stale=600
>> Aug 26 13:50:56 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report wdClientraw in 0.14 seconds
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running 
>> report 'FTP'
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: 
>> Attempting connection to ekyrrgweather.com
>> Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: 
>> Connected to ekyrrgweather.com
>> Aug 26 13:50:57 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayhum.png to /ekyrrgweather.com/dayhum.png
>> Aug 26 13:50:58 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayrain.png to /ekyrrgweather.com/dayrain.png
>> Aug 26 13:50:58 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayuv.png to /ekyrrgweather.com/dayuv.png
>> Aug 26 13:50:59 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daybarometer.png to /
>> ekyrrgweather.com/daybarometer.png
>> Aug 26 13:50:59 raspberrypi weewx[1528] DEBUG weewx.restx: 
>> Wunderground-PWS: Failed upload attempt 2: HTTP Error 401: Unauthorized
>> Aug 26 13:50:59 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/index.html to /ekyrrgweather.com/index.html
>> Aug 26 13:51:00 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daytempin.png to /
>> ekyrrgweather.com/daytempin.png
>> Aug 26 13:51:01 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayrx.png to /ekyrrgweather.com/dayrx.png
>> Aug 26 13:51:01 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daytempdew.png to /
>> ekyrrgweather.com/daytempdew.png
>> Aug 26 13:51:02 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/statistics.html to /
>> ekyrrgweather.com/statistics.html
>> Aug 26 13:51:03 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daywindvec.png to /
>> ekyrrgweather.com/daywindvec.png
>> Aug 26 13:51:03 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daywinddir.png to /
>> ekyrrgweather.com/daywinddir.png
>> Aug 26 13:51:03 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daytemp.png to /ekyrrgweather.com/daytemp.png
>> Aug 26 13:51:04 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daytempfeel.png to /
>> ekyrrgweather.com/daytempfeel.png
>> Aug 26 13:51:04 raspberrypi weewx[1528] DEBUG weewx.restx: 
>> Wunderground-PWS: Failed upload attempt 3: HTTP Error 401: Unauthorized
>> Aug 26 13:51:04 raspberrypi weewx[1528] ERROR weewx.restx: 
>> Wunderground-PWS: Failed to publish record 2020-08-26 13:50:00 EDT 
>> (1598464200): Failed upload after 3 tries
>> Aug 26 13:51:04 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/daywind.png to /ekyrrgweather.com/daywind.png
>> Aug 26 13:51:05 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayradiation.png to /
>> ekyrrgweather.com/dayradiation.png
>> Aug 26 13:51:05 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/rss.xml to /ekyrrgweather.com/rss.xml
>> Aug 26 13:51:06 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayhumin.png to /ekyrrgweather.com/dayhumin.png
>> Aug 26 13:51:06 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/dayvolt.png to /ekyrrgweather.com/dayvolt.png
>> Aug 26 13:51:07 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/tabular.html to /ekyrrgweather.com/tabular.html
>> Aug 26 13:51:07 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/celestial.html to /
>> ekyrrgweather.com/celestial.html
>> Aug 26 13:51:08 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/telemetry.html to /
>> ekyrrgweather.com/telemetry.html
>> Aug 26 13:51:08 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/WD/daywindrose.png to /
>> ekyrrgweather.com/WD/daywindrose.png
>> Aug 26 13:51:09 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/WD/testtags.php to /
>> ekyrrgweather.com/WD/testtags.php
>> Aug 26 13:51:09 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/WD/clientraw.txt to /
>> ekyrrgweather.com/WD/clientraw.txt
>> Aug 26 13:51:10 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/WD/weewx_pws.xml to /
>> ekyrrgweather.com/WD/weewx_pws.xml
>> Aug 26 13:51:10 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/NOAA/NOAA-2020-08.txt to /
>> ekyrrgweather.com/NOAA/NOAA-2020-08.txt
>> Aug 26 13:51:11 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded 
>> file /var/www/html/weewx/NOAA/NOAA-2020.txt to /
>> ekyrrgweather.com/NOAA/NOAA-2020.txt
>> Aug 26 13:51:11 raspberrypi weewx[1528] INFO weewx.reportengine: 
>> ftpgenerator: Ftp'd 27 files in 15.08 seconds
>> Aug 26 13:51:11 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report 
>> 'RSYNC' not enabled. Skipping.
>> Aug 26 13:51:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next 
>> update in 60 seconds
>> Aug 26 13:52:56 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Failed 
>> attempt 1 to send command 'CMD_GW1000_LIVEDATA': timed out
>> Aug 26 13:53:08 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Failed 
>> attempt 2 to send command 'CMD_GW1000_LIVEDATA': timed out
>> Aug 26 13:53:20 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Failed 
>> attempt 3 to send command 'CMD_GW1000_LIVEDATA': timed out
>> Aug 26 13:53:20 raspberrypi weewx[1528] ERROR gw1000: user.gw1000: Failed 
>> to send command 'CMD_GW1000_LIVEDATA' after 3 attempts
>> Aug 26 13:53:20 raspberrypi weewx[1528] INFO gw1000: user.gw1000: 
>> Attempting to re-discover GW1000...
>> Aug 26 13:53:22 raspberrypi weewx[1528] INFO gw1000: user.gw1000: GW1000 
>> was found at 192.168.100.101:45000
>> Aug 26 13:53:22 raspberrypi weewx[1528] INFO gw1000: user.gw1000: GW1000 
>> at address 192.168.100.101:45000 will be used
>> Aug 26 13:53:22 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Unable 
>> to obtain live data
>> Aug 26 13:53:22 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next 
>> update in 60 seconds
>> Aug 26 13:53:23 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: 
>> Gw1000Collector thread has been terminated
>> Aug 26 13:53:23 raspberrypi weewx[1528] INFO weewx.engine: Main loop 
>> exiting. Shutting engine down.
>> Aug 26 13:53:23 raspberrypi weewx[1528] INFO weewx.engine: Shutting down 
>> StdReport thread
>> Aug 26 13:53:23 raspberrypi weewx[1528] DEBUG weewx.engine: StdReport 
>> thread has been terminated
>> Aug 26 13:53:23 raspberrypi weewx[1528] DEBUG weewx.restx: Shut down 
>> Wunderground-PWS thread.
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: Caught 
>> unrecoverable exception:
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****  
>> Gw1000Collector needs to shutdown
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****  
>> Traceback (most recent call last):
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/weewxd", line 154, in main
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****      
>> engine.run()
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/weewx/engine.py", line 188, in run
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****      
>> for packet in self.console.genLoopPackets():
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/user/gw1000.py", line 1499, in genLoopPackets
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****      
>> raise GW1000IOError("Gw1000Collector needs to shutdown")
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****  
>> user.gw1000.GW1000IOError: Gw1000Collector needs to shutdown
>> Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__:     ****  
>> Exiting.
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: bits received from HRNG 
>> source: 80064
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: bits sent to kernel pool: 
>> 34336
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: entropy added to kernel 
>> pool: 34336
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2 successes: 4
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2 failures: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) 
>> Monobit: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) 
>> Poker: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) 
>> Runs: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) Long 
>> run: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) 
>> Continuous run: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: HRNG source speed: 
>> (min=108.054; avg=181.075; max=501.882)Kibits/s
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS tests speed: 
>> (min=5.796; avg=9.849; max=15.685)Mibits/s
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: Lowest ready-buffers level: 
>> 2
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: Entropy starvations: 0
>> Aug 26 13:56:21 raspberrypi rngd[346]: stats: Time spent starving for 
>> entropy: (min=0; avg=0.000; max=0)us
>> Aug 26 14:17:01 raspberrypi CRON[2517]: (root) CMD (   cd / && run-parts 
>> --report /etc/cron.hourly)
>> Aug 26 14:56:21 raspberrypi rngd[346]: stats: bits received from HRNG 
>> source: 120064
>> Aug 26 14:56:21 raspberrypi rngd[346]: stats: bits sent to kernel pool: 
>> 64096
>> Aug 26 14:56:21 raspberrypi rngd[346]: stats: entropy added to kernel 
>> pool: 64096
>>
>> On Wednesday, August 26, 2020 at 12:51:42 PM UTC-4 Luke Marcum wrote:
>>
>>> Ok, I just had the error happen again last night.  I will post the log 
>>> extract here, I've been a little busy lately so its taken me a little bit 
>>> to work on this!
>>>
>>>
>>> On Saturday, August 22, 2020 at 10:17:07 PM UTC-4, gjr80 wrote:
>>>>
>>>> Hi,
>>>>
>>>> Long story short but part of the GW1000 driver wants to shutdown. To 
>>>> try and work out why we need a bit more info. Could you edit weewx.conf, 
>>>> set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for a 
>>>> couple of archive intervals and then take a log extract from when you 
>>>> restarted WeeWX through until the couple of archive intervals have passed. 
>>>> Post the log extract here. If no errors such as the above are in the 
>>>> extract let WeeWX continue to run and when you next find an error in the 
>>>> log take a log extract from around five minutes before the error through 
>>>> until  a couple of minutes after the error and post that extract.
>>>>
>>>> Would also help to see you [GW1000] stanza from weewx.conf.
>>>>
>>>> Gary
>>>>
>>>> On Sunday, 23 August 2020 at 11:48:47 UTC+10 [email protected] 
>>>> wrote:
>>>>
>>>>> How can I fix this?  What is happening?
>>>>>
>>>>>
>>>>> On Saturday, August 22, 2020 at 9:48:24 PM UTC-4 Luke Marcum wrote:
>>>>>
>>>>>> Here's what it says in the log around the time it stopped reporting.  
>>>>>> This seems top be what is happening. 
>>>>>>
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: Caught 
>>>>>> unrecoverable exception:
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>> Gw1000Collector needs to shutdown
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>> Traceback (most recent call last):
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>>   File "/usr/share/weewx/weewxd", line 154, in main
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>>     engine.run()
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>>   File "/usr/share/weewx/weewx/engine.py", line 188, in run
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>>     for packet in self.console.genLoopPackets():
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>>   File "/usr/share/weewx/user/gw1000.py", line 1499, in genLoopPackets
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>>     raise GW1000IOError("Gw1000Collector needs to shutdown")
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>> user.gw1000.GW1000IOError: Gw1000Collector needs to shutdown
>>>>>> Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__:     ****  
>>>>>> Exiting.
>>>>>>
>>>>>> On Saturday, August 22, 2020 at 8:32:37 PM UTC-4 [email protected] 
>>>>>> wrote:
>>>>>>
>>>>>>> Hard to say what's going on without the log. See the wiki article 
>>>>>>> *Help! 
>>>>>>> Posting to weewx-user 
>>>>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>*.
>>>>>>>
>>>>>>> On Sat, Aug 22, 2020 at 5:01 PM Luke Marcum <[email protected]> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> So, I've recently set up weewx to run on my pi.  It was running 
>>>>>>>> fine the first few days but now on the 
>>>>>>>> file:///var/www/html/weewx/index.html page with graphs and current 
>>>>>>>> conditions it has stopped updating twice today.  The first time it 
>>>>>>>> stopped 
>>>>>>>> updating, it didn't update for around two hours so I decided to 
>>>>>>>> restart my 
>>>>>>>> pi and it started updating again.  This lead to there being a spot in 
>>>>>>>> the 
>>>>>>>> graphs where there is no data.  Now it has done it again for the 
>>>>>>>> second 
>>>>>>>> time today.  Is there any way I can fix it from doing this?  I am 
>>>>>>>> using my 
>>>>>>>> GW1000 to upload data to weewx.  
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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/4aeb0619-7dea-49d0-8fe3-a46e3edca5f1o%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/4aeb0619-7dea-49d0-8fe3-a46e3edca5f1o%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>>

-- 
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/7e18d9d8-de86-4371-9ad3-649fda8940f0o%40googlegroups.com.

Reply via email to