I had the error recur and ran
calibre-debug -g to see what might have been the trigger.
Saw this:
Quote:
Traceback (most recent call last):
File "calibre/gui2/main.py", line 331, in initialize_db
File "calibre/db/legacy.py", line 195, in __init__
File "calibre/db/legacy.py", line 50, in create_backend
File "calibre/db/backend.py", line 507, in __init__
File "calibre/db/backend.py", line 2011, in ensure_trash_dir
File "calibre/db/backend.py", line 2035, in expire_old_trash
File "calibre/db/backend.py", line 413, in rmtree_with_retry
File "shutil.py", line 717, in rmtree
File "shutil.py", line 630, in _rmtree_safe_fd
File "shutil.py", line 626, in _rmtree_safe_fd
NotADirectoryError: [Errno 20] Not a directory: '/Users/thomas/Library/CloudStorage/OneDrive-Personal/calibre/.caltrash/b/.DS_Store'
|
.DS_Store is a Finder artifact, no idea how it could have wound up in there (there was another in .caltrash/), or even if it could cause the issue I'm seeing. But it's gone now, and so far, so good.
The
library_usage_stat turd has remained 'gone'. Apparently it's created when one select the library folder with system dialog, where you only see 'OneDrive'. Is Qt not returning real path or something?