-
-
Notifications
You must be signed in to change notification settings - Fork 55
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 7 and annotations not importing anymore #385
Comments
I've just noticed this issue as well. No annotations being imported since upgrading to Zotero 7 |
I have the same issue. Annotations and even Zotero links are not importing anymore. (Version: 3.2.1) |
Same issue here. No annotations since Zotero 7 |
Hi all. Please uninstall and reinstall the better bibtex plugin and see if that fixes the issue for you. |
Just tried, didn't seem to work. Opened a paper in the data explorer that has annotations and it still returns 0. Edit: Tried uninstalling the obsidian plugin as well and doing a fresh install. Same issue occurs |
Hmm strange. Not really sure what could be going on. Annotations seem to be coming through just fine on my end. |
No I have tried this as well. How are you pulling the annotations ? Is there something we can look at in a better bibtex export? The issue right now is data explorer is not showing any annotations that are generated in / with Zotero 7, so the template has nothing to import. If it is helpful I am on a Mac OS X M2 machine. |
@NanamiKubota Are there any annotations listed under either of the attachments? |
As I was looking at this thread, I thought I'd try one more thing. I got myself the Zotero API and printed out the full dump of an item that I am trying to import using both Zotero 7 and Zotero 6 e.g. in a simple python script: from pyzotero import zotero #Create a Zotero instance #Retrieve the item by its ID item_id ='UVI7FDW8' #Retrieve the children of the item #Print the item's data and its children What is bizarre is the output of that newly created entry in both Zotero 6 and 7 looked completely sensible to me (and the same) if I create the pdf and highlight the same section in both Zotero 6 and 7. So then I tried reimporting the same entry from Zotero 7 with obsidian and lo and beyond it works now. I have tried now to reproduce the lack of importing in Zotero 7 with new Zotero entries and old Zotero entries etc but now everything imports properly. Unfortunately I can't tell what fixed it (me running the script or just something else in my system that changed ) but on my side Zotero 7 and annotation importing seems to work now. |
I can now get new highlights made in Zotero 7 (but not old annotation from Zotero 6) imported into Obsidian. Things that worked:
Things that do not work:
Other issues:
|
I too noticed yesterday that annotations weren't importing anymore. Similarly to @NanamiKubota, I've found it to be related to having multiple attachments to an item. All of my Zotero items have at least one extra attachment created by the Notero plugin. My workaround is to temporarily move any extra attachments to the Zotero bin while I import my annotations to Obsidian, then restore them. This works fine - the annotations now appear in the Data Explorer and can be imported to a note. I haven't noticed any issue with old/new annotations, but possibly because I don't tend to annotate within Zotero itself, but using another pdf editor, so the annotations are embedded in the pdf file. Also: |
I can confirm this now what others have said above as I just hit the same problem again and realized @flogrows and @NanamiKubota solution actually works for me. The issue is if there is another attachment in Zotero 7 nothing gets imported. (In fact I was getting hit by the pubmed link issue with the connector which had not been a problem with zot. 6) However if one removes the other attachment the importing works fine. If I delete or temporarily move the attachment during import I can import fine. (The reason I thought the problem was fixed was I was "testing" Zotero by just moving a single test PDF into zotero so did not have the attachments I typically get when I use Zotero connector to import pdfs from a web browser. As an aside I wonder if we could also fix the multiple attachments issue with regards to annotations. I noticed with Zotero 6 the template would randomly pick one pdf (if there are supplementary pdfs to look at). It would be great if it scanned through all pdfs (or annotatable things) and imported all of those as part of the import. |
Adding on to note that I finally was able to import both old annotations from Zotero 6 and new annotations from Zotero 7 using my custom template. Previously, I had issues where Zotero Data Explorer showed both new and old annotations for my custom template but when I went to import using my custom template, only the new annotations came up. To get the import to work, I had to delete my old Obsidian entry from the Zotero 6 era and make a new entry via Zotero import, rather than appending new annotations to the old Obsidian document using the {% persist "annotations" %} line in my custom template. |
Ok, finally figured out what's going on here. Non-file attachments are causing errors in better bibtex (my fault). The next version of the Better Bibtex plugin will fix the issue. |
Hey thank you so much for fixing this so proactively! Super appreciated! |
Thank you so much! Really appreciate the time and effort. This plugin has been a life-saver! |
Ok, please update better bibtex and see if that fixes things for you. |
Yes, all good now! Thanks so much :) |
Will support for annotations on non-PDF files be added? If I annotate, say, a webpage in Zotero 7 the annotations don't show up in Zotero Data Explorer, but the annotations for PDFs do. |
I have Zotero 7.0.5 and betterbibtex 6.7.227 on Linux. When i want to import the notes in Obsidian, the error console in Zotero says: `Error: ae:sql:get: undefined is not a string but a undefined 3 better-bibtex.js:17183:48 TypeError: this.gViewSourceUtils is undefined webconsole.js:223:5 ` |
With Zotero 6 and the integration plugin, annotations imported perfectly. With Zotero 7 annotations aren't showing up at all. If I use data explorer to look at all the entries annotations are empty. However if I open Zotero 6 and create annotations in Zotero 6, everything works perfectly.
What is odd about this is if I create an annotation in Zotero 7, Zotero 6 sees it but obsidian still will not import it in while connecting to Zotero 6 (e.g. seeing the annotation created in Zotero 7 but trying to import from Zotero 6).
The only way annotations are working currently is if I create new annotations in Zotero 6 and then import from Zotero 6, the obsidian plugin works.
I can't tell if this is a better bibtex bug or a Zotero integration bug but something is not talking to something properly with the new annotation approaches built into Zotero 7.
regards
avi
The text was updated successfully, but these errors were encountered: