View Single Post
Old 06-27-2016, 08:27 PM   #35
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
@petzi:


Calibredb appears to take in the given filename, and "cleans it" to be harmonious with Calibre. It then adds it to Calibre. However, if several filenames become identical after the cleaning process, then only the very first one will be added to Calibre. Calibre will say "duplicate book", and ignore it. It really is not a duplicate in the Zotero storage folder, but remember that Calibre "cleans it", making duplicates dynamically. Example of leading characters in a filename that calibredb will pretend are not there when given to it via the command-line parameter: "." "_" "._" and similar.


[1] Try renaming your filenames so none start with "." or "_" or any other characters that calibredb will "clean" so that calibredb does not treat the path differently than it was given to it by ZMI per the Zotero CSV. When it treats it differently, it will of course not be able to find the file to import it!


[2] You have many file attachments that have multiple file paths in the same column of the same row, separated by a semicolon (";"). Example:

Code:
/Users/peterb/Library/Application Support/Firefox/Profiles/6kbcf8zv.Standard/zotero/storage/EVS5ZD7H/Austria_piaac-erhebung_2011_12.pdf; /Users/peterb/Library/Application Support/Firefox/Profiles/6kbcf8zv.Standard/zotero/storage/PV6N9NSG/idcplg.pdf
This will not work. One (1) .pdf per CSV row per CSV Key (first column).


[3] You have file attachments with single quotes in their filenames. Calibre will "clean" it, and hence never be able to find it. Example:

._[THESIS TITLE GOES HERE] - 'Georgia' Tech Thesis Office.pdf
is treated by calibredb as if it were:
[THESIS TITLE GOES HERE] - Georgia Tech Thesis Office.pdf


[4] Could you please test this very specific file attachment? I can find nothing wrong with it, and it should work perfectly. If it does not, please send me the debug log for that execution of ZMI.

Quote:
/Users/peterb/Library/Application Support/Firefox/Profiles/6kbcf8zv.Standard/zotero/storage/FG93WTHN/Murray et al_1998_Adult Literacy in OECD Countries.pdf

[5] You have a lot of .html files as attachments. Do you want those imported into Calibre too? Not just .pdf, .epub, etc.?




DaltonST
DaltonST is offline   Reply With Quote