Note that with packaged installs, if you remove a package, it does not
remove weewx.conf unless you "purge" it.

*sudo apt purge weewx*


Take a look at the bottom of your weewx.conf under [Engine]. You have
user.mqtt specified somewhere in there.



On Tue, Jul 11, 2023 at 3:21 PM Yves Martin <[email protected]> wrote:

> I've reinstalled all ... still have critical issues
>
> debug=1 is already set
>
> Last error :
>
> /etc/init.d/weewx start
> /etc/init.d/weewx status
>
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****    File "/usr/share/weewx/weewxd", line 148, in main
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****      engine = weewx.engine.StdEngine(config_dict)
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****    File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****      self.loadServices(config_dict)
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****    File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****    File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in
> get_object
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****      mod = __import__(module)
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****  ModuleNotFoundError: No module named 'user.mqtt'
> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:
>   ****  Exiting.
>
> I have disabled MQTT in weewx.conf but I have till this error.
>
> One week now I'm trying to reinstall weewx, I'm a bit desperated...
>
> YM
>
>
> Le lundi 10 juillet 2023 à 21 h 19 min 34 s UTC-4, Tom Keffer a écrit :
>
>> Please set debug=1, then restart weewx. Post the log from startup through
>> the exception.
>>
>> On Mon, Jul 10, 2023 at 2:50 PM Yves Martin <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Since I've upgraded weewx from 3.9.2 to 4.10.2 I have a couple of error.
>>>
>>> This one seems critical :
>>>
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>  Traceback (most recent call last):
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>      self.console = loader_function(config_dict, self)
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>      return VantageService(engine, config_dict)
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1989, in __init__
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>      Vantage.__init__(self, **config_dict[DRIVER_NAME])
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>    File "/usr/share/weewx/weewx/drivers/vantage.py", line 534, in __init__
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>      self._setup()
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1394, in _setup
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>      self.hardware_type = self._determine_hardware()
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1385, in
>>> _determine_hardware
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>      raise weewx.WeeWxIOError("Unable to read hardware type")
>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:     ****
>>>  WeeWxIOError: Unable to read hardware type
>>>
>>> Any suggestion?
>>>
>>> Regards,
>>> Yves
>>>
>>> --
>>> 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].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/fd6e8299-3b73-4cd8-92ac-22f9087228f5n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/fd6e8299-3b73-4cd8-92ac-22f9087228f5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/80ce2801-f109-476c-a8b4-94e1950460a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/80ce2801-f109-476c-a8b4-94e1950460a4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAxK5SSTwB3F1ArQAz7bZANTU7r%3DF00QrRP0w9j-ruZ0w%40mail.gmail.com.

Reply via email to