Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

关于配置问题 #46

Closed
shenjian216 opened this issue Dec 24, 2018 · 1 comment
Closed

关于配置问题 #46

shenjian216 opened this issue Dec 24, 2018 · 1 comment

Comments

@shenjian216
Copy link

shenjian216 commented Dec 24, 2018

你好,我想请问下我配置好了config.gsil.example文件,配置信息如下:
[mail]
host : smtp.exmail.qq.com
port : 25
mails : 10***13@qq.com
from : GSIL
password : 上述qq邮箱的密码
to : feei@feei.cn
cc : feei@feei.cn

[github]
clone: false
tokens : 我自己账号github上token

还是出现了如下错误:
E:\python\python.exe E:/git/Git/gsil/gsil.py
github tokens
GSIL/config.gsil file configure failed.
Error: No section: 'github'
Traceback (most recent call last):
File "E:\git\Git\gsil\gsil\config.py", line 42, in get
value = config.get(level1, level2)
File "E:\python\lib\configparser.py", line 780, in get
d = self._unify_values(section, vars)
File "E:\python\lib\configparser.py", line 1146, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'github'
2018-12-24 16:21:00,855 [GSIL] [CRITICAL] github -> tokens sections error Traceback (most recent call last):
File "E:\git\Git\gsil\gsil\config.py", line 53, in
if ',' in tokens:
TypeError: argument of type 'NoneType' is not iterable
我想请问下是哪里出了问题,谢谢了。

@FeeiCN
Copy link
Owner

FeeiCN commented Dec 25, 2018

tokens配置有问题,注意分号要半角

@FeeiCN FeeiCN closed this as completed Dec 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants