(beets) configuration error: import must be a collection, not NoneType
(beets) configuration error: import must be a collection, not NoneType
我post在那里,因为我只能在甜菜邮件列表中找到答案,那里:http://news.gmane.org/gmane.comp.audio.beets.user/cutoff=173
下面几行是什么意思:
$ beet import /home/music
configuration error: import must be a collection, not NoneType
我该如何解决这个问题?
感谢 Adrian Sampson 的回答:
This means that your configuration file contains a line like this:
import:
all alone, with nothing under it. In YAML, that means "set the config option called import
to null". You probably meant to do something like this:
import:
copy: no
write: no
Maybe you accidentally added a blank line, or failed to indent the following lines?
我post在那里,因为我只能在甜菜邮件列表中找到答案,那里:http://news.gmane.org/gmane.comp.audio.beets.user/cutoff=173
下面几行是什么意思:
$ beet import /home/music
configuration error: import must be a collection, not NoneType
我该如何解决这个问题?
感谢 Adrian Sampson 的回答:
This means that your configuration file contains a line like this:
import:
all alone, with nothing under it. In YAML, that means "set the config option called
import
to null". You probably meant to do something like this:import: copy: no write: no
Maybe you accidentally added a blank line, or failed to indent the following lines?