Report ID: 1709411830

I'm having issues with the "rename file from parent metadata" on many of my files. For example, it's not working with the the pdf associated with the following data:


<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bib="http://purl.org/net/biblio#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:link="http://purl.org/rss/1.0/modules/link/"
xmlns:z="http://www.zotero.org/namespaces/export#">
<bib:Article rdf:about="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.102.6014">
<dc:date>2007</dc:date>
<dc:identifier>
<dcterms:URI>
<rdf:value>http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.102.6014</rdf:value>
</dcterms:URI>
</dc:identifier>
<dc:title>Monaural Sound Source Separation by Perceptually Weighted Non-Negative Matrix Factorization</dc:title>
<dcterms:dateSubmitted>2010-04-02 18:45:30</dcterms:dateSubmitted>
<dcterms:isPartOf>
<bib:Journal><dc:title>Tech. Rep.</dc:title></bib:Journal>
</dcterms:isPartOf>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:givenname></foaf:givenname>
<foaf:surname>Tuomas O Virtanen</foaf:surname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<link:link rdf:resource="#item_1162"/>
<z:itemType>journalArticle</z:itemType>
</bib:Article>
<z:Attachment rdf:about="#item_1162">
<dc:title>10.1.1.102.6014.pdf</dc:title>
<link:type>application/pdf</link:type>
<z:itemType>attachment</z:itemType>
</z:Attachment>
</rdf:RDF>


The citation came from http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.102.6014
  • edited May 26, 2010
    I found out the problem. For some reason, when Zotero renamed the file to match the metadata, the file was actually renamed but the change wasn't reflected in Zotero. So the old name file didn't exist anymore so it had to be deleted from zotero, and the new name file had to be manually added to zotero. This doesn't happen all the time, but might warrant another look through the code to figure out why this sometimes happens.

    Thanks!
  • ... and when I restart FF, the error's back! Another Error ID is 849656878. When I restart FF the names revert in Zotero so that it's pointing to a non-existent file.
  • I'm not quite following. Can you provide steps to reproduce the problem, with specifics?
  • For the pdf associated with the reference above, I clicked "rename file from parent metadata". It looked like it renamed the pdf file, but didn't update the name or the path in zotero. So in Zotero it looked like the file hadn't been renamed but had also disappeared. If you then search for the file and update the pdf path in zotero, it seems to work.

    I then restarted FF, and the old name and path in zotero were back. I had to go through the exact same thing again.

    After the 3rd or 4th time, it finally seemed to keep the correct name and path in zotero, but there's definitely a bug here.
  • I have the same thing happening happening on some pdfs. on some pdf files "rename file from parent metadata" works fine, but on others it renames the actual pdf file in the zotero file structure, but the name of the pdf file shown under the item in the zotero library stays the same - and if you click on it, zotero gives an error message that it "cant find the file - maybe it's been moved".

    nice feature, but frustrating that it sometimes does not work - also would be nice to be able to set this as a global setting - to rename automatically when the file is downloaded or dragged and dropped onto the item.

    -John
Sign In or Register to comment.