View Single Post
Old 06-15-2023, 03:23 AM   #12
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,955
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
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?

Last edited by tomsem; 06-15-2023 at 03:36 AM.
tomsem is offline   Reply With Quote