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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/90760d5f-3fdb-4c43-816e-bc5cbae4ca15n%40googlegroups.com.

Reply via email to