> > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > weewx.WeeWxIOError: Unable to read hardware type. Check for 2nd instance > of weew> > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL __main__: Unable to > load driver: Unable to read hardware type. Check for 2nd instance of weewx. > Also, tr>
Did you check for a 2nd instance of weewx? On Sat, Oct 3, 2026 at 8:21 AM bushtech <[email protected]> wrote: > Thanks again > Running weewx status again, seem changed > > weewx.service - WeeWX > Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; > preset: enabled) > Active: failed (Result: exit-code) since Sat 2026-10-03 17:03:21 > SAST; 16min ago > Duration: 6.924s > Invocation: c7dde2bbcbf74fd5bc98388f26395f8a > Docs: https://weewx.com/docs > Process: 1987 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, > status=4) > Main PID: 1987 (code=exited, status=4) > Mem peak: 24.8M > CPU: 279ms > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 1468, in _setup > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > self.hardware_type = self._determine_hardware() > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > ~~~~~~~~~~~~~~~~~~~~~~~~^^ > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 1459, in > _determine_har> > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > raise weewx.WeeWxIOError(msg) > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL weewx.engine: **** > weewx.WeeWxIOError: Unable to read hardware type. Check for 2nd instance > of weew> > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL __main__: Unable to > load driver: Unable to read hardware type. Check for 2nd instance of weewx. > Also, tr> > Oct 03 17:03:21 Ubuntuserver weewxd[1987]: CRITICAL __main__: **** > Exiting... > Oct 03 17:03:21 Ubuntuserver systemd[1]: weewx.service: Main process > exited, code=exited, status=4/NOPERMISSION > Oct 03 17:03:21 Ubuntuserver systemd[1]: weewx.service: Failed with result > 'exit-code'. > lines 1-21/21 (END) > > Now complaining about vantage.py > > Here is line 1468 > 1468 self.hardware_type = self._determine_hardware() > and line 1459: > 1459 raise weewx.WeeWxIOError(msg) > This was listed with nano -l > Doesnt mean much to me > On Saturday, October 3, 2026 at 3:59:42 PM UTC+2 John Smith wrote: > >> Start with the simple stuff, reconnect everything and check dmesg to see >> if everything is detected properly when reconnected. >> >> I assume everything was working up until you installed the new Ubuntu >> version, so it could be a bug/issue in the new kernel, so maybe try >> downgrading the kernel and/or trying a back ported version if there is one. >> >> It could also be a cable issue, do you have a space to try? >> >> On Sat, 3 Oct 2026 at 23:16, bushtech <[email protected]> wrote: >> >>> Thanks again John >>> No reply out of the minicom or screen test >>> Hmmm >>> On Saturday, October 3, 2026 at 2:59:42 PM UTC+2 John Smith wrote: >>> >>>> Ok, weewxd now owned by user weewx, was root. >>>> >>>> >>>> Has been since version 5.0.0 came out >>>> >>>> Oct 03 14:23:52 Ubuntuserver weewxd[1986]: ERROR >>>>> weewx.drivers.vantage: send_data: no <ACK> received from Vantage cons >>>> >>>> >>>> There is a wiki page for that too >>>> https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station >>>> >>>> On Sat, 3 Oct 2026 at 22:50, bushtech <[email protected]> wrote: >>>> >>>>> Hi John >>>>> Thanks a mil for your response. Ok, weewxd now owned by user weewx, >>>>> was root. And did this: sudo usermod -aG dialout weewx to try and sort out >>>>> the USB. No discernable difference noted >>>>> >>>>> Then ran: sudo journalctl -u weewx -n 50 --no-pager >>>>> >>>>> Oct 03 14:23:52 Ubuntuserver weewxd[1986]: DEBUG >>>>> weewx.drivers.vantage: Successfully woke up Vantage console >>>>> >>>>> Oct 03 14:23:52 Ubuntuserver weewxd[1986]: ERROR >>>>> weewx.drivers.vantage: send_data: no <ACK> received from Vantage cons >>>>> The second line is where the wheels came off. >>>>> Hmmm, lots of head scratching currently >>>>> On Saturday, October 3, 2026 at 1:34:20 PM UTC+2 John Smith wrote: >>>>> >>>>>> status=4/NOPERMISSION >>>>>> >>>>>> >>>>>> That pretty much says it all, weewxd doesn't have permission to >>>>>> access the USB device. >>>>>> >>>>>> Have you looked at this page? >>>>>> https://github.com/weewx/weewx/wiki/Understanding-permissions >>>>>> >>>>>> It has a section on USB permissions >>>>>> >>>>>> On Sat, 3 Oct 2026 at 18:14, bushtech <[email protected]> wrote: >>>>>> >>>>>>> Hi >>>>>>> Conf. file 5.5.2 >>>>>>> Davis Vantage pro using USB to serial cable >>>>>>> During ubuntu update got the usual conf file out of date so kept old >>>>>>> one. But afterwards >>>>>>> decided to use later conf. file. >>>>>>> >>>>>>> What worries me is Ubuntu 26 uses python 3.14. >>>>>>> >>>>>>> The weewx documentation says this: >>>>>>> >>>>>>> *"Python* >>>>>>> Python 2.7, or Python 3.5 or later is required." >>>>>>> >>>>>>> Am I between a rock and a hard place or am I being stupid >>>>>>> >>>>>>> This is what I get when doing sudo systemctl status weewx: >>>>>>> >>>>>>> Oct 02 16:05:12 Ubuntuserver weewxd[19832]: CRITICAL weewx.engine: >>>>>>> **** File "/usr/share/weewx/weewx/drivers/v> Oct 02 16:05:12 >>>>>>> Ubuntuserver >>>>>>> weewxd[19832]: CRITICAL weewx.engine: **** self.hardware_type = >>>>>>> self._determine> Oct 02 16:05:12 Ubuntuserver weewxd[19832]: CRITICAL >>>>>>> weewx.engine: **** ~~~~~~~~~~~~~~~> Oct 02 16:05:12 Ubuntuserver >>>>>>> weewxd[19832]: CRITICAL weewx.engine: **** File >>>>>>> "/usr/share/weewx/weewx/drivers/v> Oct 02 16:05:12 Ubuntuserver >>>>>>> weewxd[19832]: CRITICAL weewx.engine: **** raise >>>>>>> weewx.WeeWxIOError(msg) Oct 02 16:05:12 Ubuntuserver weewxd[19832]: >>>>>>> CRITICAL weewx.engine: **** weewx.WeeWxIOError: Unable to read hardw> >>>>>>> Oct >>>>>>> 02 16:05:12 Ubuntuserver weewxd[19832]: CRITICAL *main*: Unable to >>>>>>> load driver: Unable to read hardware type. C> Oct 02 16:05:12 >>>>>>> Ubuntuserver >>>>>>> weewxd[19832]: CRITICAL *main*: **** Exiting... Oct 02 16:05:12 >>>>>>> Ubuntuserver systemd[1]: weewx.service: Main process exited, >>>>>>> code=exited, >>>>>>> status=4/NOPERMISSION Oct 02 16:05:12 Ubuntuserver systemd[1]: >>>>>>> weewx.service: Failed with result 'exit-code'. >>>>>>> >>>>>>> Please tell me what is gong on here. Is this a hardware problem now >>>>>>> Am I missing something stupid >>>>>>> >>>>>>> -- >>>>>>> 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 visit >>>>>>> https://groups.google.com/d/msgid/weewx-user/317e81b0-ee8b-43c5-98fb-e4168c00d7ddn%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/weewx-user/317e81b0-ee8b-43c5-98fb-e4168c00d7ddn%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 visit >>>>> https://groups.google.com/d/msgid/weewx-user/3c4d4e1a-aaaa-437f-baaf-17f7142e4bc8n%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/3c4d4e1a-aaaa-437f-baaf-17f7142e4bc8n%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 visit >>> https://groups.google.com/d/msgid/weewx-user/087f9cbc-59f9-42f2-b363-99e8b3d6e51bn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/087f9cbc-59f9-42f2-b363-99e8b3d6e51bn%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 visit > https://groups.google.com/d/msgid/weewx-user/26388e09-f76c-4222-9a76-7ea6a344f699n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/26388e09-f76c-4222-9a76-7ea6a344f699n%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 visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECz6_LWquLB5%2BR2cYet%2BAc%2Bq-A7fjpqV-H__qUxpjZVYQ%40mail.gmail.com.
