Importing not working on publication & volume entries

Hello.

Using 3.0.11 zotero in firefox.

Importing rdf file but it doesn't import publication and volume journal entries. Has rest of data but not those entries. Plus some entries have their attachments, others don't.

However same rdf file, different machine, with zotero standalone 3.0.8.1, all entries work.

No error messages. Though did compile zotero error file via toolbar & forwarded to yourselves - ref: 23010369

Suggestions welcomed
  • I don't think we can say much without seeing the file itself.
    Try to reproduce it with the smallest number of items possible, then open with a text editor select all and post as a public gist to gist.github.com - providing a link here.

    (Also, note that zotero RDF is not the recommended way to transfer libraries or back-up libraries in case that's what you're trying to do).
  • Hi, I am the one who sent fionacoach the expo she has problem with.

    Please a clarification: when you say: "Try to reproduce it with the smallest number of items possible, then open with a text editor"

    do you mean that I should create an expo with only few items (say 4-5) then open the Rdf with i.e. notepad? (the rest of instruction is clear). Sorry just to be extra sure. Many thanks.
  • do you mean that I should create an expo with only few items (say 4-5) then open the Rdf with i.e. notepad? (the rest of instruction is clear).
    Yes, you would export only a few items, verify that the exported RDF file does not import properly, and then post the contents of the file (you can see them by opening the file in a text editor) to gist.github.com
  • We've tried this again, and still doesn't work using just a few items. Publication and volume entries do not transfer, nor do the file attachments.

    The rdf file text is up at gist.
    https://gist.github.com/4318047/ecb92af709200b9204c2ff24152d9738191835fb
  • I can consistently reproduce that Zotero will lose publication and volume when importing from Zotero RDF, even if that RDF has been produced by the same Zotero install (this is an import problem so no risk of data loss).
    We're looking into it, thanks for reporting.
  • @aurimas @simon - could you have a look - I don't quite understand what's going on in the translator: It looks like the variable container (which is later used to get publication, volume, and issue) is not defined for imports from Zotero RDF (except, oddly, blogPost, forumPost, and webpage)
    I can add this for journal titles, along the lines of:
    else if(itemType == "journalArticle") {
    container = getNodeByType(isPartOf, n.bib+"Journal");
    }

    but there has got to be a less hack-y way. I also don't see in the history when & why this broke.
  • Sorry, I'm looking into this. Will let you know what I find out.
  • This should now be fixed. You can wait for the translator to update automatically within 24 hours or update manually via Preferences... -> General -> Update Now.

    You might have to restart Firefox/Zotero.

    Let us know if there are any more remaining issues.
  • Thanks will have a look and let you know if it works
  • I am coming late to the party: I am running Zotero Standalone 4.0.16 and I have similar issues with importing items from RDF. Even when the coding is clear, journal and other publication titles do not make the import. For example, the following record cannot be successfully imported into Zotero with its journal title:
    <rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:z="http://www.zotero.org/namespaces/export#"
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:link="http://purl.org/rss/1.0/modules/link/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:bib="http://purl.org/net/biblio#"
    xmlns:vcard="http://nwalsh.com/rdf/vCard#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/">
    <bib:Article rdf:about="#item_3260">
    <z:itemType>journalArticle</z:itemType>
    <dcterms:isPartOf>
    <bib:Journal>
    <dc:title>Journal of Ancient Near Eastern Religions</dc:title>
    <prism:volume>9</prism:volume>
    <prism:number>1</prism:number>
    </bib:Journal>
    </dcterms:isPartOf>
    <bib:authors>
    <rdf:Seq>
    <rdf:li>
    <foaf:Person>
    <foaf:surname>Schmitz</foaf:surname>
    <foaf:givenname>Philip C.</foaf:givenname>
    </foaf:Person>
    </rdf:li>
    </rdf:Seq>
    </bib:authors>
    <dc:title>The Owl in Phoenician Mortuary Practice</dc:title>
    <dcterms:abstract>Recent excavations int he Iron Age necropolis of Tyre (al-Bass district) allow a substantial reconstruction of the Phoenician ritual of cremation burial. Among the faunal remains from Tyre al-Bass Tomb 8 are two talons from a species of owl. The talons had been charred and perhaps boiled before placement with the grave goods. This paper examines ancient Near Eastern and biblical cultural interpretations of the owl and suggests a range of possible explanations for the presence of owl remains in this Phoenician burial.</dcterms:abstract>
    <bib:pages>51-85</bib:pages>
    <dc:date>2009</dc:date>
    </bib:Article>
    </rdf:RDF>

    I made the mistake of backing up my whole collection via RDF, and now I stand to lose all of this vital information. What can I do?
  • If you copy the RDF above, go to Zotero Gear menu and select Import from Clipboard, does it not import? I tried it and everything imported correctly.
  • aurimas: With the journal title? That doesn't get imported for me.
  • Sorry, I was on the wrong branch.

    @CPace, should be fixed now. Update your translators via Preferences -> General -> Update Now and try importing again.
  • @aurimas, thanks for this - it works just fine now. I'm curious to know what change was made to the RDF translator.
  • commit log is https://github.com/zotero/translators/commit/2e80b8914d2de2d4faa8be1ce7ad205b38e7ff3e
Sign In or Register to comment.