-
Notifications
You must be signed in to change notification settings - Fork 682
Open
Labels
Description
描述问题 (Describe the bug)
4.1.0版本正常,之后版本后都不可以使用
版本信息 (version info)
- OS Version: uname -a
Linux armbian 6.6.66-Gavin #1 SMP Mon Dec 16 12:37:42 EST 2024 aarch64 GNU/Linux - Type(运行方式): Binary
- related issues (相关问题):
- ddns --version 输出:
gavin@armbian:~$ ./ddns-glibc-linux_arm64 --version
v4.1.3 (2025-11-18T09:59:18Z)
Python-3.8.17 default (Jun 13 2023 12:24:40)
Linux-6.6.66-Gavin aarch64 ('64bit', '')
__nuitka_version__(major=2, minor=8, micro=5, releaselevel='release', containing_dir='/home/gavin', standalone=True, onefile=True, macos_bundle_mode=False, no_asserts=True, no_docstrings=True, no_annotations=True, module=False, main='__main__', original_argv0='./ddns-glibc-linux_arm64')复现步骤 (To Reproduce)
配置 (config)
{
"$schema": "https://ddns.newfuture.cc/schema/v4.1.json",
"ssl": "auto",
"cache": "/tmp/ddns/cache",
"log": {"level": "INFO", "file": "/tmp/ddns/ddns.log"},
"index4": "url:https://checkip.*****.com",
"index6": "url:https://checkipv6.*****.com",
"providers": [
{
"provider": "cloudflare",
"token": "****************",
"ipv6": ["********.xyz"],
},
{
"provider": "cloudflare",
"token": "****************",
"ipv6": ["****.dpdns.org"],
}
]
}调试输出 (debug output)
Successfully loaded config file with AST parser: /App/DDNS/n1-ddns.json
Traceback (most recent call last):
File "/tmp/DDNS_4.1.3/run.py", line 21, in <module>
File "/tmp/DDNS_4.1.3/ddns/__main__.py", line 120, in main
File "/tmp/DDNS_4.1.3/ddns/config/__init__.py", line 143, in load_configs
File "/tmp/DDNS_4.1.3/ddns/config/__init__.py", line 66, in _setup_logging
File "/tmp/DDNS_4.1.3/logging/__init__.py", line 1988, in basicConfig
File "/tmp/DDNS_4.1.3/logging/__init__.py", line 1147, in __init__
File "/tmp/DDNS_4.1.3/logging/__init__.py", line 1176, in _open
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ddns/ddns.log'
gavin@armbian:~$ rm -rf /tmp/DDNS_4.1.
DDNS_4.1.0/ DDNS_4.1.1/ DDNS_4.1.3/
补充说明 (Additional context)
从4.1.0版本后都不可以使用
Copilot