No attempt to download PDF from APS journal website
The American Physics Society (APS) has updated the look of their webpages, and it may have broken the Zotero translator. When I click on the article icon in the URL bar of an APS journal article, Zotero correctly downloads the citation information but now makes no attempt to download the PDF. In the little box that appears in the lower-right hand corner after clicking the icon, it only says
Saving to [folder name]
[Article icon] [Article title]
[Webpage icon] APS snapshot
In particular, no PDF icon appears with a red 'X'. I am able to manually download the PDF immediately without problems, i.e., there's no CAPTCHA prompt or anything.
Note that this is a different problem than the one recently reported here:
https://forums.zotero.org/discussion/47408/cant-download-pdfs-from-aps-physical-review/#Item_0
Saving to [folder name]
[Article icon] [Article title]
[Webpage icon] APS snapshot
In particular, no PDF icon appears with a red 'X'. I am able to manually download the PDF immediately without problems, i.e., there's no CAPTCHA prompt or anything.
Note that this is a different problem than the one recently reported here:
https://forums.zotero.org/discussion/47408/cant-download-pdfs-from-aps-physical-review/#Item_0
http://journals.aps.org/prl/abstract/10.1103/PhysRevLett.91.180403
I checked a couple other articles from different journals like Physical Review A, and they had the same issue.
I submitted an error report (error report #: 2022162657).
Incidentally, this post (which I hadn't noticed before) just became active 30 minutes ago.
https://forums.zotero.org/discussion/47613/aps-translator-issues/#Item_0
Likely related.
I tried getting the translator to work after each step, without success.
I restarted Standalone and immediately submitted an error report (Report ID: 501472685). Then I tried running the translator on an APS article and submitted a second report (Report ID: 1557165264).
The only errors that seem to persist are
[JavaScript Error: "bad script XDR magic number"]
[JavaScript Error: "bad script XDR magic number"]
Like I said at the beginning, it really looks like the Zotero Chrome connector isn't even trying to pull up the PDF, because there isn't ever a PDF icon in the box in the lower right hand corder that appears after you click the icon in the URL bar.
My best guess is that this is an issue with the APS translator choking on the new design of the APS website. Maybe they are rolling it out selectively? This is what I see, which looks slightly different than it used to, especially near the buttons and tabs ("Article", "PDF", etc.):
http://imgur.com/99TEgzt
http://imgur.com/05HYI9T
alert('Testing...');if(document.evaluate('//div[@class="article-nav-actions"]/a[contains(text(), "PDF")]', document, null, XPathResult.ANY_TYPE, null).iterateNext()){alert('OK')}else if(document.evaluate('//div[@class="article-nav-actions"]', document, null, XPathResult.ANY_TYPE, null).iterateNext()){alert('no link');}else if(document.getElementsByClassName('article-nav-actions').length){alert('div is there, but not picked up')}else{alert('failed')}
You should see two alert popups (unless you have some extension that blocks this). First will say "Testing...". What does the second popup say?
OK
Then I went to URL you sent me ("Accelerating Cosmological Expansion from Shear and Bulk Viscosity"). Interestingly, when I tried to import this it doesn't work at all. If I click on the icon in the URL bar then the box pops up as expected in the lower right hand corner. However, inside the box it only says
Saving to [folder name]
and in particular does *not* say [Article icon] "Accelerating Cosmological Expansion..." underneath, as I expected. And nothing appears in the Zotero standalone client.
Close Chrome, open Zotero Standalone, go to Preferences -> Advanced -> Files and Folders -> Reset Translators... Wait 10 seconds. Close Zotero Standalone.
Open Zotero Standalone. Go to Preferences -> General -> Update Now. Wait for it to say "Updated" (btw, do you have the checkbox ticked to update your translators automatically?).
Now go to Preferences -> Advanced -> General and Enable debug logging. Open Chrome, go to http://journals.aps.org/prl/references/10.1103/PhysRevLett.114.091301 and attempt to import that article. After it fails (if it still fails), go back to Zotero Standalone, Preferences -> Advanced -> General and submit the debug log. Post the debug ID here.
Is there something I could have done differently? Obvious in the future I'll try restarting Chrome if I have issues with the translator, which I feel a little sheepish about, but I presume the translators are supposed to update without that.
(After I clicked the "Update Now" button it said “Up to date”. And I have always had the checkbox ticked to "Automatically check for updated translators and styles".)
Thanks again.