Closed flyjinhui closed 1 year ago
补充了一些文档,现在应该足够简单了。
补充了一些文档,现在应该足够简单了。
谢谢大佬 终于用上了
大佬,麻烦看看报错怎么回事 下面是docker的日志 <!DOCTYPE html>
date | stream | content |
---|---|---|
2023-02-05T17:35:38.905740266Z | stdout | _rtoml.TomlParsingError: unexpected character found: `\u{89e6}` at line 21 column 20 |
2023-02-05T17:35:38.905641986Z | stdout | return _rtoml.deserialize(toml) |
2023-02-05T17:35:38.905554722Z | stdout | File "/usr/local/lib/python3.10/site-packages/rtoml/__init__.py", line 35, in loads |
2023-02-05T17:35:38.905518666Z | stdout | return loads(toml) |
2023-02-05T17:35:38.905302217Z | stdout | File "/usr/local/lib/python3.10/site-packages/rtoml/__init__.py", line 26, in load |
2023-02-05T17:35:38.905268466Z | stdout | cfg = edict(rtoml.load(Path(self.path))) |
2023-02-05T17:35:38.905229675Z | stdout | File "/app/conf/__init__.py", line 14, in parse_conf |
2023-02-05T17:35:38.905179948Z | stdout | config = Config(path="./conf/config.toml").parse_conf() |
2023-02-05T17:35:38.905095987Z | stdout | File "/app/conf/__init__.py", line 21, in <module> |
2023-02-05T17:35:38.905057739Z | stdout | from conf import config |
2023-02-05T17:35:38.904902781Z | stdout | File "/app/utils/limiter.py", line 1, in <module> |
2023-02-05T17:35:38.904871203Z | stdout | from utils.limiter import player_apply_limit |
2023-02-05T17:35:38.904824378Z | stdout | File "/app/routes/emby.py", line 3, in <module> |
2023-02-05T17:35:38.904783498Z | stdout | from routes.emby import bp_emby |
2023-02-05T17:35:38.904716885Z | stdout | File "/app/routes/__init__.py", line 2, in <module> |
2023-02-05T17:35:38.904676582Z | stdout | from routes import bp_player |
2023-02-05T17:35:38.904578447Z | stdout | File "/app/main.py", line 2, in <module> |
2023-02-05T17:35:38.904491304Z | stdout | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed |
2023-02-05T17:35:38.904392526Z | stdout | File "<frozen importlib._bootstrap_external>", line 883, in exec_module |
2023-02-05T17:35:38.904284603Z | stdout | File "<frozen importlib._bootstrap>", line 688, in _load_unlocked |
2023-02-05T17:35:38.904193685Z | stdout | File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked |
2023-02-05T17:35:38.904144015Z | stdout | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load |
2023-02-05T17:35:38.904034507Z | stdout | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import |
2023-02-05T17:35:38.903984181Z | stdout | return _bootstrap._gcd_import(name[level:], package, level) |
2023-02-05T17:35:38.903699643Z | stdout | File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module |
2023-02-05T17:35:38.903659838Z | stdout | module = import_module(import_name) |
2023-02-05T17:35:38.903389731Z | stdout | File "/usr/local/lib/python3.10/site-packages/hypercorn/utils.py", line 115, in load_application |
2023-02-05T17:35:38.903336012Z | stdout | load_application(config.application_path, config.wsgi_max_body_size) |
2023-02-05T17:35:38.903072254Z | stdout | File "/usr/local/lib/python3.10/site-packages/hypercorn/run.py", line 41, in run |
2023-02-05T17:35:38.903033821Z | stdout | run(config) |
2023-02-05T17:35:38.902821825Z | stdout | File "/usr/local/lib/python3.10/site-packages/hypercorn/__main__.py", line 287, in main |
2023-02-05T17:35:38.902765897Z | stdout | sys.exit(main()) |
2023-02-05T17:35:38.902143064Z | stdout | File "/usr/local/bin/hypercorn", line 8, in <module> |
2023-02-05T17:35:38.901557352Z | stdout | Traceback (most recent call last): |
2023-02-05T17:35:38.150407205Z | stdout | 更新成功... |
2023-02-05T17:35:38.149805424Z | stdout | HEAD is now at 4660cc8 Merge pull request #7 from DDS-Derek/main |
2023-02-05T17:35:38.137127277Z | stdout | * branch main -> FETCH_HEAD |
2023-02-05T17:35:38.137012391Z | stdout | From https://github.com/Steve0x2a/DLimiter |
2023-02-05T17:35:38.133083146Z | stdout | remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0[K |
2023-02-05T17:35:36.951019484Z | stdout | 更新程序... |
大佬,麻烦看看报错怎么回事 下面是docker的日志
Dlimiter1
date stream content 2023-02-05T17:35:38.905740266Z stdout _rtoml.TomlParsingError: unexpected character found:
\u{89e6}
at line 21 column 20 2023-02-05T17:35:38.905641986Z stdout return _rtoml.deserialize(toml) 2023-02-05T17:35:38.905554722Z stdout File "/usr/local/lib/python3.10/site-packages/rtoml/init.py", line 35, in loads 2023-02-05T17:35:38.905518666Z stdout return loads(toml) 2023-02-05T17:35:38.905302217Z stdout File "/usr/local/lib/python3.10/site-packages/rtoml/init.py", line 26, in load 2023-02-05T17:35:38.905268466Z stdout cfg = edict(rtoml.load(Path(self.path))) 2023-02-05T17:35:38.905229675Z stdout File "/app/conf/init.py", line 14, in parse_conf 2023-02-05T17:35:38.905179948Z stdout config = Config(path="./conf/config.toml").parse_conf() 2023-02-05T17:35:38.905095987Z stdout File "/app/conf/init.py", line 21, in2023-02-05T17:35:38.905057739Z stdout from conf import config 2023-02-05T17:35:38.904902781Z stdout File "/app/utils/limiter.py", line 1, in 2023-02-05T17:35:38.904871203Z stdout from utils.limiter import player_apply_limit 2023-02-05T17:35:38.904824378Z stdout File "/app/routes/emby.py", line 3, in 2023-02-05T17:35:38.904783498Z stdout from routes.emby import bp_emby 2023-02-05T17:35:38.904716885Z stdout File "/app/routes/init.py", line 2, in 2023-02-05T17:35:38.904676582Z stdout from routes import bp_player 2023-02-05T17:35:38.904578447Z stdout File "/app/main.py", line 2, in 2023-02-05T17:35:38.904491304Z stdout File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed 2023-02-05T17:35:38.904392526Z stdout File "<frozen importlib._bootstrap_external>", line 883, in exec_module 2023-02-05T17:35:38.904284603Z stdout File "<frozen importlib._bootstrap>", line 688, in _load_unlocked 2023-02-05T17:35:38.904193685Z stdout File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked 2023-02-05T17:35:38.904144015Z stdout File "<frozen importlib._bootstrap>", line 1027, in _find_and_load 2023-02-05T17:35:38.904034507Z stdout File "<frozen importlib._bootstrap>", line 1050, in _gcd_import 2023-02-05T17:35:38.903984181Z stdout return _bootstrap._gcd_import(name[level:], package, level) 2023-02-05T17:35:38.903699643Z stdout File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module 2023-02-05T17:35:38.903659838Z stdout module = import_module(import_name) 2023-02-05T17:35:38.903389731Z stdout File "/usr/local/lib/python3.10/site-packages/hypercorn/utils.py", line 115, in load_application 2023-02-05T17:35:38.903336012Z stdout load_application(config.application_path, config.wsgi_max_body_size) 2023-02-05T17:35:38.903072254Z stdout File "/usr/local/lib/python3.10/site-packages/hypercorn/run.py", line 41, in run 2023-02-05T17:35:38.903033821Z stdout run(config) 2023-02-05T17:35:38.902821825Z stdout File "/usr/local/lib/python3.10/site-packages/hypercorn/main.py", line 287, in main 2023-02-05T17:35:38.902765897Z stdout sys.exit(main()) 2023-02-05T17:35:38.902143064Z stdout File "/usr/local/bin/hypercorn", line 8, in 2023-02-05T17:35:38.901557352Z stdout Traceback (most recent call last): 2023-02-05T17:35:38.150407205Z stdout 更新成功... 2023-02-05T17:35:38.149805424Z stdout HEAD is now at 4660cc8 Merge pull request #7 from DDS-Derek/main 2023-02-05T17:35:38.137127277Z stdout * branch main -> FETCH_HEAD 2023-02-05T17:35:38.137012391Z stdout From https://github.com/Steve0x2a/DLimiter 2023-02-05T17:35:38.133083146Z stdout remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0�[K 2023-02-05T17:35:36.951019484Z stdout 更新程序...
@flyjinhui 目测是你的配置格式不正确
如果还有问题,请另开issue
是直接解压文件到群晖本地,然后ssh 运行那个代码就可以了吗?