Hi
find below the last console print after weewx stop reporting and the 
console print after Ctrl C
i can't restart weewx by sudo weewxd /etc/weewx/weewx.conf 
stay stuck on
*File "/usr/share/weewx/user/wh23xx.py", line 365, in _get_current*
*    time.sleep(self.retry_wait)*
*i have do reboot the pi to restart weewx.*

Last weewx stop console print

*REC:    2016-12-27 09:40:00 WIB (1482806400) altimeter: 1010.98914931, 
appTemp: 33.8497907262, barometer: 1011.2593677, cloudbase: 1077.32333783, 
dateTime: 1482806400.0, dewpoint: 21.3580215713, ET: 0.00405905271933, 
heatindex: 32.7730155621, humidex: 38.6958833164, inDewpoint: 
67.5524896328, inHumidity: 65.0, inTemp: 26.9, interval: 5, light: 
90633.1842105, maxSolarRad: 729.192357985, outHumidity: 60.1052631579, 
outTemp: 29.9578947368, pressure: 1010.68947368, radiation: 510.923157895, 
rain: 0.0, rainRate: 0.0, usUnits: 16, UV: 4.78947368421, windchill: 
29.9578947368, windDir: 150.362157876, windGust: 3.60001789556, 
windGustDir: None, windrun: 2.26457874991, windSpeed: 2.44422267646*
*LOOP:   2016-12-27 09:40:17 WIB (1482806417) altimeter: 1011.09972874, 
appTemp: 34.1705907237, barometer: 1011.36968913, cloudbase: 1116.13758088, 
dateTime: 1482806417, dewpoint: 21.1888423968, heatindex: 32.82163605, 
humidex: 38.6869812418, inDewpoint: 67.5524896328, inHumidity: 65, inTemp: 
26.9, light: 100947.1, maxSolarRad: 738.862324385, outHumidity: 59, 
outTemp: 30.1, pressure: 1010.8, radiation: 538.156, rain: 0.0, rainRate: 
0.0, usUnits: 16, UV: 5, windchill: 30.1, windDir: 180, windGust: 
3.60000894777, windSpeed: 1.08000268433*
*LOOP:   2016-12-27 09:40:45 WIB (1482806445) altimeter: 1010.99968069, 
appTemp: 34.1792613821, barometer: 1011.26944494, cloudbase: 1082.67646608, 
dateTime: 1482806445, dewpoint: 21.5571955446, heatindex: 33.2175572368, 
humidex: 39.1161062185, inDewpoint: 67.5524896328, inHumidity: 65, inTemp: 
26.9, light: 100947.1, maxSolarRad: 740.481841364, outHumidity: 60, 
outTemp: 30.2, pressure: 1010.7, radiation: 538.156, rain: 0.0, rainRate: 
0.0, usUnits: 16, UV: 5, windchill: 30.2, windDir: 135, windGust: 
3.60000894777, windSpeed: 2.52000626344*

after Ctrl C

*^CTraceback (most recent call last):*
*  File "/usr/bin/weewxd", line 64, in <module>*
*    weewx.engine.main(options, args)*
*  File "/usr/share/weewx/weewx/engine.py", line 847, in main*
*    engine.run()*
*  File "/usr/share/weewx/weewx/engine.py", line 186, in run*
*    for packet in self.console.genLoopPackets():*
*  File "/usr/share/weewx/user/wh23xx.py", line 338, in genLoopPackets*
*    raw = self._get_current()*
*  File "/usr/share/weewx/user/wh23xx.py", line 365, in _get_current*
*    time.sleep(self.retry_wait)*
*KeyboardInterrupt*




On Monday, December 26, 2016 at 10:06:53 PM UTC+7, mwall wrote:
>
> On Monday, December 26, 2016 at 9:15:48 AM UTC-5, Marc Aubry wrote:
>>
>> 19:37 crash
>> yes i can see some cron task on the syslog
>> And yes weewx still appear in ps -aux
>> See below.
>>
>>
>>
> then this is not a crash.  a crash is when a program dies unexpectedly.
>
> run weewx directly in a shell.  when it stops responding, look at the 
> shell to see if there is a stack trace of exceptions.  if there is no stack 
> trace, and you still see no log output from weewx, then control-c weewx in 
> the shell.  at that point you will see a stack trace ending in 
> 'KeyboardInterrrupt'.  post that stack trace.
>
> you will solve the problem sooner by removing complexity than you will by 
> adding more.
>
> m
>

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