Open WorldCat translators fails to parse ISBN with 'TypeError: url is undefined' in line 88

Description

I just returned to using Zotero after a few months and I am now facing some issues with adding items through ISBNs. When trying to add ISBNs with the magic wand dialog, Zotero complains that it can't find a record for the Identifier, even though Open WorldCat has the book in their catalog.

To identify the issue I tried to re-add a few books that I had added to Zotero a few months back. This resulted in the same error message in the output log. Resetting all translators didn't help.

I pasted the debug log for one of the books below.

I would appreciate any help with solving this issue.

Thank you very much in advance.

Debug log

Here's the relevant DEBUG output I got for one of the books (ISBN: 9783540714606):



[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "zotero://debug/" line: 0}]

[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "No items returned from any translator"]

[JavaScript Error: "No items returned from any translator"]

version => 4.0.14, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 4.0.14

=========================================================

(4)(+0012668): Translate: Binding sandbox to http://www.example.com/

(4)(+0000004): Translate: Parsing code for EIDR

(4)(+0000003): Translate: Parsing code for CrossRef

(4)(+0000002): Translate: Parsing code for Library of Congress ISBN

(4)(+0000002): Translate: Parsing code for DataCite

(4)(+0000001): Translate: Parsing code for NCBI PubMed

(4)(+0000003): Translate: Parsing code for Open WorldCat

(4)(+0000002): Translate: Parsing code for mEDRA

(4)(+0000002): Translate: Parsing code for Airiti

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

(4)(+0000000): Translate: Parsing code for Library of Congress ISBN

(3)(+0000001): Translate: Beginning translation with Library of Congress ISBN

(3)(+0000000): HTTP GET http://lx2.loc.gov:210/LCDB?operation=searchRetrieve&version=1.1&query=bath.ISBN=^9783540714606&maximumRecords=1

(5)(+0000001): CookieSandbox: Not touching channel for lx2.loc.gov:210

(5)(+0000218): CookieSandbox: Not touching channel for lx2.loc.gov:210

(3)(+0000001): Translate: Creating translate instance of type import in sandbox

(4)(+0000000): Translate: Binding sandbox to http://www.example.com/

(4)(+0000003): Translate: Parsing code for MARCXML

(3)(+0000002): Translate: Beginning translation with MARCXML

(3)(+0000001): Translate: Creating translate instance of type import in sandbox

(4)(+0000000): Translate: Binding sandbox to http://www.example.com/

(4)(+0000002): Translate: Parsing code for MARC

(3)(+0000002): Translate: Translation successful

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

(3)(+0000000): Translate: Could not find a result using Library of Congress ISBN

(4)(+0000001): Translate: Parsing code for Open WorldCat

(3)(+0000000): Translate: Beginning translation with Open WorldCat

(3)(+0000005): Created hidden browser (0)

(3)(+0000000): Zotero.HTTP.processDocuments: Loading http://www.worldcat.org/search?qt=results_page&q=bn:9783540714606

(5)(+0000003): CookieSandbox: Not touching channel for www.worldcat.org

(5)(+0000462): CookieSandbox: Not touching channel for www.worldcat.org

(5)(+0000024): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000001): CookieSandbox: Not touching channel for ajax.googleapis.com

(5)(+0000000): CookieSandbox: Not touching channel for ajax.googleapis.com

(5)(+0000001): CookieSandbox: Not touching channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000000): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000001): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000000): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000001): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000000): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000001): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000000): CookieSandbox: Not touching channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Not touching channel for static1.worldcat.org

(5)(+0000001): CookieSandbox: Not touching channel for ajax.googleapis.com

(5)(+0000000): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000000): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000126): CookieSandbox: Not touching channel for static1.worldcat.org

(5)(+0000133): CookieSandbox: Not touching channel for ajax.googleapis.com

(5)(+0000064): CookieSandbox: Being paranoid about channel for static1.worldcat.org

(5)(+0000000): CookieSandbox: Cleared cookies to be sent to static1.worldcat.org

(5)(+0000001): CookieSandbox: Not touching channel for static1.worldcat.org

(5)(+0000001): CookieSandbox: Not touching channel for www.worldcat.org

(5)(+0000229): CookieSandbox: Not touching channel for www.worldcat.org

(5)(+0000141): CookieSandbox: Not touching channel for www.worldcat.org

(3)(+0000021): Zotero.HTTP.processDocuments: http://www.worldcat.org/search?qt=results_page&q=bn:9783540714606 loaded

(3)(+0000010): Deleted hidden browser (0)

(3)(+0000000): Translate: Could not find a result using Open WorldCat

(3)(+0000000): fileName => /home/glutanimate/.zotero/zotero/2w8er00z.default/zotero/translators/Open WorldCat.js
lineNumber => 88
columnNumber => 0
string => TypeError: url is undefined
stack => extractOCLCID@/home/glutanimate/.zotero/zotero/2w8er00z.default/zotero/translators/Open WorldCat.js:88
doSearch/<@/home/glutanimate/.zotero/zotero/2w8er00z.default/zotero/translators/Open WorldCat.js:226

url => undefined
downloadAssociatedFiles => true
automaticSnapshots => true

(2)(+0000001): Translate: Translation using Open WorldCat failed:
thrown exception => No items returned from any translator
url => undefined
downloadAssociatedFiles => true
automaticSnapshots => true

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

  • Works for me. Upgrade to the latest version of Zotero — you're still on a version from last November.
  • Oh, wow. Sorry for that. Somehow I assumed I was on the latest release. Updating solved the issue. Thanks!
Sign In or Register to comment.