Informaworld Translator Error
This morning I could not save an Informaworld article from
http://www.informaworld.com/smpp/content~db=all?content=10.1207/S15326985EP3801_4
Using the newest versions of Zotero/FF, the FF error console spits out the following error when I try to import the article:
http://www.informaworld.com/smpp/content~db=all?content=10.1207/S15326985EP3801_4
Using the newest versions of Zotero/FF, the FF error console spits out the following error when I try to import the article:
followed by severalError: TypeError: newDoc.evaluate("//table[@id=\"tabbar_table\"]//td//a[@title = \"Article\"]", newDoc, null, XPathResult.ANY_TYPE, null).iterateNext() is null
Source file: file:///D:/MyData/Dataset%201/Zotero/translators/Informaworld.js
Line: 0
errors.Error: uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: chrome://zotero/content/xpcom/progressWindow.js :: _disableTimeout :: line 310" data: no]
It should start working again. If this works for you, please post here so that I can submit this one-line change to be pushed to all users.
It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.
If it still doesn't work, please post the URL that you can't save.
@Dan, could you look at the error report and see if this is just an issue with attaching PDFs?
After updating the translator with ajlyon's version above and restarting Firefox it worked (sorry I didn't see this thread before, but maybe this result might still be helpful in some way)
Original errormsg was (ReportID: 1820248588):
[JavaScript Error: "TypeError: newDoc.evaluate("//div[@id=\"content\"]/div/a[1]", newDoc, null, XPathResult.ANY_TYPE, null).iterateNext() is null" {file: "file:///Users/johannes/Library/Application%20Support/Firefox/Profiles/43u191sm.default/zotero/translators/Informaworld.js" line: 0}]
Thanks for helping with this.
P.S. I am on a MacBook Pro 17" running Firefox 3.6.3
@jonnogreen: did you save http://github.com/ajlyon/zotero-bits/raw/master/Informaworld.js to the Translators directory of your Zotero data directory? Did you then close all Firefox instances and restarted the browser?
(4)(+0000679): Translate: RT Journal
JF GFF
T1 New exposures of Baltic Ice Lake drainage sediments, Götene, Sweden
PB Taylor & Francis
A1 Johnson, Mark D.
A1 Ståhl, Ylva
A1 Larsson, Olof
A1 Seger, Stefan
SN 1103-5897
YR 2010
VO 132
IS 1
SP 1
LK http://www.informaworld.com/10.1080/11035891003597067
RD May 11, 2010
(4)(+0000001): Translate: Binding sandbox to http://www.example.com/
(4)(+0000000): Translate: Parsing code for RIS
(4)(+0000003): Translate: Setting configure option dataMode to line
(4)(+0000000): Translate: Setting display option exportNotes to true
(4)(+0000000): Translate: Setting display option exportCharset to UTF-8
(4)(+0000001): Translate: tag: 'TY'; data: 'Journal'
(4)(+0000000): Translate: tag: 'JF'; data: 'GFF - T1 - New exposures of Baltic Ice Lake drainage sediments, Götene, Sweden'
For a reason that isn't immediately apparent, the T1 field is being processed as the continuation of the JF field. As I have approximately no experience with RIS, I don't know why this is happening. Perhaps an RIS guru in the house could look into fixing this?
thanks for this fix. I applied it an it seems to be working now.
ajlyon: I haven't looked into it, but maybe an issue of the newline used after "GFF"? Just a guess.
http://info.library.unsw.edu.au/cgi-bin/local/access/ej-access.cgi?url=http://www.informaworld.com/openurl?genre=journal&issn=0307-5079&volume=34&issue=4
Here is the error report: 791141168
Does the problem relate to the discussion above and if so what do I need to do to rectify? (sorry- I am struggling to understand the discussion above and am rather inept technically!).
The discussion above is about a small bug that prevents some (one, so far) items from saving.
Not sure what the issue is here, but it appears to be a rather limited one.
http://www.informaworld.com/smpp/content~db=all?content=10.1080/01442350601084562
And it's definitely trying to use the Informaworld translator...
Error report: 1536638774, Firefox 2.0.0.13, Zotero 1.0.10, Linux 2.6.24.2.
Thanks
Upgrade to Firefox 3.6.3 (the current release) and Zotero 2.0.3 (the current release), and many, many things will start to work better.
See http://www.zotero.org/support/2.0#upgrading_from_zotero_1.0 for Zotero upgrade instructions.
As always, please go to http://github.com/ajlyon/zotero-bits/raw/master/Informaworld.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).
This addresses both daoane's problem and peval's problem from the linked thread. Please try out the updated version and post here if it works for you. I'll submit it to the Zotero repository to be pushed to clients if it does.
Try here:
http://www.informaworld.com/smpp/title~content=g926983316~db=all
and here
http://www.informaworld.com/smpp/content~db=all~content=a926979871~frm=titlelink
Where I got this error:
[JavaScript Error: "TypeError: newDoc.evaluate("//div[@id=\"content\"]/div/a[1]", newDoc, null, XPathResult.ANY_TYPE, null).iterateNext() is null" {file: "file:///home/jon/Documents/zotero/translators/Informaworld.js" line: 0}]
report id: 938878068
Error: TypeError: newDoc.evaluate("//div[@id=\"content\"]/div/a[1]", newDoc, null, XPathResult.ANY_TYPE, null).iterateNext() is null
Source: file:///D:/MyData/Dataset%201/Zotero/translators/Informaworld.js
Line: 0
However, using the 'Download citation' link on the top-right, worked for me!
(I selected 'Endnote Direct Export', 'Citation and Abstract', 'Download File' on the next screen)