ASCE Translator Error

Hey All:

I've noticed that the last few times I have tried to ASCE to cite conference papers, etc. it has not been functional. I receive the error both at home and work, so I know that it isn't just my machine. Just thought it might be worth throwing up on the list of known issues.

smitty
  • http://www.zotero.org/support/reporting_bugs
    please also provide specific URLs that don't work.
  • These are the two that I tried today (two different sites for each citation):

    http://ascelibrary.org/epo/resource/1/jpepe3/v129/i1/p40_s1

    http://cedb.asce.org/cgi/WWWdisplay.cgi?134660

    http://ascelibrary.org/epo/resource/1/jpepe3/v136/i1/p24_s1

    http://cedb.asce.org/cgi/WWWdisplay.cgi?251152
  • Report ID: 1233363206

    I didn't see anything particularly out of the ordinary in the report, but it's there for reference.
  • edited June 21, 2011
    it's weird that all of them fail. Note that in your case 5. here applies:
    http://www.zotero.org/support/troubleshooting_translator_issues
    The ASCE translator itself is completely broke and needs to be fixed.

    edit: added to known issues.

    edit 2: as Dan says, don't do any of the troubleshooting, but point 5. in the link above will still be helpful to understand the difference between a dedicated ASCE translator and the DOI translator.
  • It's an incompatibility between Zotero's current pattern matching for DOIs and the DOIs that ASCE uses. We'll see what we can do.
  • Please go to http://github.com/ajlyon/zotero-bits/raw/master/DOI.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. If this works for you, please post here so that I can submit this change to be pushed to all users.

    Dan: I removed the word boundary (\b) from the regular expression-- this could wreak havoc on other DOIs, so we'll need to do some testing before committing this change.
  • You may have to restart Firefox for the change to take effect.
  • That does the trick it seems. Upon restart, everything seems to be working. Thanks guys.
  • I had this problem. None of the reference information could be added to my zotero library. Your file alteration did the trick.

    I have often noticed with ctrl+c on ASCE doi's that some of the characters become corrupted somehow in the copying, especially ( and ). Is this part of the problem?

    One problem does remain with the ASCE translator. I have the PDF files to automatically be downloaded. This works on some sites (e.g. informaworld.com) but not on this site for example http://ascelibrary.org/hyo/resource/1/jhend8/v133/i6/p690_s1.

    Thanks again.
  • currently Zotero is using the DOI to grab the information from ASCE- you never get pdfs with the DOI translator.
  • Right. Whereas informaworld has its own translator so doesn't use the DOI translator. I think I understand.
  • exactly. There actually is an ASCE translator, but it's defunct and would need to get fixed.
  • would love to see a permanent solution to this
  • A fixed translator is in the pipeline, for those in a hurry,
    Please go to https://gist.github.com/raw/1282805/8d86143a688c395c415c84e632cc5b031f1054ae/ASCE.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data), replacing the old file.
  • This should be out to all clients within 24 hours, or hit "Update translators" in the Zotero prefs to get it right away. Thanks to adamsmith for putting this together!
Sign In or Register to comment.