Can't retrieve metadata for PDF: "An unexpected error occurred"

I installed Zotero 4 yesterday on Firefox 34. My Report ID for this issue is 1080985243.

"Retrieve Metadata for PDF" terminates in an error on all the PDFs I've tried. On some of them, the error is specific and understandable, such as "No matching references found", but on most, it's "An unexpected error occurred".

The debug output for one of the PDFs in the latter state ends with this:


(4)(+0000011): Translate: Binding sandbox to http://scholar.google.com/scholar?q="on state space [1], augmented by labeling" "equilibrium)%20initial%20state.%20What%20is%20being%20erased%22%20%22chain%20is%20the%20optimal%20Brownian%20bit.%22%20%22we%20ask%20that%20it%20satisfy%20two%20additional%22%20&hl=en&lr=&btnG=Search

(4)(+0000004): Translate: Parsing code for Google Scholar

(3)(+0000004): Translate: All translator detect calls and RPC calls complete

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

(4)(+0000000): Translate: Parsing code for Google Scholar

(3)(+0000002): Translate: Beginning translation with Google Scholar

(3)(+0000001): Translate: Could not find a good link to construct BibTeX URL
Creating BibTeX URL from scratch

(3)(+0000001): Translate: Constructed BibTeX URL: /scholar.bib?q=info:7KXEvBiKx7oJ:scholar.google.com/&ct=citation&cd=1&output=citation

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

(3)(+0000001): Translate: Attempting to set cookie through GS Settings page

(5)(+0000000): Translate: TypeError: doc.location is null in handler 0 for select

(1)(+0000000): TypeError: doc.location is null
===== Stack Trace =====
setCookieThroughPrefs@/home/matti/.mozilla/firefox/<..>/zotero/translators/Google Scholar.js:97:2
prepareCookie@/home/matti/.mozilla/firefox/<..>/zotero/translators/Google Scholar.js:136:3
doWeb/<@/home/matti/.mozilla/firefox/<..>/zotero/translators/Google Scholar.js:653:4
@chrome://zotero/content/xpcom/translation/translate_firefox.js:427:66
doWeb@/home/matti/.mozilla/firefox/<..>/zotero/translators/Google Scholar.js:621:3
=======================


It seems like Zotero was able to find the paper on Google Scholar, but then couldn't access the DOM or something. I do use NoScript, but this happens with NoScript and all other extensions disabled.

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

Sign In or Register to comment.