hello,

I restart my installation with version weewx 5.0.1 and I have these errors:

on my version which works in 4.10.2, my "byows.py" driver is located here: [/usr/share/weewx/user/] but I saw that the tree structure has changed; where should I put my driver now?

watch these errors:

sudo systemctl status weewx.service
● weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor preset: enabled)      Active: failed (Result: exit-code) since Wed 2024-03-06 18:32:05 CET; 2s ago
       Docs: https://weewx.com/docs
    Process: 11182 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
   Main PID: 11182 (code=exited, status=4)
        CPU: 682ms

mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL weewx.engine:     ****      pin = self.pin_factory.pin(pin) mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/gpiozero/pins/pi.py", line 103, in pin mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL weewx.engine:     ****      pin = self.pin_class(self, n) mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/gpiozero/pins/rpigpio.py", line 111, in __init__ mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL weewx.engine:     ****      GPIO.setup(self.number, GPIO.IN, self.GPIO_PULL_UPS[self._pull]) mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL weewx.engine:     ****  RuntimeError: Not running on a RPi! mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL __main__:*Unable to load driver: Not running on a RPi!* mars 06 18:32:05 raspberrypi weewxd[11182]: CRITICAL __main__:     ****  Exiting... mars 06 18:32:05 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION mars 06 18:32:05 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.

Patrick

Le 08/02/2024 à 08:59, salinois a écrit :

hello Matthew

OK I understand if that works

thanks also to vince.

Now , I must to try the 5.0.0 version

Patrick

Le 07/02/2024 à 23:06, matthew wall a écrit :
On Wednesday, February 7, 2024 at 3:36:55 PM UTC-5 [email protected] wrote:

    pi@raspberrypi:~ $ wget -qO -
    https://weewx.com/apt/weewx-python3.list | sudo tee
    /etc/apt/sources.list.d/weewx.list
    */_deb [arch=all] http://weewx.com/apt/python3 buster main_ ==>
    _why Buster_/*


'buster' (i.e., debian 10) is the oldest release on which the deb package will install.

if you look at the python2 configuration, it uses the label 'squeeze' (debian 6)

the weewx packages are *really* stable with respect to dependencies, so the same package that works with debian 10 also works with debian 11 and debian 12.  besides, i am too old and lazy to build a new deb and new apt repository for every major debian release that comes out :)
--
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/ca7d09e7-acd7-4115-ae62-7ac60a1ef82bn%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/ca7d09e7-acd7-4115-ae62-7ac60a1ef82bn%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/8aaea7b9-af63-4449-8dd3-8e952a43c3b7%40gmail.com.

Reply via email to