求助LS-WVL flexget 配置文件报错
本帖最后由 coolseetee 于 2013-3-10 16:53 编辑flexget --test提示配置文件错误
root@bOsOn-NAS:~# /opt/local/bin/flexget --test
2013-03-10 16:37 WARNINGmanager Config line 3 is likely missing ':' at the end
2013-03-10 16:37 CRITICAL manager mapping values are not allowed here\nin "/root/.config/flexget/config.yml", line 4, column 17
-------------------------------------------------------------------------------
Malformed configuration file, common reasons:
-------------------------------------------------------------------------------
o Indentation error
o Missing : from end of the line
o Non ASCII characters (use UTF8)
o If text contains any of :[]{}% characters it must be single-quoted (eg. value{1} should be 'value{1}')
Reason: mapping values are not allowed here
----> MOST LIKELY REASON: Missing : from end of the line!
Check configuration near line 3, column 16
Fault is almost always in this or previous line
root@bOsOn-NAS:~#
我的配置文件/root/.config/flexget/config.ymltask:
CHD:
rss: http://chdbits.org/torrentrss.php?rows=20&cat402=1&sta3=1&linktype=dl&passkey=XXXXXX
accept_all: true
transmission:
host: localhost
port: 9091
username: XXXXXX
password:XXXXXX照提示在第三行最后加:不行
改动第四行条件为if:等仍然报错
怀疑不是配置文件本身的问题 求大神指点一二 应该是第四行前进两格(删两空格)
后一样 宿醉冇醒 发表于 2013-3-10 18:09 static/image/common/back.gif
应该是第四行前进两格(删两空格)
后一样
照你的方法解决了 这缩进要求的还真是严格啊 谢谢你的指点哈
话说我的配置文件第一行就错了是tasks 少了个s
页:
[1]