mgmeyers / obsidian-zotero-integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero into Obsidian.
GNU General Public License v3.0
1.06k stars 55 forks source link

Error processing PDF: error: expected object number #131

Open graceeelsa opened 1 year ago

graceeelsa commented 1 year ago
截屏2022-11-27 下午4 08 53

What can I do to solve this problem? Thank you very much!

Delta-in-hub commented 1 year ago

Same issue for certain pdf. But that pdf can be opened via pdf-reader.

Delta-in-hub commented 1 year ago

This pdf will cause this error.

Download Link1 or Download link2

Delta-in-hub commented 1 year ago

Same issue for certain pdf. But that pdf can be opened via pdf-reader.

Oh,I found that unlocking pdf solves this issue. Unlock PDF or qpdf --decrypt <source pdf> <destination pdf>

graceeelsa commented 1 year ago

Thank you, I understand how to deal with this problem! Thanks again!

Wanderers-lawyer commented 1 year ago

I've also had a similar issue recently, and I also try to unlock pdf to solve it. But the whole process is quite tedious. Have you found a better solution?

kkkkkino123 commented 1 year ago

I've also had a similar issue recently, and I also try to unlock pdf to solve it. But the whole process is quite tedious. Have you found a better solution?

I have one solution: the reason of pdf in zotero will be locked, it is assciated with zotfile setting. You can change the zotfile preference>general setting > location of files, choose the first one (attached stored copy of file)

like1river2east commented 1 year ago

I've also had a similar issue recently, and I also try to unlock pdf to solve it. But the whole process is quite tedious. Have you found a better solution?

I have one solution: the reason of pdf in zotero will be locked, it is assciated with zotfile setting. You can change the zotfile preference>general setting > location of files, choose the first one (attached stored copy of file)

I just check the setting and found that I've already choosen the first one (attached stored copy of file), but I still have this Error. How should I do?

neouen commented 1 year ago

I solved this problem by deleting the folder “obsidian-zotero-desktop-connector” in the “plugins” folder,which is actually the “pdf utility” on general setting of zotero intergration.