-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在linux服务器配置出现的问题 #2
Comments
提示没找到["setting"]["account"]["email"],你的config文件配置可能有问题,检查一下是不是 |
email: [email protected] |
缩进有问题,请仔细阅读config.yaml.example |
按照示例模板改的 |
|
setting: |
|
在linux /root/cdn/config/config.yaml |
文件名 |
config.yaml |
什么系统版本,我刚刚在Ubuntu 22.04lts上跑通了全流程 |
debian11,在本地win10也出现这样的问题 |
Windows和debian的python版本一样吗,版本号是多少 |
确实存在这个问题,但改用json后解决了 |
Traceback (most recent call last):
File "/root/cdn/main.py", line 95, in
main()
File "/root/cdn/main.py", line 21, in main
email = config_data["setting"]["account"]["email"]
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: