On Saturday, January 11, 2020 at 12:25:35 AM UTC-5, Scott Grayban wrote: > > I did a restart tonight and weewx wouldn't start. Saw this in the logs and > cannot figure out why this is happening. I checked all my configs and they > are right, haven't touched then since last June. > > weewx[5862]: engine: Import of driver failed: in method > 'pcapObject_open_live', argument 2 of type 'char *' (<type > 'exceptions.TypeE > rror'>) > > Any ideas ? >
so what *did* change between before the restart and after the restart? On Saturday, January 11, 2020 at 4:51:30 PM UTC-5, Scott Grayban wrote: > > > Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: ServerThread: start > sniff server > Jan 11 00:39:13 weewx-pi weewx[3942]: engine: Loading service w > Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: shutting > down server thread > Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: stop sniff > server > Jan 11 00:39:33 weewx-pi weewx[3942]: interceptor: MainThread: unable to > shut down server thread > Jan 11 00:39:33 weewx-pi weewx[3942]: engine: Caught unrecoverable > exception in engine: > Jan 11 00:39:33 weewx-pi weewx[3942]: **** Empty module name > Jan 11 00:39:33 weewx-pi weewx[3942]: **** Traceback (most recent > call last): > Jan 11 00:39:33 weewx-pi weewx[3942]: **** File > "/usr/share/weewx/weewx/engine.py", line 888, in main > Jan 11 00:39:33 weewx-pi weewx[3942]: **** engine = > engine_class(config_dict) > Jan 11 00:39:33 weewx-pi weewx[3942]: **** File > "/usr/share/weewx/weewx/engine.py", line 78, in __init__ > Jan 11 00:39:33 weewx-pi weewx[3942]: **** > self.loadServices(config_dict) > Jan 11 00:39:33 weewx-pi weewx[3942]: **** File > "/usr/share/weewx/weewx/engine.py", line 142, in loadServices > Jan 11 00:39:34 weewx-pi weewx[3942]: **** > self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict)) > Jan 11 00:39:34 weewx-pi weewx[3942]: **** File > "/usr/share/weewx/weeutil/weeutil.py", line 1107, in _get_object > Jan 11 00:39:34 weewx-pi weewx[3942]: **** mod = > __import__(module) > Jan 11 00:39:34 weewx-pi weewx[3942]: **** ValueError: Empty module > name > Jan 11 00:39:34 weewx-pi weewx[3942]: **** Exiting. > this looks like a mistake in your weewx configuration file - weewx is trying to load a service called 'w' that does not exist? -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9a056621-dc31-42b1-8e0f-a20517a56746%40googlegroups.com.