A PR would be welcome. -tk
On Sun, Aug 21, 2016 at 11:03 AM, vince <[email protected]> wrote: > Tom/Matthew - should the python code fix the case for folks perhaps for > these kinds of typos ? > > > On Saturday, August 20, 2016 at 10:53:44 AM UTC-7, Kerry Saylor wrote: >> >> Of course it's that easy... I should have caught that! >> >> Thanks Tom! >> >> >> >> On Saturday, August 20, 2016 at 1:50:26 PM UTC-4, Tom Keffer wrote: >>> >>> Welcome, Kerry >>> >>> Take a look in your weewx.conf configuration file. You probably have >>> something like: >>> >>> [Station] >>> >>> >>> # Altitude of the station, with unit it is in. This is downloaded >>> from >>> # from the station if the hardware supports it. >>> altitude = 700, Foot # Choose 'foot' or 'meter' for unit >>> >>> You want >>> >>> altitude = 700, foot # Choose 'foot' or 'meter' for unit >>> >>> >>> It's 'foot', not 'Foot'. >>> >>> Unfortunately, these little details matter! >>> >>> -tk >>> >>> >>> On Sat, Aug 20, 2016 at 10:29 AM, Kerry Saylor <[email protected]> >>> wrote: >>> >>>> Hey guys... >>>> >>>> Hope you can feel sorry for a newbie and help a guy out. >>>> >>>> I've been running pywws for a while on my RPi2 and figured I'd give >>>> weewx a try in order to be able to upload to a few more services. I've >>>> followed the instructions on the weewx site, configured the station >>>> (Ambient Weather 2095) and a few service (WU & PWS). All went relatively >>>> smooth...but, I'm running into issues getting the service to start. I've >>>> tried troubleshooting by searching around for similar issues but couldn't >>>> find one exact. No being a linux-guy, its difficult for me to follow these >>>> errors... >>>> >>>> Here is what is displayed on screen: >>>> >>>> pi@ksatpi:/etc/weewx $ sudo weewxd weewx.conf >>>> >>>> Traceback (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 853, in main >>>> >>>> engine = EngineClass(config_dict) >>>> >>>> File "/usr/share/weewx/weewx/engine.py", line 75, in __init__ >>>> >>>> self.loadServices(config_dict) >>>> >>>> File "/usr/share/weewx/weewx/engine.py", line 136, in loadServices >>>> >>>> self.service_obj.append(weeutil.weeutil._get_object(svc)(self, >>>> config_dict)) >>>> >>>> File "/usr/share/weewx/weewx/wxservices.py", line 111, in __init__ >>>> >>>> engine.stn_info.altitude_vt, "foot")[0] >>>> >>>> File "/usr/share/weewx/weewx/units.py", line 1054, in convert >>>> >>>> conversion_func = conversionDict[val_t[1]][target_unit_type] >>>> >>>> KeyError: 'Foot' >>>> >>>> I currently have my debug = 1 set as well...Here's what is detailed >>>> there: >>>> >>>> ug 20 13:19:43 ksatpi weewx[4934]: **** File >>>> "/usr/share/weewx/weewx/engine.py", line 136, in loadServices >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** >>>> self.service_obj.append(weeutil.weeutil._get_object(svc)(self, >>>> config_dict)) >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** File >>>> "/usr/share/weewx/weewx/wxservices.py", line 111, in __init__ >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** >>>> engine.stn_info.altitude_vt, "foot")[0] >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** File >>>> "/usr/share/weewx/weewx/units.py", line 1054, in convert >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** conversion_func = >>>> conversionDict[val_t[1]][target_unit_type] >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** KeyError: 'Foot' >>>> Aug 20 13:19:43 ksatpi weewx[4934]: **** Exiting. >>>> Aug 20 13:20:14 ksatpi kernel: [ 9502.307038] usb 1-1.5: usbfs: process >>>> 4843 (python) did not claim interface 0 before use >>>> Aug 20 13:27:47 ksatpi rsyslogd-2007: action 'action 17' suspended, >>>> next retry is Sat Aug 20 13:29:17 2016 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> >>>> >>>> Any help or direction would be greatly appreciated... >>>> >>>> Thanks! >>>> >>>> -- >>>> 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. > -- 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.
