MathSciNet failure

As of recent, Zotero fails to save MathSciNet reviews. I can reproduce it on two computers. Below I paste the debug log obtained when running browser with all plugins except for Zotero and ZotFile disabled. Any help is appreciated.

[JavaScript Error: "TypeError: Cc['@mozilla.org/updates/update-service;1'] is undefined" {file: "resource://app/components/nsBrowserGlue.js" line: 574}]

[JavaScript Error: "A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'?
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

Date: Wed Feb 01 2017 09:44:30 GMT-0500 (EST)
Full Message: Error: loop is not enabled
Full Stack: this.MozLoopService.initialize<@resource:///modules/loop/MozLoopService.jsm:1078:29
TaskImpl_run@resource://gre/modules/Task.jsm:314:40
TaskImpl@resource://gre/modules/Task.jsm:275:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14
LoopUI.init@chrome://browser/content/browser.js:2395:7
gBrowserInit._delayedStartup@chrome://browser/content/browser.js:10702:5
" {file: "resource:///modules/loop/MozLoopService.jsm" line: 1078 column: 0 source: "1078"}]

[JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 187}]

[JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 187}]

[JavaScript Error: "TypeError: Cc['@mozilla.org/updates/update-service;1'] is undefined" {file: "resource://app/components/nsBrowserGlue.js" line: 574}]

[JavaScript Error: "A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'?
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

Date: Wed Feb 01 2017 09:44:59 GMT-0500 (EST)
Full Message: Error: loop is not enabled
Full Stack: this.MozLoopService.initialize<@resource:///modules/loop/MozLoopService.jsm:1078:29
TaskImpl_run@resource://gre/modules/Task.jsm:314:40
TaskImpl@resource://gre/modules/Task.jsm:275:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14
LoopUI.init@chrome://browser/content/browser.js:2395:7
gBrowserInit._delayedStartup@chrome://browser/content/browser.js:10702:5
" {file: "resource:///modules/loop/MozLoopService.jsm" line: 1078 column: 0 source: "1078"}]

[JavaScript Error: "syntax error" {file: "http://128.237.76.76:11946/" line: 2 column: 1 source: "invalid request"}]

version => 4.0.29.1, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Firefox, appVersion => 36.0

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

(4)(+0012597): Translate: Parsing code for AMS MathSciNet (a354331-981b-43de-a61-bc26dd1be3a9, 2014-06-06 18:23:10)

(3)(+0000001): Translate: Beginning translation with AMS MathSciNet

(3)(+0000002): Translate: resolving URL http://www.ams.org/mathscinet/search/publications.html?fmt=bibtex&b=3278772

(3)(+0000000): Translate: resolved to http://www.ams.org/mathscinet/search/publications.html?fmt=bibtex&b=3278772

(3)(+0000000): HTTP GET http://www.ams.org/mathscinet/search/publications.html?fmt=bibtex&b=3278772

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

(4)(+0000000): Translate: Binding sandbox to http://www.ams.org/mathscinet-getitem?mr=3278772

(4)(+0000006): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2017-01-26 13:35:00)

(3)(+0000009): Translate: Beginning translation with BibTeX

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

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

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

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

(4)(+0005104): Registering observer for [collection,search,share,group,trash,bucket] in notifier with hash 53'

(3)(+0000002): TypeError: aId is undefined
===== Stack Trace =====
CustomizableUIInternal.isSpecialWidget@resource://app/modules/CustomizableUI.jsm:1108:5
CustomizableUIInternal.getWidgetProvider@resource://app/modules/CustomizableUI.jsm:729:9
CustomizableUIInternal.wrapWidget@resource://app/modules/CustomizableUI.jsm:345:20
this.CustomizableUI.createWidget@resource://app/modules/CustomizableUI.jsm:3079:1
@chrome://zotero/content/icon.js:119:1
ZoteroOverlay</this.onLoad@chrome://zotero/content/overlay.js:83:3
@chrome://zotero/content/overlay.js:285:47
Zotero_Preferences.openInViewer@chrome://zotero/content/preferences/preferences.js:122:6
Zotero_Preferences.Debug_Output.view@chrome://zotero/content/preferences/preferences_advanced.js:620:3
oncommand@chrome://zotero/content/preferences/preferences.xul:1:1
=======================

(4)(+0000002): Registering observer for [item-tag,setting] in notifier with hash 9s'
  • (tech note: changing
    pub += "&b="+MR.replace(/^MR0*/, "");

    to
    pub += "&pg1=MR&s1="+MR.replace(/^MR0*/, "");

    should fix that. )
  • Thanks! I edited AMS MathSciNet.js as suggested, and it works. (What, if anything, should I do to have it fixed in the official version? Is this forum post enough, or is there a bug tracker?)
  • No need to file a formal bug report (we triage bugs here and only file bug reports if there's a need to actually track progress). If you feel like it, you can make a pull request to the file on https://github.com/zotero/translators (in addition to that line you'll need to bump the timestamp). Otherwise we'll take care of it.
  • This issue has now been fixed. No need to modify your translator manually any more.
Sign In or Register to comment.