ampledata / weewx_graphite

WeeWX Extension for sending weather data to Graphite
Other
3 stars 1 forks source link

weewx_graphite and WeeWX > V3 #1

Open ampledata opened 9 years ago

ampledata commented 9 years ago

Hi Greg,

I use your WeeWX-Extension for graphite . The Extension has worked really well. For the Extension and your time you have invested here I want to thank you.

Unfortunately, the extension does not work anymore with WeeWX Version >= 3.0.

I get the following log entries:

Dec 26 17:04:22 wettersrv weewx[3568]:     ****  'module' object has no attribute 'get_dict'
Dec 26 17:04:22 wettersrv weewx[3568]:     ****  Traceback (most recent call last):
Dec 26 17:04:22 wettersrv weewx[3568]:     ****    File "/usr/share/weewx/weewx/engine.py", line 834, in main
Dec 26 17:04:22 wettersrv weewx[3568]:     ****      engine = EngineClass(config_dict)
Dec 26 17:04:22 wettersrv weewx[3568]:     ****    File "/usr/share/weewx/weewx/engine.py", line 74, in __init__
Dec 26 17:04:22 wettersrv weewx[3568]:     **** self.loadServices(config_dict)
Dec 26 17:04:22 wettersrv weewx[3568]:     ****    File "/usr/share/weewx/weewx/engine.py", line 140, in loadServices
Dec 26 17:04:22 wettersrv weewx[3568]:     **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Dec 26 17:04:22 wettersrv weewx[3568]:     ****    File "/usr/share/weewx/user/graphite.py", line 63, in __init__
Dec 26 17:04:22 wettersrv weewx[3568]:     ****      site_dict = weewx.restx.get_dict(config_dict, 'Graphite')
Dec 26 17:04:22 wettersrv weewx[3568]:     ****  AttributeError: 'module' object has no attribute 'get_dict'
Dec 26 17:04:22 wettersrv weewx[3568]:     ****  Exiting.

Maybe you have a few minutes to view the problem.

Thank You

Best regards

Andreas mail@andreas.krauss.cc

ampledata commented 9 years ago

fixed in master! :)