New Zealand Herald giving translator error

I am using the latest firefox and zotero but I have been getting translators on the New Zealand Herald site ( http://www.nzherald.co.nz ). Have tried resetting and updating them in my preferences.
  • edited March 15, 2012
    works for me - sample URL (i.e a specific article)?
  • works for me. Are you logged in to the page? I'm not, that could potentially make a difference.

    Try disabling your other add-ons (temporarily, for troubleshooting), see if that makes a difference.

    If it doesn't, send an error report ID:
    http://www.zotero.org/support/reporting_bugs

    If you want to, looks at the error report yourself and post the part that mentions New Zealand Herald.js - that last part isn't necessary, might just speed things up.
  • Same error if I am logged on.
  • Error report:
    [JavaScript Error: "doc.evaluate(myXPath, doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext() is null" {file: "C:\Documents and Settings\Alan Liefting\Application Data\Mozilla\Firefox\Profiles\4hwa8ujd.default\zotero\translators\New Zealand Herald.js" line: 53}]
  • that's quite odd & really shouldn't be the case.
    If you're interested in helping troubleshoot this further, you can install the XCpath bookmarklet from here:
    http://dl.dropbox.com/u/848981/it/xp/xp.html
    (yes, the site looks a bit dodgy, but it's fine.)
    once you have the bookmark in you bookmark toolbar, go to a NZH article page, click the bookmarklet and the click the title/headline of the article (i.e stripping valuables from waste... in the example you link to). The bookmarklet will open a small window with an xpath (something like
    //div[contains(@class, "wrapper") and contains(@class, "bg")
    and contains(@class, "")]/div[@class="rootContainer"]/div[@class="midContent" and @id="articlePage"]
    /div[contains(@class, "wrapper") and contains(@class, "left")]/div[contains(@class, "contentContainer") and contains(@class, "left") and contains(@class, "eight")]/div[@class="storyHeader"]/h1


    copy & paste that xpath here.
  • Here it is
    //div[contains(@class, "wrapper") and contains(@class, "bg") and contains(@class, "")]/div[@class="rootContainer"]/div[@class="midContent" and @id="articlePage"]/div[contains(@class, "wrapper") and contains(@class, "left")]/div[contains(@class, "contentContainer") and contains(@class, "left") and contains(@class, "eight")]/div[contains(@class, "contentContainer") and contains(@class, "right") and contains(@class, "two") and contains(@class, "nopad") and contains(@class, "relatedColumn")]/div[@class="relatedArticles"]/ol[@class="listStyle1"]/li[@class="imageArticle"]/a[2]
  • As text:

    //div[contains(@class, "wrapper") and contains(@class, "bg") and contains(@class, "")]/div[@class="rootContainer"]/div[@class="midContent" and @id="articlePage"]/div[contains(@class, "wrapper") and contains(@class, "left")]/div[contains(@class, "contentContainer") and contains(@class, "left") and contains(@class, "eight")]/div[contains(@class, "contentContainer") and contains(@class, "right") and contains(@class, "two") and contains(@class, "nopad") and contains(@class, "relatedColumn")]/div[@class="relatedArticles"]/ol[@class="listStyle1"]/li[@class="imageArticle"]/a[2]
  • thanks, that's helpful. And that's the xpath for clicking on the big headline?
    That would be very surprising, but would explain the problem.
    If you delete everything in that yellow pop-up window an put type/paste //h1 - does the button on the top right say "hit" or "miss"?
  • Fixed it with adblocker addon for firefox
  • ah yes - I should have thought of that - sorry.
  • Hi. I'm having the same problem with the NZ Herald. I've disabled adblock plus but it's made no difference. Any ideas?
  • Hi there, I'm having the same problem with the NZ Herald. I've tried troubleshooting but nothing seems to be fixing the problem.
  • A translator fix is now up. Your version of Zotero will automatically update within 24hs, or you can update manually using the "Update Now" button in the "General" tab of the Zotero preferences.

    Any further problems let us know & thanks for reporting
  • Hi there, problem solved, thanks so much!
Sign In or Register to comment.