29 Nov 2022
Initial review of your 3 zmidebug.txt files:
[1] db.add_books complete for new book id: 3706 zkey_file: R <<<=== Invalid Format for a ZKEY (Zotero KEY in its storage.db)
[11] I believe that the aborted execution was caused by random file attachment path punctuation characters, such as a semi-colon, ";", as in: Dufour - 1980 - Effects of Noise on Wildlife and Other Animals; Re2.pdf
[33] db.add_books complete for new book id: 3707 zkey_file: DOWL HKM <<<=== Invalid Format for a ZKEY (Zotero KEY in its storage.db) However, since book 3707 had no file attachment, it didn't matter.
The two (2) books that were successfully added did NOT have a file attachment path using: Y:\\
The path for the attachment is a network path: Y:\\
Quote:
zotero_csv_list: ['A2EZLLBK', 'report', '2019', 'USDOT', 'Anton Larsen Bay Road Extension; Kodiak Island Borough, Alaska', '', '', '', '', 'https://highways.dot.gov/sites/fhwa.dot.gov/files/docs/federal-lands/projects/31236/albre_public-ea_vol-i_dec2019signed.pdf', '', '2019-12-17', '2022-10-17 00:20:34', '2022-10-18 00:11:43', '2022-10-17 00:20:12', '97', '', '', '', '', '', '', '', '', '', '', 'U.S. Department of Transportation, Federal Highway Administration, Western Federal Lands Highway Division', 'Kodiak, AK', 'en', '', 'Environmental Assessment', '', '', '', '', '', '', 'Y:\\HS&E\\Permitting\\Zotero_References\\USDOT\\U SDOT - 2019 - Anton Larsen Bay Road Extension; Kodiak Island Bor.pdf', '', 'EA; NEPA; FHWA; USDOT; road; Kodiak; public; AFLHD', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'AK TR OUZI 2017(1)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']
|
Initial thoughts:
A. The use of a non-standard storage location for your Zotero file attachments is causing these problems: Y:\\........\\.......\\....
B. Refer to the attached diagram of how standard Zotero is
supposed to work, and thus how ZMI
does work.
C. You might have to use some technical legerdemain to make your networked Zotero storage location work with ZMI. Perhaps manually doing a search-and-replace in the Zotero export .CSV of the Y:\\........\\.......\\.... path to a local drive path that is itself mapped to your real Y:\\ path? I do not know the correct answer for you. Just note that the two (2) books that were successfully added in [33] did NOT have a file attachment path using: Y:\\, since they were "empty", causing ZMI to add only place-holder .txt documents.
I do not use Symlinks, but in case they are applicable to you, see: How to create Symlinks in Windows 11/10/8/7
: https://www.technospot.net/blogs/how...inks-in-vista/
Added: It is possible that you could also be having a security "permissions" error when ZMI in Calibre tries to retrieve the .pdf file from your network (cloud?) storage path: Y:\\........\\.......\\....
Added: Windows uses "\" in paths; Linux and Apple use "/" in paths. "\" is also control character meaning "consider the next character as a normal character, and not as any type of special control character". Perhaps the OS under which your .csv file was created added the backslashes to the path column, which would be wrong since a .csv file is always text. So, does your Y:\\........\\.......\\.... really mean (or should be) Y:\........\.......\....? If so, that is an easy fix. Simply change the .csv data to use \ instead of \\ in that particular column.
D. Regarding the use of random punctuation characters in your Y:\\........\\.......\\.... path that apparently are causing OS file operation errors in ZMI, I will think about what I can do to resolve that issue within ZMI. Note that Calibre itself forbids any such characters in its book paths, just as Calibre does not support networked Calibre Libraries.
E. I need to see a screen-snip of your ZMI Configuration Tab.
Added: Please install the .zip file for ZMI attached below. It has more debug statements, and also will change any ";" into a " " before creating a temp file in ZMI.
DaltonST