MacOS: Imported library from Mendeley, problem with highlights

I've just imported my library from Mendeley. I can see annotations as child notes but there are no highlights on the documents (I checked and they do appear in the online Mendeley Reference Manager). What should I do?

Reviewed a copule of posts before this but didn't find answer, sorry if it's a repetition.
  • What do you mean by "I can see annotations as child notes"?

    If you click on the parent item of one of the affected attachments in your Zotero web library, what's the URL in the address bar?
  • Only two attachments in your library have annotations.

    How many have annotations in your Mendeley online library?
  • edited October 25, 2022
    Thanks for response @dstillman !

    I have many annotations and many highlights in Mendeley online library (like, A LOT).
    When I open them on Zotero after import, there is parent item, and there is "child item" (a note below parent) that says "extracted annotations". When I open PDF in the reader, these extracted annotations open only in side bar on the right. They are not linked in anyway to the pdf body. No highlights on any PDF.

    An example of that would be: https://www.zotero.org/monikaerva/search/lincoln/titleCreatorYear/items/P9SAUVH5/item-list

    One more thing - I used ZotFile to put the PDFs on OneDrive. Is that possibly causing the problem?
  • Sorry, I confused the tag ;) @dstillman
  • edited October 25, 2022
    There's some confusion here. There were "Extracted Annotations" notes created by an old version of ZotFile for Zotero 5 and earlier, but that version doesn't even run in Zotero 6, which has its own annotation support and annotation extraction. So I'm not sure how you ended up with all of those notes unless you previously used Zotero and exported items to Mendeley or something like that. Or you actually performed the import (and the ZotFile annotation extraction on all of these items) using Zotero 5, which didn't import Mendeley annotations.

    And, actually, I'm not sure your "Extracted Annotations" notes were from ZotFile at all. There's some code in them that I don't think ZotFile ever used. Do those notes appear in Mendeley? They're not a standard thing there either, so if so, they would've had to have been something you created with some other tool.

    If you haven't made changes to the imported items in Zotero, can you provide a Debug ID from Zotero for repeating the import from Mendeley? It will update your previously imported items, but it shouldn't touch other items.
  • edited October 25, 2022
    One more thing - I used ZotFile to put the PDFs on OneDrive.
    @MonikaErva: Current versions of ZotFile should properly transfer annotations to new linked attachments. If you were somehow using an old version of ZotFile, that would wipe out imported annotations. And it's possible there's some other bug in the current version that could cause them to be wiped out, though we haven't heard of that.

    Best I can suggest is to run the importer again and check the imported PDFs for annotations before using ZotFile on them. If you converted all your attachments to linked files, reimporting may actually create duplicates of all of your now-linked files. But we can only provide support for the items imported by Zotero, not for anything potentially done by ZotFile.
  • "So I'm not sure how you ended up with all of those notes unless you previously used Zotero and exported items to Mendeley or something like that. Or you actually performed the import (and the ZotFile annotation extraction on all of these items) using Zotero 5, which didn't import Mendeley annotations."

    -- this is the first time I'm using Zotero or ZotFile and I have downloaded them yesterday so both of them are the most recent versions. I have not created any other notes with other tool, Mendeley was the only thing I used.

    Before I run a Debug ID - could this problem occur because I directly imported through ZotFIle to OneDrive? (installed ZotFile first and then performed the first ever import directly to OneDrive) If yes, maybe I should start the whole process again but without ZotFile? If yes, what's the best way to start over?

    Thank you so much



  • You seem to have deleted your account, so not sure if you're still here. (Note that deleting an account should never be a troubleshooting step.)

    You didn't address the Extracted Annotations part, but looking more closely, these notes were created with the Zotero 5 Mendeley importer. Zotero 5 didn't have a PDF reader with annotation support, so it simply imported Mendeley annotations as notes. No idea how you ended up with Zotero 5, but if you really downloaded it yesterday you definitely didn't download it from the main download page. Zotero 6 has been out since March.

    In any case, if you're still interested in using Zotero, you'll want to delete your entire library and reimport using Zotero 6 to get your full Mendeley library.
  • Hi @dstillman ! Indeed, I have deleted my library and account because I realized that troubleshooting this problem is out of my competence and it would take my very long to resolve it. I didn’t want the setting I had to mess up another import and I didn’t know how to reset them completely.

    Before I deleted account, first I have deleted ZotFile, reverted files to the the directory folder, and performed another import - it came out as correct one, with highlights and annotations on place, but I couldn’t get rid of the linked files for nothing. I had to open the parent element and look inside for the correct PDF. Otherwise it would automatically go to the broken linked one.

    Now that I made a new account and ran import directly (skipping the ZotFile) - it seems to be working like a dream. All the annotations and highlights seem to be on place. It’s soooo much better than Mendeley!!!

    Thank you so much for your help, I wouldn’t figure out what’s going on without your help!
  • Note that you could've just done a Select All and deleted everything in your library, and then reimported. There was no need for a separate account. But glad to hear it's working.
  • Hi @dstillman,

    I think I may have had this same issue yesterday.

    I'm a new Zotero user (one of 1000s jumping ship from Mendeley!) using macOS Catalina. Yesterday I downloaded Zotero 6 and Zotfile, and set up Zotfile to rename & save pdfs in a Dropbox folder (I have >1GB of pdfs). I did this before running the Mendeley import.

    As Monika described, following the successful import, no pdf highlights are showing, and all annotations have been extracted into separate notes (this looks to be a Zotfile function).

    Should I delete my library, remove Zotfile, and repeat the import just with default Zotero settings - and then use Zotfile to rename and move pdfs as a batch process?

    It would be great if the documentation about importing from Mendeley could be a bit more prescriptive, and explain how to avoid this pitfall.

    Many thanks,

    Richard
  • edited November 9, 2022
    If you're having a problem with a plugin, you should disable it, yes.
    It would be great if the documentation about importing from Mendeley could be a bit more prescriptive, and explain how to avoid this pitfall.
    ZotFile is a third-party plugin, so our documentation obviously wouldn't mention it, any more than it would mention other plugins that might do things we have no control over. We explain exactly how to import from Mendeley.

    The issue above was from importing with Zotero 5, which our import documentation specifically says not to do.See below. We're not aware of any problems with Zotero 6 and the current version of ZotFile, but we also can't provide support for it.
  • edited November 9, 2022
    @rgm43: Well, and as I told Monika — if you're seeing "Extracted Annotations" after a Mendeley import, that would actually be from Zotero 5's Mendeley importer, not ZotFile. Zotero 6 doesn't create those.
  • edited November 9, 2022
    Oh, wait, sorry — Zotero 6 will create those if there's no PDF available. ZotFile moving the file during the import process probably causes it to think the file isn't available, because ZotFile actually deletes the original attachment. So all it can do is save the annotations to a note.
  • I think we're going to have to just block the import with an error if ZotFile is enabled, since this creates an awful, confusing import experience.
  • Thanks, that does seem to explain what happened. It was obviously a failure of my own making, but something either in the documentation or in the import workflow to flag this would prevent others making the same mistake.

    The import has now worked. I deleted Zotfile, deleted my library, and re-ran the import. It took a couple of goes - it kept just hanging midway through and CPU usage went through the roof, but then when I let the desktop app fully sync with the web library and tried again, it worked. I had nearly 2000 items with lots of annotations and pdfs, so it was always going to take a while.

    Very pleased to have finally made the switch, and looking forward to now citing directly in the Visual Markdown Editor in RStudio.

    Thanks again for your help.
  • For the next version, we've blocked the import from proceeding if ZotFile is enabled. Thanks to both of you for the reports.
Sign In or Register to comment.