Hi Arturo, >From the 4th post of the thread that I linked Noel said:
1) Wind in the original code is "wind_average" which is not reported by > Acurite. Change that to "windSpeed" > The file aprs.py in that github repo has an error, it uses a non-existent field wind_average for wind speed when the correct weeWX wind speed field is windSpeed. Hence Noel changed each occurence of wind_average to windSpeed in aprs.py. Did you try this? Your error is certainly consistent with the use of wind_average in aprs.py. Noel also points out that the correct symbol for wind speed is '/' not 'c' as used in aprs.py. I have no knowledge of APRS so I cannot comment on this, but you may wish to look at this point as well. Gary On Friday, 22 December 2017 00:59:14 UTC+10, [email protected] wrote: > > > > Am Mittwoch, 20. Dezember 2017 22:18:39 UTC+1 schrieb gjr80: >> >> Hi, >> >> It appears there is a bug in the aprs code. You might want to refer to >> the following thread: >> https://groups.google.com/forum/m/#!topic/weewx-user/eUv7TnpDRyk >> >> Gary >> > > Thank you Gary > I read your proposals but I could not find the answer to my problem. I > send you an excerpt of the "user.log" maybe with your experience you can > find my problem. The problem started after installing APRS-WEEWX from > this link! > https://github.com/BrainerdAreaAmateurRadioClub/legendary-goggles > Thanks for your help. > Arturo. > Arturo > > > Dec 21 11:13:06 aprs-weewx weewx[816]: cheetahgenerator: Generated 14 > files for report StandardReport in 1.96 seconds > > Dec 21 11:13:07 aprs-weewx weewx[816]: imagegenerator: Generated 12 images > for StandardReport in 1.22 seconds > > Dec 21 11:13:07 aprs-weewx weewx[816]: copygenerator: copied 0 files to > /var/www/html > > Dec 21 11:13:15 aprs-weewx weewx[816]: cheetahgenerator: Generated 14 > files for report StandardReport in 2.00 seconds > > Dec 21 11:13:16 aprs-weewx weewx[816]: imagegenerator: Generated 12 images > for StandardReport in 1.22 seconds > > Dec 21 11:13:16 aprs-weewx weewx[816]: copygenerator: copied 0 files to > /var/www/html > > Dec 21 11:13:55 aprs-weewx weewx[607]: engine: Initializing weewx version > 3.8.0 > > Dec 21 11:13:55 aprs-weewx weewx[607]: engine: Using Python 2.7.9 > (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] > > Dec 21 11:13:55 aprs-weewx weewx[607]: engine: Platform > Linux-4.9.35-v7+-armv7l-with-debian-8.0 > > Dec 21 11:13:55 aprs-weewx weewx[607]: engine: Locale is 'de_CH.UTF-8' > > Dec 21 11:13:55 aprs-weewx weewx[607]: engine: pid file is > /var/run/weewx.pid > > Dec 21 11:13:55 aprs-weewx weewx[801]: engine: Using configuration file > /home/weewx/weewx.conf > > Dec 21 11:13:55 aprs-weewx weewx[801]: engine: Loading station type SDR > (user.sdr) > > Dec 21 11:13:56 aprs-weewx weewx[801]: sdr: MainThread: driver version is > 0.37 > > Dec 21 11:13:56 aprs-weewx weewx[801]: sdr: MainThread: sensor map is > {'outTemp': 'temperature.212.FOWHx080Packet', 'outHumidity': > 'humidity.212.FOWHx080Packet', 'windGust': 'wind_gust.212.FOWHx080Packet', > 'windSpeed': 'wind_speed.212.F$ > > Dec 21 11:13:56 aprs-weewx weewx[801]: sdr: MainThread: deltas is > {'strikes': 'strikes_total', 'rain': 'rain_total'} > > Dec 21 11:13:56 aprs-weewx weewx[801]: sdr: MainThread: startup process > 'rtl_433 -q -U -F json -G' > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: StdConvert target unit is > 0x1 > > Dec 21 11:13:56 aprs-weewx weewx[801]: wxcalculate: The following values > will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, > dewpoint=prefer_hardware, appTemp=prefer_hardware, > rainRate=prefer_hardware, windrun=pref$ > > Dec 21 11:13:56 aprs-weewx weewx[801]: wxcalculate: The following > algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: Archive will use data > binding wx_binding > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: Record generation will be > attempted in 'hardware' > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: Using archive interval of > 300 seconds (specified in weewx configuration) > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: Using binding 'wx_binding' > to database 'weewx.sdb' > > Dec 21 11:13:56 aprs-weewx weewx[801]: manager: Starting backfill of daily > summaries > > Dec 21 11:13:56 aprs-weewx weewx[801]: restx: StationRegistry: > Registration not requested. > > Dec 21 11:13:56 aprs-weewx weewx[801]: restx: Wunderground: Posting not > enabled. > > Dec 21 11:13:56 aprs-weewx weewx[801]: restx: PWSweather: Posting not > enabled. > > Dec 21 11:13:56 aprs-weewx weewx[801]: restx: CWOP: Posting not enabled. > > Dec 21 11:13:56 aprs-weewx weewx[801]: restx: WOW: Posting not enabled. > > Dec 21 11:13:56 aprs-weewx weewx[801]: restx: AWEKAS: Posting not enabled. > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: Starting up weewx version > 3.8.0 > > Dec 21 11:13:56 aprs-weewx weewx[801]: engine: Starting main packet loop. > > Dec 21 11:14:03 aprs-weewx org.gtk.Private.AfcVolumeMonitor[1008]: Volume > monitor alive > > Dec 21 11:15:27 aprs-weewx weewx[801]: sdr: MainThread: shutdown process > rtl_433 -q -U -F json -G > > Dec 21 11:15:38 aprs-weewx weewx[801]: sdr: MainThread: timed out waiting > for stderr-thread > > Dec 21 11:15:38 aprs-weewx weewx[801]: engine: Caught unrecoverable > exception in engine: > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** 'wind_average' > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** Traceback (most recent > call last): > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/weewx/engine.py", line 871, in main > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** engine.run() > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/weewx/engine.py", line 201, in run > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** > self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/weewx/engine.py", line 223, in dispatchEvent > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** callback(event) > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/weewx/engine.py", line 569, in post_loop > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** > self._software_catchup() > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/weewx/engine.py", line 633, in _software_catchup > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** > self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, > record=record, origin='software')) > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/weewx/engine.py", line 223, in dispatchEvent > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** callback(event) > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** File > "/home/weewx/bin/user/aprs.py", line 80, in _handle_new_archive_record > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** data.append('g%03.f' > % record['wind_average']) > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** KeyError: 'wind_average' > > Dec 21 11:15:38 aprs-weewx weewx[801]: **** Exiting. > > Dec 21 13:26:56 aprs-weewx weewx[592]: engine: Initializing weewx version > 3.8.0 > > Dec 21 13:26:56 aprs-weewx weewx[592]: engine: Using Python 2.7.9 > (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] > > Dec 21 13:26:56 aprs-weewx weewx[592]: engine: Platform > Linux-4.9.35-v7+-armv7l-with-debian-8.0 > > Dec 21 13:26:56 aprs-weewx weewx[592]: engine: Locale is 'de_CH.UTF-8' > > Dec 21 13:26:56 aprs-weewx weewx[592]: engine: pid file is > /var/run/weewx.pid > > Dec 21 13:26:56 aprs-weewx weewx[820]: engine: Using configuration file > /home/weewx/weewx.conf > > Dec 21 13:26:56 aprs-weewx weewx[820]: engine: Loading station type SDR > (user.sdr) > > Dec 21 13:26:57 aprs-weewx weewx[820]: sdr: MainThread: driver version is > 0.37 > -- 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.
