pyborg-1up icon indicating copy to clipboard operation
pyborg-1up copied to clipboard

Error loading dictionary

Open TXMCtrades opened this issue 6 years ago • 1 comments

The bot keeps making a new dictionary each time I restart it. I always get this message:

INFO:pyborg.pyborg:Reading dictionary... ERROR:pyborg.pyborg:[Errno 2] No such file or directory: '/root/.config/pyborg/brains/current.pyborg.json' INFO:pyborg.pyborg:Error reading saves. New database created.

Why isn't pyborg.json ever there? What would prevent it from saving? Thanks

TXMCtrades avatar Nov 06 '19 23:11 TXMCtrades

This is a spurious error, you can use that file as a shortcut to a specific save-file. Try explicitly setting the save-file/ brain pyborg http --brain my.pyborg.json

jrabbit avatar Nov 10 '19 17:11 jrabbit