Failure in Institute of Physics translator

Report ID: 851728949

[JavaScript Error: "DOI Translator: could not find DOI" {file: "file:///C:/Documents%20and%20Settings/Francisco%20Pontiga/Datos%20de%20programa/Mozilla/Firefox/Profiles/btq0lsmf.default/zotero/translators/DOI.js" line: 0}]

This is an "Could not save Item" error that appears when trying to save

http://iopscience.iop.org/0022-3727/34/10/311
  • There seems to be something wrong with the metadata for that item in the CrossRef registry of DOIs, which Zotero uses to fetch details on items from that site. The raw data that Zotero is getting on that article is actually missing an article title. The only thing that we could do is write a translator for the IOP site, which would take more work. In the meantime, you can use the BibTeX or RIS export options from the IOP site to get articles.
  • ajlyon - in theory there is an institute of physics translator (Institute of Physics.js) - it just isn't working anymore.
  • I rewrote the translator to make it work again. Please go to http://github.com/ajlyon/zotero-bits/raw/master/Institute of Physics.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).

    It should start working again, but note that IOP provides rather low-quality data in RIS format, and the CrossRef data might actually be better. I'll look into using CrossRef with RIS as a fallback.
  • Aside to Zotero devs: I'm having trouble detecting when the CrossRef translator fails-- is the "error" handler of translator objects actually implemented? I've tried providing an "error" fallback that calls the RIS importer, but it never gets called, and I can't find where in translators.js it would be called. My current attempt is at http://gist.github.com/437248 -- any advice would be appreciated.
  • Is there any reason that fallbacks registered for the "error" event in a translator wouldn't be called? This isn't the only case where there are multiple data sources that might need to be called upon, one if the other fails.

    Looking at translators.js, I think that the error fallback should be called, but I can't get Zotero to ever call it.

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.