View Single Post
Old 01-14-2021, 02:06 PM   #859
sweth
Connoisseur
sweth began at the beginning.
 
Posts: 68
Karma: 10
Join Date: May 2015
Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe
Using that beta, the test annotations from the User Guide did get imported, but nothing else. The resulting debug log is 10MB, though (I have a *huge* library)...

Relatedly, I can confirm that the current search in the UI definitely limits what shows up in the initial path_map; I first searched for "annotations" (using search, not any virtual library) as described above to find my annotations scratch file and the path_map in the log is

Quote:
DEBUG: 153.0 path_map={10960: {'path': u'/<storage>/Carroll, Lewis/More Annotated Alice - Carroll, Lewis & Gardner, Martin [annotations].bookmark', 'fmts': []}, 10961: {'path': u'/<storage>/Carroll, Lewis/Annotated Alice, The - Carroll, Lewis & Gardner, Martin [annotations] & Tenniel, John [illustration].bookmark', 'fmts': [u'epub', u'kepub', u'mobi']}, 17395: {'path': u'/<storage>/Chandramouli, Sweth/Annotations Scratch - Chandramouli, Sweth.bookmark', 'fmts': [u'txt']}, 10958: {'path': u'/<storage>/Carroll, Lewis/Annotated Alice_ 150th Anniversary Deluxe Edition, The - Carrol Martin [annotations] & Burstein, Mark & Tenniel, John.bookmark', 'fmts': []}}
and the process took less than a second; I then cleared the search and ran the import again and it took 8 minutes to run and the resulting path_map debug line is around 2.7MB long.

(ETA: trimmed the 70k lines of resolve_path and that giant path_map and sent you the rest of the file via link in DM.)

Last edited by sweth; 01-14-2021 at 02:14 PM.
sweth is offline   Reply With Quote