yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link

sqlite3.OperationalError - wal mode #514

Closed dschense closed 7 years ago

dschense commented 7 years ago

I have two machines running Arch Linux. Both of them running the same Version: acdcli version acd_cli 0.3.2, api 0.9.0

Python 3.6.0

On one machine everything is working normal. init, sync, ls, upload, download. Its working. But on the other machine, the first acdcli sync is working, but the second and avery other command results in:

Traceback (most recent call last): File "/usr/bin/acd_cli", line 11, in <module> load_entry_point('acdcli==0.3.2', 'console_scripts', 'acd_cli')() File "/usr/bin/acd_cli.py", line 1574, in main cache = db.NodeCache(CACHE_PATH, SETTINGS_PATH, args.check) File "/usr/lib/python3.6/site-packages/acdcli/cache/db.py", line 78, in __init__ self._execute_pragma('journal_mode', self._conf['sqlite']['journal_mode']) File "/usr/lib/python3.6/site-packages/acdcli/cache/db.py", line 88, in _execute_pragma c.execute('PRAGMA %s=%s;' % (key, value)) sqlite3.OperationalError: cannot change into wal mode from within a transaction

any body who knows what the problem is?!

yadayada commented 7 years ago

Duplicate of #509.