The "string to float" exception can happen if you lose the separator character (comma) between station latitude and longitude, or perhaps have some extra spurious character. I don't know what happens for different languages.
When dpkg configure fails then it will again attempt to complete the configuration every time apt upgrade runs. That will be why it is running again even if you have already "installed" the latest version. Instead of fully reinstalling, you should just try *dpkg --configure -a* On Friday 9 February 2024 at 1:37:23 am UTC+10 Daniel Fourlas wrote: > Journal begins at Thu 2022-09-22 06:17:24 EEST, ends at Thu 2024-02-08 > 17:35:55 EET. -- > Oct 23 02:19:57 SunSDR-pi4 systemd[1]: Starting LSB: weewx weather > system... > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Initializing weewx version 4.10.2 > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Using Python 3.9.2 (default, Feb 28 2021, 17:03:44) > [GCC 10.2.1 20210110] > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Located at /bin/python3 > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Platform Linux-6.1.21-v8+-aarch64-with-glibc2.31 > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Locale is 'en_GB.UTF-8' > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Using configuration file /etc/weewx/weewx.conf > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: > Debug is 0 > Oct 23 02:19:57 SunSDR-pi4 python3[11888]: weewx[11888] INFO __main__: PID > file is /var/run/weewx.pid > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] INFO weewx.engine: > Loading station type Ultimeter (weewx.drivers.ultimeter) > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] INFO > weewx.drivers.ultimeter: Driver version is 0.6 > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] INFO > weewx.drivers.ultimeter: Using serial port /dev/ttyUSB0 > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > Caught unrecoverable exception: > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** could not convert string to float: > '___________________________________________________> > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** Traceback (most recent call last): > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** File "/usr/share/weewx/weewxd", line 148, in main > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** engine = weewx.engine.StdEngine(config_dict) > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** File "/usr/share/weewx/weewx/engine.py", line 84, in __init__ > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** self.stn_info = weewx.station.StationInfo(self.console, > **config_dict['Station']) > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** File "/usr/share/weewx/weewx/station.py", line 51, in __init__ > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** self.latitude_f = float(stn_dict['latitude']) > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** ValueError: could not convert string to float: > '_______________________________________> > Oct 23 02:19:57 SunSDR-pi4 python3[11891]: weewx[11891] CRITICAL __main__: > **** Exiting. > Oct 23 02:19:57 SunSDR-pi4 weewx[11877]: Starting weewx weather system: > weewx. > Oct 23 02:19:57 SunSDR-pi4 systemd[1]: Started LSB: weewx weather system. > Oct 23 02:21:25 SunSDR-pi4 systemd[1]: Stopping LSB: weewx weather > system... > Oct 23 02:21:25 SunSDR-pi4 weewx[12401]: Stopping weewx weather system: > weewx not running.... > Oct 23 02:21:25 SunSDR-pi4 systemd[1]: weewx.service: Succeeded. > Oct 23 02:21:25 SunSDR-pi4 systemd[1]: Stopped LSB: weewx weather system. > > > Daniel Fourlas schrieb am Donnerstag, 8. Februar 2024 um 17:29:16 UTC+2: > >> Many Tnx for the info, now i fid this! >> >> Now give a unique URL for the station. A Weather Underground >> URL such as https://www.wunderground.com/dashboard/pws/KORPORT12 will do. >> Unique URL: https://stationsweb.awekas.at/index.php?id=34255 >> Saving configuration file /etc/weewx/weewx.conf >> Traceback (most recent call last): >> File "/usr/lib/python3.9/shutil.py", line 806, in move >> os.rename(src, real_dst) >> PermissionError: [Errno 13] Permission denied: '/etc/weewx/weewx.conf' -> >> '/etc/weewx/weewx.conf.20240208172027' >> >> During handling of the above exception, another exception occurred: >> >> Traceback (most recent call last): >> File "/usr/share/weewx/weectl.py", line 74, in <module> >> main() >> File "/usr/share/weewx/weectl.py", line 66, in main >> namespace.func(namespace) >> File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch >> namespace.action_func(config_dict, namespace) >> File "/usr/share/weewx/weectllib/station_cmd.py", line 311, in >> reconfigure_station >> weectllib.station_actions.station_reconfigure(config_dict=config_dict, >> File "/usr/share/weewx/weectllib/station_actions.py", line 183, in >> station_reconfigure >> backup_path = weecfg.save(config_dict, config_dict['config_path'], >> not no_backup) >> File "/usr/share/weewx/weecfg/__init__.py", line 224, in save >> backup_path = weeutil.weeutil.move_with_timestamp(config_path) >> File "/usr/share/weewx/weeutil/weeutil.py", line 1697, in >> move_with_timestamp >> shutil.move(path, newpath) >> File "/usr/lib/python3.9/shutil.py", line 820, in move >> copy_function(src, real_dst) >> File "/usr/lib/python3.9/shutil.py", line 435, in copy2 >> copyfile(src, dst, follow_symlinks=follow_symlinks) >> File "/usr/lib/python3.9/shutil.py", line 264, in copyfile >> with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst: >> PermissionError: [Errno 13] Permission denied: >> '/etc/weewx/weewx.conf.20240208172027' >> >> vince schrieb am Mittwoch, 7. Februar 2024 um 22:29:26 UTC+2: >> >>> Another terribly bad problem report. Please read >>> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user for how >>> to provide enough information for people to try to help.... >>> >>> But given your minimal information.... >>> >>> Why did you answer yes for installing weewx if it was already there and >>> installed ? >>> >>> Suggest you try 'sudo apt-get update' and then 'sudo apt-get upgrade' if >>> you are trying to upgrade from initial 5.0.0 to the latest revision... >>> >>> On Wednesday, February 7, 2024 at 12:20:46 PM UTC-8 Daniel Fourlas wrote: >>> >>>> >>>> pi@SunSDR-pi4:~ $ sudo apt-get install weewx >>>> Reading package lists... Done >>>> Building dependency tree... Done >>>> Reading state information... Done >>>> weewx is already the newest version (5.0.0-1). >>>> 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. >>>> 1 not fully installed or removed. >>>> After this operation, 0 B of additional disk space will be used. >>>> Do you want to continue? [Y/n] y >>>> Setting up weewx (5.0.0-1) ... >>>> Using root:root as user:group >>>> Using debconf configuration values from previous install >>>> 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: ¦ ¦ >>>> dpkg: error processing package weewx (--configure): >>>> installed weewx package post-installation script subprocess returned >>>> error exit status 2 >>>> Errors were encountered while processing: >>>> weewx >>>> E: Sub-process /usr/bin/dpkg returned an error code (1) >>>> >>> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6930e2a7-deea-4112-ae35-c64249be6e84n%40googlegroups.com.