JSTOR tranlator does not work

I am trying to import the following item http://www.jstor.org/stable/3875278, but the translator fails. I get the small dialog to the bottom right of the window, but no text appears and then the dialog just disappears.

Tested with Zotero for Firefox 3.0.14 and with Standalone and Safari connector on Mac.

report id 1677711250
  • works for me on Firefox. You're accessing this w/o proxy from somewhere where you have access to JSTOR?
    Anything in the report that looks relevant?
  • I am using a proxy and I can access the site and download PDFs just fine. And I have never had a problem with this proxy before.

    The proxy states that it's name is "wwwproxy.hut.fi (squid/2.6.STABLE4-20061009)" if that is of any help.
  • that's a system proxy, though? Or does it insert itself into the URL? The former shouldn't matter, for the latter I would want to see the URL as is.
  • That's system proxy, and it should not matter.

    Another proxy with the following url also fails
    http://www.jstor.org.libproxy.aalto.fi/stable/3875278

    Report id with the second attempt 360400744 (with Firefox)

    The log shows no relevant errors. I believe this is the relevant part


    (4)(+0004274): Translate: Parsing code for JSTOR

    (3)(+0000002): Translate: Beginning translation with JSTOR

    (3)(+0000000): Translate: JID found 1 3875278

    (3)(+0000001): HTTP POST suffix=3875278 to http://www.jstor.org.libproxy.aalto.fi/action/downloadSingleCitation?format=refman&direct=true&singleCitation=true

    (3)(+0000438): Translate: Creating translate instance of type import in sandbox

    (4)(+0000000): Translate: Binding sandbox to http://www.jstor.org.libproxy.aalto.fi/stable/3875278

    (4)(+0000002): Translate: Parsing code for RIS

    (3)(+0000011): Translate: Beginning translation with RIS

    (3)(+0000000): Translate: Translation successful

    (5)(+0000000): Translate: Running handler 0 for done

    (3)(+0000000): Translate: Translation successful

    (5)(+0000000): Translate: Running handler 0 for done
  • edited March 25, 2013
    HTTP POST suffix=3875278 to http://www.jstor.org.libproxy.aalto.fi/action/downloadSingleCitation?format=refman&direct=true&singleCitation=true
    The current translator should not be making a POST request like that.

    It should be something like
    HTTP POST redirectUri=%2Faction%2FexportSingleCitation%3FsingleCitation%3Dtrue%26doi%3D<DOI>&noDoi=yesDoi&doi=<DOI> http://www.jstor.org.libproxy.aalto.fi/action/downloadSingleCitation?format=refman&direct=true&singleCitation=true
  • The translator seems to be out of date. I am now working with Standalone and Safari connector. I open the Zotero preferences and Advanced and check the data directory.

    The JSTOR translator on my computer has

    "lastUpdated": "2012-04-14 03:12:00"

    Where as the translator in github has

    "lastUpdated": "2012-11-11 11:39:09"


    I had already attempted to update the translators manually, but this does not update the JSTOR translator.

    (3)(+0000000): Checking repository for updates

    (3)(+0000000): HTTP GET https://repo.zotero.org/repo/updated?last=1364273421&version=3.0.14.1&m=1

    (3)(+0000160): Beginning Notifier event queue

    (3)(+0000001): All translators and styles are up-to-date

    (3)(+0000001): Resetting Notifier event queue



    All the translators have their file modification dates set to March 23rd this year because I restored a backup of my main zotero profile then from Time Machine. Might this be the cause for the JSTOR translator not being updated?
  • Did you replace your main database as well, or just the rest of the directory? If the latter, that would probably do it. If I recall, we keep a cache of translator times in the database to avoid repeated file accesses (which are very slow on Windows), so if you replace the 'translators' directory with older versions than it thinks are installed, they wouldn't be updated from the repo until the next updates to those translators. (I don't remember if they'd be updated with new Zotero versions—we might use the cache then too.)

    In any case, trashing the translators directory and restarting should fix it.
  • I just restored the full data directory because it was one click instead of two clicks that it would have taken to restore the database and storage directory.

    I did trash the translators and now it works. In my opinion, click on the "Update now" button should read the actual translator files and check their versions. This is a rare user-initiated action so it should be OK for if it to take a few seconds.
  • Zotero stores the timestamp of the last translator check in the database and then uses that timestamp to ask for translators that changed since the last check. When you restored old translators the timestamp did not change in the database. Use the "Reset Translators..." button in the Advanced tab of Preferences to reset translators and then Update them.
  • In my opinion, click on the "Update now" button should read the actual translator files and check their versions. This is a rare user-initiated action so it should be OK for if it to take a few seconds.
    Feel free to create a ticket for that. Right now it just uses the same code as the automatic update.
  • Created an issue

    https://github.com/zotero/zotero/issues/282

    Before posting on the forum, I tried resetting the translators, but that did not solve the issue. Only deleting them manually helped.
  • Did you restart Firefox? Resetting the translators should just delete the whole directory (and I think clear the cache, but maybe that didn't happen for some reason).
  • I did not restart Firefox. I clicked on "reset translators" and then "update now"

    If it helps, I can restore a backup of the broken translators directory and do any tests that you need to diagnose this further. (My problem is solved, now, though)
  • That's OK—thanks.
Sign In or Register to comment.