Sorry. I should have followed this thread more closely. This issue is already known (always read the Upgrade Guide!). See https://weewx.com/docs/5.0/upgrade/#new-location-for-user-directory
Our plan for upgrades using a package installer is to copy the user directory over to /etc/weewx/bin/user, then timestamp the old directory /usr/share/weewx/user.YYYY.MM.dd.hh, or something similar. However, this has not been implemented yet. On Sun, Nov 26, 2023 at 1:35 AM Karen K <[email protected]> wrote: > Finally, I found out. It refers to the deb packet of version 5.0.0b10. > > There are 2 directories called "user": /etc/weewx/bin/user and > /usr/share/weewx/user. Both of them are included in Python's search path, > where it looks for modules. Python decides which one it uses to really load > modules. And it uses the other one. > > As a workaround I did: > cd /etc/weewx/bin > sudo rm user > sudo ln -s /usr/share/weewx/user user > > After the installation of WeeWX "extensions.py" resided in > /usr/share/weewx/user. That is the reason I set the link the way I did. > > This may be an issue for the development team, @Tom, except it is already > known. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/4c3d068d-ec47-4935-a7fb-26879811f699n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/4c3d068d-ec47-4935-a7fb-26879811f699n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zEDOfRgxodYK5_g%2BeDzbjXM0e3VEFNc1hqmfYoO_5HBFLA%40mail.gmail.com.
