On Tuesday, November 22, 2016 at 11:39:43 AM UTC-5, mwall wrote: > > On Tuesday, November 22, 2016 at 11:33:52 AM UTC-5, Dan'l B wrote: >> >> Should that be installed with the usual wee_extension? if so, it throws >> this: >> >>> >>> > nope. install this manually by moving aside the existing cmon.py and > copying the new one into place: > > mv /Users/Shared/weewx/bin/user/cmon.py /Users/Shared/weewx/bin/user/ > cmon-0.14.py > > cp /Users/house/Documents/Software/Weather/WeeWX/weewx-master/extensions/ > cmon-0.15rc1.py /Users/shared/weewx/bin/user/cmon.py > > preface with sudo if you do not have write permission on bin/user > > then restart weewx > > m > > Looks as if cmon is still throwing an error:
22/11/2016 13:25:14.768 weewx[86953]: engine: Caught unrecoverable >> exception in engine: > > 22/11/2016 13:25:14.768 weewx[86953]: **** global name 'meminfo' is >> not defined > > 22/11/2016 13:25:14.770 weewx[86953]: **** Traceback (most recent >> call last): > > 22/11/2016 13:25:14.770 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/weewx/engine.py", line 844, in main > > 22/11/2016 13:25:14.770 weewx[86953]: **** engine.run() > > 22/11/2016 13:25:14.770 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/weewx/engine.py", line 200, in run > > 22/11/2016 13:25:14.770 weewx[86953]: **** >> self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) > > 22/11/2016 13:25:14.770 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/weewx/engine.py", line 222, in dispatchEvent > > 22/11/2016 13:25:14.770 weewx[86953]: **** callback(event) > > 22/11/2016 13:25:14.770 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/weewx/engine.py", line 563, in post_loop > > 22/11/2016 13:25:14.770 weewx[86953]: **** >> self._software_catchup() > > 22/11/2016 13:25:14.770 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/weewx/engine.py", line 614, in _software_catchup > > 22/11/2016 13:25:14.770 weewx[86953]: **** >> self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, >> record=record, origin='software')) > > 22/11/2016 13:25:14.771 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/weewx/engine.py", line 222, in dispatchEvent > > 22/11/2016 13:25:14.771 weewx[86953]: **** callback(event) > > 22/11/2016 13:25:14.771 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/user/cmon.py", line 699, in new_archive_record > > 22/11/2016 13:25:14.771 weewx[86953]: **** >> self.save_data(self.get_data(now, self.last_ts)) > > 22/11/2016 13:25:14.771 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/user/cmon.py", line 719, in get_data > > 22/11/2016 13:25:14.771 weewx[86953]: **** record = >> self.collector.get_data(now_ts) > > 22/11/2016 13:25:14.771 weewx[86953]: **** File >> "/Users/Shared/weewx/bin/user/cmon.py", line 563, in get_data > > 22/11/2016 13:25:14.771 weewx[86953]: **** >> record['mem_available'] = meminfo.available > > 22/11/2016 13:25:14.771 weewx[86953]: **** NameError: global name >> 'meminfo' is not defined > > 22/11/2016 13:25:14.771 weewx[86953]: **** Exiting. > > > -- 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.
