-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zotero takes a list of filenames as argument #12
Comments
I still get another error though:
this means the check for success fails. it expects the "success" field to contain 0, but it doesn't. So what happens is that the remark pdf file is added to zotero, but the actual pdf file is not moved to where zotero expects it. This happens even after correcting the check for success. |
|
so, further analysis revealed that the api call uploads the remarks file to zotero's cloud storage even if one is using webdav storage, which leads to the file being inaccessible from the local client and ending up in the wrong location. |
Sorry for this bug, I don't use zotero's webdav storage. Could you use the pyzotero api to look at what the attachment metadata looks like for a .pdf file that is already on webdav? That will give a clue on how to replace / add the annotated file. |
line 198 should be
res = zot.attachment_simple([pdf_file], attachment['data']['parentItem'])
The text was updated successfully, but these errors were encountered: