Not signed in (Sign In)
 

Quick Links

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorcamngnp223
    • CommentTimeJan 11th 2009
     
    I'm new to Zotero. I've spent the last 4 hours using the "search" feature of these forums and of the support section of the Zotero site. I have an EndNote library which is full of PDF attachments. I would like to import this library as well as all the attached PDFs into Zotero. It it true that this is impossible to do at the current time? (The library is large and the labour involved with manually re-attaching each of the PDF files from within Zotero really is not-at-all feasible.)
    Huge thanks in advance for your advice,
    Cameron
    • CommentAuthorTjowens
    • CommentTimeJan 14th 2009
     
    Zotero's RIS import does have the ability to import PDFs and Endnote does export links to your PDFs in the RIS files it generates. The problem is that Endnote does not give the full path to the file.

    You should be able to import all the PDFs by using a single find and replace statement.

    You will want to find
    internal-pdf://
    And then replace it with
    file://location/where/endnote/stores/your/pdfs
    • CommentAuthorcamngnp223
    • CommentTimeJan 16th 2009
     
    Excellent: I followed your instructions and the import worked like a charm! Thank you! (Incidentially, giving a relative path didn't work. Giving an absolute directory path worked right away.)
    • CommentAuthorkay
    • CommentTimeJan 18th 2009
     
    Hi--I'm clearly less computer literate than you guys. Could you please elaborate where exactly I need to look for internal-pdf:// ?

    Thanks so much in advance--
    Kay
    • CommentAuthorcamngnp223
    • CommentTimeJan 18th 2009
     
    In EndNote, you need to export your library using the RIS (Refman) style. It should be exported as a text document. Search thus text document for the string "internal-pdf://" and replace that string with "file://C:/location/where/endnote/stores/your/pdfs". (This type of directory structure is for Windows C: drive. Obviously, for the various flavours of unix, you won't be pointing to a C: drive.)

    I'd also note that, when I was using WordPad to edit the RIS text file exported by EndNote, all of my diacritical characters were getting massacred. If you use a slightly more advanced text editor, everything imports perfectly into Zotero.
    • CommentAuthorremi
    • CommentTimeJan 23rd 2009
     
    Hello. I followed your instructions too. But I've met 2 problems :

    1. Urls of my PDF attachments look like :
    file://Euros/bases_biblio/MyTeam/MyName/PDF/Author2007.pdf
    And when I try to import RIS file, I can read this message :
    "An error occurred while trying to import the selected file. Please ensure that the file is valid and try again."
    [Report ID: 942743707]

    2. When I simplify the URLs by changing files location and beginning :
    file://Euros/bases_biblio/MyTeam/MyName/PDF/Author2007.pdf
    in
    file://D:/Author2007.pdf
    It works but the files have lost their names, they are renamed like "Full Text (PDF)".
    Is it possible to preserve their previous name ?

    Thanks in advance,
    remi
    • CommentAuthorTjowens
    • CommentTimeJan 23rd 2009
     
    Are the files actually renamed? Or is it just the names as they appear in Zotero. You can check this by clicking the "Show File" button to see the actual file in a sub-directory of the storage directory.
    • CommentAuthorremi
    • CommentTimeJan 27th 2009
     
    @Tjowens :
    Oups, you're right : it is just the names as they appear in Zotero, thanks.
    • CommentAuthorjjagresti
    • CommentTimeJan 28th 2009
     
    Just to add one thing. I started endnote several versions ago. At the time, you could "insert object", but not attach a file. This tags the pdf as a "figure". Therefore, all of my PDFs were attached as figures. Although attached files are put into the RIS file, "figures" are not. Therefore I ran into trouble trying to export an RIS to put into zotero.

    Thankfully I found a solution:

    I'm not sure if other versions have this, but X2 allows you to convert figures to attachments. It's in References>Figure>convert figures to file attachments. You can ctrl-A to select all and do this in a batch. Now your RIS file will be imported to zotero with attachments. Saved me hours.

    Now I have no more need for EN. Hooray!
    • CommentAuthorben58
    • CommentTimeApr 5th 2009
     
    > Search thus text document for the string
    > "internal-pdf://" and replace that string with
    > "file://C:/location/where/endnote/stores/your/pdfs
    > ". (This type of directory structure is for
    > Windows C: drive. Obviously, for the various
    > flavours of unix, you won't be pointing to a C:
    > drive.)

    Under Mac OS X (which is unix), the only way I could get it to work was copying the PDF folder from the EndNote library to the root ot the startup disk and search-replacing "internal-pdf://" by "file:///PDF/" (important! - 3 slashes).

    But would be nice if Zotero in the next version would guess the meaning of "internal-pdf:" itself.
    • CommentAuthoreagutt
    • CommentTimeApr 17th 2009
     
    Report ID 240781048: Was trying to import my data from Endnotes 8.0.2 into Zotero, following the instructions above: setting output style in EN to "refman RIS", exporting to text file, then choosing import (I don't have embedded pdfs, so no complications that way.). I got the error message: "An error occurred while trying to import the selected file. Please ensure that the file is valid and try again." A number of entries got imported, but most did not. How can I ensure that the file is valid? Thanks for any help.
    • CommentAuthorlemmo
    • CommentTimeMay 25th 2009
     
    Thanks for this, my PDFs import from Endnote X1, but a couple of problems:

    Zotero will not import multiple PDFs. A number of my records in Endnote have multiple PDFs embedded, and each PDF has a distinct "internal-pdf://" location. After import, these show up in the URL field in the right Zotero pane, and the middle pane shows "Full Text (PDF)" as an attachment, but Zotero will cannot open them. It says "The attached file could not be found. It may have been moved or deleted outside of Zotero."
    Any solution to this?

    Also, each record now displays the old Endnote file location in the URL field, but my old URL field in Endnote becomes an attached Note in Zotero. Is there any way Zotero can import the URL field in Endnote into the URL field in Zotero at the same time as importing the PDFs?

    Any advice much appreciated, thanks!
    • CommentAuthorTjowens
    • CommentTimeMay 26th 2009
     
    You have pointed to something that I don't think will be easy to solve.

    The Zotero URL field is supposed to be a place for a single URL that would be used in citations. For example, when citing a webpage you want to include the URL as part of the reference, clearly you would never want to include the local link to the PDF in a reference.

    Now Endnote uses URL differently, sometimes it is the canonical link to the item, but other times it is just a URL, or list of URLs, that are in some way related to the item.

    Zotero has the ability to support these two different sorts of URLs. The Item URL field is for a single URL used when citing the item. Items can also have attached links to other URLs and or a series of PDFs.

    So the problem is this. How could Zotero figure out which sort of URLs are in the RIS file when the RIS file squishes them together?
    • CommentAuthoramacom73
    • CommentTimeMay 26th 2009 edited
     
    Not sure how technically feasible this is, but what if every imported URL recognized by a Zotero translator is assumed to be the citing URL? Just have the translator mechanism scan all incoming URLs during import. It's imperfect, but would at least mean that URLs of journal sites or other repositories that have translators are correctly assigned as more or less official.
    • CommentAuthorlemmo
    • CommentTimeMay 26th 2009
     
    Using the Zotero translator is an interesting idea, but wouldn't that slow up the import process? I have 1000+ references to import from Endnote, and I can see it falling over if it had to seek the translators for each one.

    This is how the import process is working now: If my reference in Endnote has a single URL and no attachment, the URL is imported into the Zotero URL field. If my reference in Endnote has a single URL and a single attached PDF, the URL is imported into Zotero as a Note and the PDF link goes into the Zotero URL field. If my reference in Endnote has multiple URLs and/or multiple PDFs then they are not imported.

    The RIS text file from the Endnote export has field labels. This RIS file has the exported URLs listed in a field "UR", and the attached PDF file in a field "N1". So, when importing, why does Zotero effectively move the (now redundant) PDF file location from N1 into the UR field, and in so doing move the URL?

    Whatever, I shall go through my Endnote database and remove multiple URLs in the URL field...
    • CommentAuthornoksagt
    • CommentTimeMay 26th 2009
     
    N1 is a notes field. Perhaps you mean 'L1'? The translator presently tries to populate the URL field first. This MIGHT be because there are some RIS-generators that use L1 (or L2 or L4) rather than UR for the primary URL? But I don't know. It seems to me that we should follow the RIS spec and only ever put UR into that field.

    If your UR fields appear ahead of your L1 fields, UR should be placed in the Zotero URL field & your L1 should become a PDF attachment.

    The spec allows semicolon separators (I don't think Endnote actually uses these, though) & so we can potentially parse each entry more intelligently too (to extract multiple URLs when given in a single field).
    • CommentAuthorlemmo
    • CommentTimeMay 27th 2009
     
    Thanks noksagt, yes it's "L1" and not "N1", sorry.

    My L1 fields appear ahead of of UR fields, so is this an issue with the Endnote RIS export, or can the Zotero import switch it to read the UR field first?

    Good news about using semicolons for muliple PDFs, perhaps an option for future releases... Thanks
    • CommentAuthorhurlbert
    • CommentTimeJun 2nd 2009
     
    Hi all,
    I am having trouble getting my Endnote X2 library imported, and it is due to the pointers to PDF files. I have read many of these forum posts about replacing "internal-pdf:", but my PDFs are all stored on a network drive, and so I am wondering if I am just not replacing the new pathname correctly.

    I tried the equivalent of this:
    "file://servername.edu/username/My Library/"
    but the record does not import. If I delete the UR field entirely, the record imports fine. Is it simply a matter of adding a few "/"s or modifying how I specify the path?

    Thanks
    • CommentAuthornoksagt
    • CommentTimeJun 2nd 2009
     
    @lemmo:
    My L1 fields appear ahead of of UR fields, so is this an issue with the Endnote RIS export, or can the Zotero import switch it to read the UR field first?
    In this case, I don't think that Zotero should really be acting this way (regardless of order). However, it may be quicker/easier for you to modify EndNote's RIS exporter than to wait for the Zotero translator to be modified.
    • CommentAuthornoksagt
    • CommentTimeJun 2nd 2009
     
    @hurlbert:
    but my PDFs are all stored on a network drive, and so I am wondering if I am just not replacing the new pathname correctly.
    You have to use a URI that firefox can read from; test these in firefox's location bar. I assume you are on windows because you said "network drive" that has a drive letter mapped to it. If so, the URL would be "file:///X:/path/to/file.pdf". If this assumption is incorrect and this isn't enough of a hint to do, please give more details.
    • CommentAuthorhurlbert
    • CommentTimeJun 3rd 2009
     
    Thanks noksagt.

    It turned out that due to the nature of my server, the URL link only works if it is:
    "\\servername.edu\path\to\file.pdf" with no "file:" and without substituting a drive letter for the servername. It would probably be helpful to others to understand the details of our server set-up such that this is required, but unfortunately I don't know those details. Anyway, this worked fine for me and I was able to import ~1000 records quickly once that was taken care of.

    One other hangup that caused problems that I'll note for other new users is that occasionally I had a "%20" in the URL instead of a space, and these all had to be replaced in order to not cause an error.
    • CommentAuthornoksagt
    • CommentTimeJun 3rd 2009
     
    It would probably be helpful to others to understand the details of our server set-up such that this is required, but unfortunately I don't know those details.
    You use windows file sharing (SMB) & must have not mapped that as a network drive with a letter. (I actually had not realized that Firefox could accept locations without resource types listed.)
    • CommentAuthorhillr
    • CommentTimeJun 4th 2009
     
    Hi All,

    I'm having some trouble after following the instructions in this thread to change the path that Endnote gives pdfs. After import, the pdf path which was L1 in the RIS format, becomes the URL field in Zotero replacing the URL in the RIS UR field. Is this the correct behavior? Should the pdf not show up in the attachments tab?

    Thanks,
    • CommentAuthornoksagt
    • CommentTimeJun 4th 2009 edited
     
    • CommentAuthorlemmo
    • CommentTimeJun 6th 2009
     
    Thanks noksagt, OK just to make sure I've got this correct:

    I have to go to Endnote, Edit > Output Styles > Open Style Manager, and double click on RefMan (RIS) Export > Bibliography, Templates. Then for each Reference Type I have to go through and move the UR field above the L1 field in the list?

    Also, in the exported RIS file, could I add semi-colons in fields with multiple entries, such as PDFs, keywords,URLs, and Zotero can then import multiple items?

    I'd like to know more about how Zotero imports using RIS, how it assigns the fields and any translation quirks such as importing in a certain order, e.g. UR field before L1.

    This may also help me understand strange translations, e.g. when importing a Conference Paper from Endnote, it becomes a Journal Paper in Zotero, the Conference is imported as Series, conference Dates are imported as a Note, and Abstract also becomes a Note :(

    Is there anywhere I can find whether these issues are being worked on in up-coming versions of Zotero, so I can avoid unnecessary editing work?

    Many thanks :)
    • CommentAuthornoksagt
    • CommentTimeJun 7th 2009
     
    Then for each Reference Type I have to go through and move the UR field above the L1 field in the list?
    yes
    Also, in the exported RIS file, could I add semi-colons in fields with multiple entries, such as PDFs, keywords,URLs, and Zotero can then import multiple items?
    Not at this time, but the translator should probably be changed for some fields to allow this (where the spec says that a semicolon is valid). For now, you should split these things into multiple fields.
    I'd like to know more about how Zotero imports using RIS, how it assigns the fields and any translation quirks such as importing in a certain order, e.g. UR field before L1.
    The best place to see this is the code:
    https://www.zotero.org/trac/browser/extension/trunk/translators/RIS.js
    This may also help me understand strange translations, e.g. when importing a Conference Paper from Endnote, it becomes a Journal Paper in Zotero, the Conference is imported as Series, conference Dates are imported as a Note, and Abstract also becomes a Note :(
    Much of this might be due to EndNote's export (which has many long-standing bugs). Feel free to share any example record that does not import as expected.
    Is there anywhere I can find whether these issues are being worked on in up-coming versions of Zotero, so I can avoid unnecessary editing work?
    The best way is to search the forums & report any issues that you see. I am unsure of what "unnecessary editing" you are trying to save yourself. You may have to modify EndNote's export style for some bugs that cannot be worked around. You should not have to edit your RIS manually much. If you want to modify zotero, drop a note in the dev group & monitor svn/trac.
    • CommentAuthorPeter100
    • CommentTimeApr 29th 2010 edited
     
    • CommentAuthorveronnem
    • CommentTimeJun 14th 2011
     
    Hi!
    I'm working on Windows and I tried able to export my Endnote library with PDFs to Zotero. At first, it looked like it worked fine, because I could see my library in Zotero. However, when I clicked the PDF icons (in Zotero), I got the following error message:

    The attached file could not be found.
    It may have been moved or deleted outside of Zotero.

    What did I do wrong?
    Thanks in advance for your help.
    • CommentAuthoradamsmith
    • CommentTimeJun 14th 2011
     
    this is all on the same computer or did you sync?
    If it's on the same computer, please create an error report immediately after trying to open one of the pdfs.
    http://www.zotero.org/support/reporting_bugs
  1.  
    veronnem: And if not the same computer, see Files Not Syncing. In either case, start a new thread.
    • CommentAuthorveronnem
    • CommentTimeJun 18th 2011
     
    Thanks adamsmith and Dan for answering my post. After trying several times to import my library with PDFs from my PC at work, I just copied the text file that listed the RIS references and also all of my PDFs on my Mac at home. Then I followed the instructions that ben58 outlined above (posted on Apr 5th 2009). Using the 3 slashes was very important to make it work on Mac. I'm glad it worked, in the end.
    • CommentAuthordavidinbj
    • CommentTimeAug 9th 2011
     
    Am desperately trying to convert to zotero and seem to have the exact same problem (after 5 hours of trying!) as the above query by 'eagutt' way back in 2009: "Was trying to import my data from Endnotes...into Zotero, following the instructions above: setting output style in EN to "refman RIS", exporting to text file, then choosing import (I don't have embedded pdfs, so no complications that way.). I got the error message: "An error occurred while trying to import the selected file. Please ensure that the file is valid and try again." A number of entries got imported, but most did not. How can I ensure that the file is valid? Thanks for any help".

    I couldn't see an answer to eagutt's query...can anyone help?

    David
    • CommentAuthornoksagt
    • CommentTimeAug 9th 2011
     
    You can help make the Zotero translator more robust by finding the entry that failed (by dividing your RIS file into several files (each with a different subset of items)).

    Alternatively, you can try to cleanup the RIS file (by passing it through, for example, bibutils).
    • CommentAuthormark
    • CommentTimeAug 9th 2011
     
    Also always do notify the makers of EndNote of these problems. It is a real issue for their paying customers. As their customer, you have the right to ask them to deliver at least the service of consistent and standard export formats. (Ask your librarians to do this for you if you have an institutional license.)
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    Endote has placed most .pdfs within folders now, so the text replacement strategy presented for us Linux users above does not work. In other words, a path to the EndNote PDF like
    'file://Euros/bases_biblio/MyTeam/MyName/PDF/Author2007.pdf'
    used to work, but no longer will because now:
    file://Euros/bases_biblio/MyTeam/MyName/PDF/Author2007/Author2007.pdf'
    is the path. Does anyone know the syntax trick to copy the name only information as needed to use this recommended command:
    sed 's/internal-pdf:\/\/.*\//\/media\/CORSAIR\/References.Data\/PDF\/*/g' /home/user/Dropbox/TransferToZetoro.txt > /home/user/Dropbox/Author2007/Author2007.ris
    ?
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    Excuse me, the better sample of what needs to be changed is this:
    sed 's/internal-pdf:\/\/.*\//\/media\/CORSAIR\/References.Data\/PDF\//g' /home/user/Dropbox/TransferToZetoro.txt > /home/user/Dropbox/GoingToZotero_PDF.ris

    to

    sed 's/internal-pdf:\/\/.*\//\/media\/CORSAIR\/References.Data\/PDF\/*[what-goes-here?]/g' /home/user/Dropbox/TransferToZetoro.txt > /home/user/Dropbox/GoingToZotero_PDF.ris
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    This thread suggests that the original does a search for the .pdf that perhaps should be creating the extention automatically:
    http://forums.zotero.org/discussion/12476/duplicates-ris-pdf-endnote-file-not-found/

    A solution also was suggested in that thread (editing the EndNote RIS output style) that did not work for me.
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    I figured out the structure of the paste command, but am still getting errors. Consistent with previous feedback I have tried:
    file:///media
    file://media
    /media

    and also moved the .pdf to the local desktop.

    Still importing only about 10 of ~4000 references then receiving error "Please ensure that the file is valid and try again."

    The file opens fine in a text editor and the replacement appears correct in each permutation.
    • CommentAuthoradamsmith
    • CommentTimeSep 22nd 2011
     
    do small batches, try to narrow down the error - does it not import any files or is there maybe another problem?
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    I deleted the files that were importing correctly and now receive the error "The selected file is not in an accepted format". The exported format was RIS as specified in the Zotero documentation. I tried with .txt and .ris extensions with the same result. The file opens in a text editor.
    • CommentAuthoradamsmith
    • CommentTimeSep 22nd 2011
     
    post one entry that isn't working here. (i.e. copy and paste the RIS for one item from the text editor).
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    I narrowed it down such that one file fails to import. When a handful of references are deleted, it imports successfully. However, when I attempt to import only those references that were deleted (which must be where a problem lies), they import successfully too. Thus, I am unable to determine any specific references that are not importing properly to provide an example.
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    I just replicated this in another file. I reduced the file a citation at a time. I finally found a citation which, once removed, allowed the file to be imported. Yet, the "problem" file in isolation imports just fine.
    • CommentAuthoradamsmith
    • CommentTimeSep 22nd 2011
     
    try running debug while importing and look at the output - maybe you can find something helpful.
    http://www.zotero.org/support/debug_output
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    The citation prompting the fail when in the context of a larger file being imported is:
    TY - JOUR
    AB - Two studies have examined whether there exists a relationship between
    resting frontal alpha asymmetry and the Behavioral Inhibition and
    Activation Scales (C. S. Carver & T. L. White, 1994), which are based on
    Gray's Behavioral Inhibition and Behavioral Activation Systems. Findings
    suggest that greater relative left frontal activity characterizes
    individuals higher in self-reported behavioral activation sensitivity (E.
    Harmon-Jones & J. J. B. Allen, 1997; S. K. Sutton & R. J. Davidson, 1997),
    and, in one instance, lower behavioral inhibition sensitivity (S. K.
    Sutton & R. J. Davidson, 1997). In the present study, relatively greater
    left frontal activity correlated positively with behavioral activation
    scores. No significant relationship between resting frontal alpha
    asymmetry and the behavioral inhibition score emerged. These data suggest
    that relatively greater left frontal activity is indeed an index of
    approach oriented, appetitive motivational tendencies, whereas the
    relationship between relative right frontal activity and the behavioral
    inhibition system is likely to be complex and not accounted for by
    behavioral withdrawal alone.
    AU - Coan , James A.
    AU - Allen, John J. B.
    L1 - /home/nprause/Desktop/Ovaration.Data/PDF/0915289608Coan-2729962254/0915289608Coan.pdf
    M1 - 1
    N1 - Two studies disagreed on the asymmetry associated with BIS, so this study was to see which could be replicated.
    Used multiple reference schemes
    N=36
    BAS appears more clearly an approach, but BIS not necessarily (could be interrupting ongoing behavior, increasing arousal, or increasing attention that need not lead to withdrawal)
    Greater left EEG in midfrontal and lateral-frontal = more BAS
    Greater right EEG in midfrontal = trend to more BIS (agrees with Sutton and Davidson 1997)
    Suggests that BIS does not fit neatly as a "withdraw" tendency
    PY - 2003
    SP - 106
    ST - Frontal EEG asymmetry and the behavioral activation and inhibition systems
    T2 - Psychophysiology
    TI - Frontal EEG asymmetry and the behavioral activation and inhibition systems
    VL - 40
    ID - 1960
    ER -

    The debugging output when an import containing this citation fails begins:
    3)(+0000000): Translate: Searching for translators for an undisclosed location

    (3)(+0003754): Translate: Searching for translators for /home/nprause/Desktop/Reduced17.txt

    (4)(+0000000): Translate: Binding sandbox to http://www.example.com/

    (4)(+0000001): Translate: Parsing code for Bibliontology RDF

    (3)(+0000004): Translate: Checking whether file is UTF-8

    (3)(+0000217): Translate: Preparing IO for Bibliontology RDF failed:

    (3)(+0000000): 'fileName' => "chrome://zotero/content/xpcom/translation/browser_firefox.js"
    'lineNumber' => 323


    (2)(+0000000): Translate: Detect using Bibliontology RDF failed:
    thrown exception => Error loading translator into sandbox
    url => /home/nprause/Desktop/Reduced17.txt
    downloadAssociatedFiles => true
    automaticSnapshots => true

    (4)(+0000000): Translate: Parsing code for MODS

    (3)(+0000003): Translate: Checking whether file is UTF-8

    (3)(+0000210): Translate: Preparing IO for MODS failed:

    (3)(+0000000): 'fileName' => "chrome://zotero/content/xpcom/translation/browser_firefox.js"
    'lineNumber' => 323
    • CommentAuthoradamsmith
    • CommentTimeSep 22nd 2011
     
    that is bizarre - the way the RIS translator works is that it checks whether

    TY -

    is in the first four lines of the file - if it is, it should at least try to treat this as RIS - which it doesn't. Is there any way the first entry in the file could have moved down too far?
    If you don't mind, you could post a non-working RIS as a public gist to gist.github.com and post the URL here.
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    Public clone:
    git://gist.github.com/1236377.git

    (Will remove this after you take a look as it has notes I don't want preserved online.)
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    May be easier direct:
    https://gist.github.com/1236377
    • CommentAuthoradamsmith
    • CommentTimeSep 22nd 2011
     
    OK, I got it.
    • CommentAuthornprause
    • CommentTimeSep 22nd 2011
     
    Thanks, deleted original.

    And thank you for taking a closer look! So weird.

Zotero Forums are powered by Vanilla 1.1.5a