trouble getting citations from google scholar

reported an error: 1592404542
http://scholar.google.com/scholar?q=tommie+shelby&hl=en&btnG=Search&as_sdt=20000001&as_sdtp=on
get a could not save item when click on folder on top right.
running 2.0b7.6
firefox 3.5.6
  • same problem also for some other searches

    [JavaScript Error: "translator called select items with no items" {file: "file:///home/sebastian/.mozilla/firefox/wkxw8okh.default/zotero/translators/Google%20Scholar.js" line: 0}]
    is the error message
  • Without having looked into this, it's possible those PDF links (are those new/different?) are throwing off the translator. The translator will need to be fixed. On the bright side, the translator can probably be adjusted to automatically save PDFs for those sources.
  • oh right - I hadn't noticed - yes, similar links have existed before, but the way these works and where they are seems to be new.
  • Have the same problem. Translator is not working when I'm trying to import citations from Google Scholar. Yesterday it worked OK, but not today. I saw the same error message as "JavaScript Error: "translator called select items with no items" when I checked out the "report errors."
  • For one, the XPath to get the item titles should be changed from
    var titles = doc.evaluate('//h3[@class="r"]', doc, nsResolver, XPathResult.ANY_TYPE, null);to
    var titles = doc.evaluate('//div[@class="gs_r"]/h3', doc, nsResolver, XPathResult.ANY_TYPE, null);
    There is an additional problem though: loading the item URL with doGet will give an Google error page instead of the BibTeX file (manually loading the URL in the browser works fine): "Your client does not have permission to get URL /scholar.bib?q=info:nnj44SdvIHgJ:scholar.google.com/&output=citation&hl=en&as_sdt=2000&ct=citation&cd=0 from this server."
  • I've pushed the fix. (Clients will update automatically within 24 hours or can be updated via Update Now from the General pane of the Zotero prefs.) Thanks, Rintze.
  • Do you have the third-party cookie pref off in Firefox 3.5?
    I had. Checking the preference fixed the problem.

    Did you commit the fix? It doesn't show up in Trac.
  • Thank you, I'm all set.

    dan

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.