Just guessing by the error message:

weectl.py: error: unrecognized arguments: feet,foot

https://weewx.com/docs/5.0/reference/skin-options/units/?h=singular#groups
Note that the measurement unit is always specified in the singular. That 
is, specify degree_C or foot, not degrees_C or feet.



Ron Walker schrieb am Mittwoch, 20. März 2024 um 19:24:41 UTC+1:

> I have been through the forum looking for this issue , but have not seen 
> this issue addressed.
>
> I;m trying to install weewx 5.02 on a fresh install of Debian Buster on a 
> Raspberry Pi 3.  When I attempt to install weewx, I get the following:
>
> ron@WeatherPi5:~ $ 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
> ron@WeatherPi5:~ $ sudo apt update
> Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
> Get:2 http://weewx.com/apt/python3 buster InRelease [4,252 B]             
>      
> Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease           
>       
> Get:4 http://weewx.com/apt/python3 buster/main all Packages [4,988 B]
> Fetched 9,240 B in 2s (5,992 B/s)  
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> All packages are up to date.
> ron@WeatherPi5:~ $ sudo apt install weewx
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following package was automatically installed and is no longer 
> required:
>   libfuse2
> Use 'sudo apt autoremove' to remove it.
> The following additional packages will be installed:
>   python3-cheetah python3-configobj python3-ephem python3-usb
> Suggested packages:
>   python-cheetah-doc python3-markdown python3-memcache python-configobj-doc
>   sqlite ftp httpd
> The following NEW packages will be installed:
>   python3-cheetah python3-configobj python3-ephem python3-usb weewx
> 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
> Need to get 2,370 kB of archives.
> After this operation, 9,616 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:2 http://weewx.com/apt/python3 buster/main all weewx all 5.0.2-1 
> [1,556 kB]
> Get:1 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf 
> python3-configobj all 5.0.6-4 [35.8 kB]
> Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf 
> python3-cheetah armhf 3.2.6-1+b1 [142 kB]
> Get:4 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf 
> python3-usb all 1.0.2-2 [38.9 kB]
> Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf 
> python3-ephem armhf 3.7.7.1-1+b1 [596 kB]
> Fetched 2,370 kB in 2s (1,376 kB/s)                                    
> Preconfiguring packages ...
> Selecting previously unselected package python3-configobj.
> (Reading database ... 173112 files and directories currently installed.)
> Preparing to unpack .../python3-configobj_5.0.6-4_all.deb ...
> Unpacking python3-configobj (5.0.6-4) ...
> Selecting previously unselected package python3-cheetah.
> Preparing to unpack .../python3-cheetah_3.2.6-1+b1_armhf.deb ...
> Unpacking python3-cheetah (3.2.6-1+b1) ...
> Selecting previously unselected package python3-usb.
> Preparing to unpack .../python3-usb_1.0.2-2_all.deb ...
> Unpacking python3-usb (1.0.2-2) ...
> Selecting previously unselected package python3-ephem.
> Preparing to unpack .../python3-ephem_3.7.7.1-1+b1_armhf.deb ...
> Unpacking python3-ephem (3.7.7.1-1+b1) ...
> Selecting previously unselected package weewx.
> Preparing to unpack .../archives/weewx_5.0.2-1_all.deb ...
> Unpacking weewx (5.0.2-1) ...
> Setting up python3-usb (1.0.2-2) ...
> Setting up python3-ephem (3.7.7.1-1+b1) ...
> Setting up python3-cheetah (3.2.6-1+b1) ...
> Setting up python3-configobj (5.0.6-4) ...
> Setting up weewx (5.0.2-1) ...
> Using weewx:weewx as user:group
> Creating /etc/default/weewx
> usage: weectl.py -v|--version
>        weectl.py -h|--help
>        weectl.py database --help
>        weectl.py debug --help
>        weectl.py device --help
>        weectl.py extension --help
>        weectl.py import --help
>        weectl.py report --help
>        weectl.py station --help
> weectl.py: error: unrecognized arguments: feet,foot
> dpkg: error processing package weewx (--configure):
>  installed weewx package post-installation script subprocess returned 
> error exit
>  status 2
> Processing triggers for man-db (2.9.4-2) ...
> Errors were encountered while processing:
>  weewx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>  
> The result is that I cannot uninstall nor can I install weewx.  Any help 
> would be appreciated.  If this issue has been addressed, please point me to 
> it!  Thanks!
>

-- 
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/eb1f08e7-58ec-4ae5-80cc-793d1b4518ecn%40googlegroups.com.

Reply via email to