如何修复 bellows Error: Invalid value for -D / --database: File /home/user/.config/bellows/app.db does not exist

问题:

运行

bellows-devices.sh
bellows devices

你看到此错误消息:

error.txt
Error: Invalid value for "-D" / "--database": File "/home/uli/.config/bellows/app.db" does not exist.

解决方案

只需创建目录并为数据库创建空文件:

init-db.sh
mkdir -p ~/.config/bellows
touch ~/.config/bellows/app.db

然后重试运行你的原始命令,如

bellows-devices.sh
bellows devices

Check out similar posts by category: Python, Zigbee