[RESOLVED] Can't import from Taylor & Francis Online after 5.0 upgrade, other sites work fine
This is now working after testing on the Standalone 5.0.3 update. I also did a complete reinstall of Firefox since last testing this bug.
#######################################
Error: Can't import T&F pages to Standalone from Firefox. Pops up with "adding to my library" but times out.
My setup: Recently migrated from Zotero for Firefox 4.x to the Connector + Standalone 5.x setup. Using Zotero Connector 5.0.7 on Firefox 54.0.1 with multiprocess disabled, same behavior when enabled. Fresh install of Zotero Standalone 5.0.1. Windows 10 Education Version 1703, OS Build 15063.447.
What I've tried: Tried multiple pages on T&F, same error. Tried a few on JSTOR, they worked fine. Also tried dragging and dropping T&F URL directly into Standalone, that worked to create an entry but did not pull in metadata. Confirmed I don't have ad-blocking in my HOSTS file. Tried completely disabling ad-blocking in Firefox.
Debug: Post too long with debug included, see following two comments.
#######################################
Error: Can't import T&F pages to Standalone from Firefox. Pops up with "adding to my library" but times out.
My setup: Recently migrated from Zotero for Firefox 4.x to the Connector + Standalone 5.x setup. Using Zotero Connector 5.0.7 on Firefox 54.0.1 with multiprocess disabled, same behavior when enabled. Fresh install of Zotero Standalone 5.0.1. Windows 10 Education Version 1703, OS Build 15063.447.
What I've tried: Tried multiple pages on T&F, same error. Tried a few on JSTOR, they worked fine. Also tried dragging and dropping T&F URL directly into Standalone, that worked to create an entry but did not pull in metadata. Confirmed I don't have ad-blocking in my HOSTS file. Tried completely disabling ad-blocking in Firefox.
Debug: Post too long with debug included, see following two comments.
Zotero Connector 5.0.7 debug:
############################
[JavaScript Error: "Script injection timed out" {file: "moz-extension://981e3f72-543e-44c5-930a-9c7b2c9e3722/background.js" line: 260}]
[JavaScript Error: "Script injection timed out" {file: "moz-extension://981e3f72-543e-44c5-930a-9c7b2c9e3722/background.js" line: 260}]
[JavaScript Error: "getTranslators: detection is already running" {file: "jar:file:///C:/Users/Cory/AppData/Roaming/Mozilla/Firefox/Profiles/uuvq95gq.default/extensions/zotero@chnm.gmu.edu.xpi!/zotero/translation/translate.js" line: 1136}]
[JavaScript Error: "getTranslators: detection is already running" {file: "jar:file:///C:/Users/Cory/AppData/Roaming/Mozilla/Firefox/Profiles/uuvq95gq.default/extensions/zotero@chnm.gmu.edu.xpi!/zotero/translation/translate.js" line: 1136}]
[JavaScript Error: "getTranslators: detection is already running" {file: "jar:file:///C:/Users/Cory/AppData/Roaming/Mozilla/Firefox/Profiles/uuvq95gq.default/extensions/zotero@chnm.gmu.edu.xpi!/zotero/translation/translate.js" line: 1136}]
[JavaScript Error: "getTranslators: detection is already running" {file: "jar:file:///C:/Users/Cory/AppData/Roaming/Mozilla/Firefox/Profiles/uuvq95gq.default/extensions/zotero@chnm.gmu.edu.xpi!/zotero/translation/translate.js" line: 1136}]
[JavaScript Error: "getTranslators: detection is already running" {file: "jar:file:///C:/Users/Cory/AppData/Roaming/Mozilla/Firefox/Profiles/uuvq95gq.default/extensions/zotero@chnm.gmu.edu.xpi!/zotero/translation/translate.js" line: 1136}]
[JavaScript Error: "Script injection timed out" {file: "moz-extension://981e3f72-543e-44c5-930a-9c7b2c9e3722/background.js" line: 260}]
connector => true, version => 5.0.7, platform => Win32, locale => en-US, userAgent => Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0, appName => Firefox Connector, zoteroAvailable => true
=========================================================
(3)(+0004075): Connector_Browser: onActivated for http://www.tandfonline.com/doi/full/10.1080/13562510500238986?src=recsys
(3)(+0001308): translate message received in injected page http://www.tandfonline.com/doi/full/10.1080/13562510500238986?src=recsys
(3)(+0000003): HTTP POST {} to http://127.0.0.1:23119/connector/ping
(3)(+0000017): Connector: Method ping succeeded
(4)(+0000021): Translate: Parsing code for Taylor and Francis+NEJM (dac476e4-401d-430a-8571-a97c31c3b65e, 2016-09-21 20:31:33)
(3)(+0000000): Translate: Beginning translation with Taylor and Francis+NEJM
(3)(+0000001): Translate: resolving URL http://www.tandfonline.com/action/downloadCitation
(3)(+0000000): Translate: resolved to http://www.tandfonline.com/action/downloadCitation
(3)(+0000001): HTTP POST downloadFileName=citation&direct=true&include=abs&doi=10.1080/13562510500238986&format=bibtex to http://www.tandfonline.com/action/downloadCitation
(3)(+0000021): progressWindow.show message received in injected page http://www.tandfonline.com/doi/full/10.1080/13562510500238986?src=recsys
(3)(+0000001): HTTP POST {} to http://127.0.0.1:23119/connector/getSelectedCollection
(3)(+0000050): Connector: Method getSelectedCollection succeeded
(3)(+0003378): Translate: Creating translate instance of type import in sandbox
(4)(+0000037): Translate: Binding sandbox to http://www.tandfonline.com/doi/full/10.1080/13562510500238986?src=recsys
(4)(+0000001): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2017-07-08 08:20:00)
(3)(+0000000): Translate: Beginning translation with BibTeX
(3)(+0000000): Translate: Translation successful
(5)(+0000001): Translate: Running handler 0 for done
(5)(+0000000): Translate: Running handler 1 for done
(3)(+0000001): Translate: Translation successful
(5)(+0000000): Translate: Running handler 0 for done
(5)(+0000001): Translate: Running handler 1 for done
(3)(+0000008): progressWindow.done message received in injected page http://www.tandfonline.com/doi/full/10.1080/13562510500238986?src=recsys
(3)(+0003452): Connector_Browser: onActivated for moz-extension://981e3f72-543e-44c5-930a-9c7b2c9e3722/preferences/preferences.html#advanced
(3)(+0000001): HTTP POST {} to http://127.0.0.1:23119/connector/ping
(3)(+0000018): Connector: Method ping succeeded
Zotero Standalone 5.0.7 debug:
################################
[JavaScript Error: "can't access dead object" {file: "chrome://zotero/content/xpcom/attachments.js" line: 577}]
[JavaScript Error: "Discarding unknown JSON field 'collections' for item 1/UPID34DX"]
[JavaScript Error: "Discarding invalid field 'publisher' for type 4 for item 1/null"]
[JavaScript Error: "Discarding unknown JSON field 'collections' for item 1/R4CPN3VF"]
[JavaScript Error: "Discarding invalid field 'publisher' for type 4 for item 1/null"]
[JavaScript Error: "Discarding unknown JSON field 'collections' for item 1/IFMCCQZN"]
version => 5.0.1, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 5.0.1, extensions => Zotero LibreOffice Integration (5.0.3.SA.5.0.1, extension), Zotero Word for Windows Integration (5.0.2.SA.5.0.1, extension), Shockwave Flash (26.0.0.137, plugin)
=========================================================
(5)(+0519342): POST /connector/ping HTTP/1.1
Host: 127.0.0.1:23119
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
X-Zotero-Version: 5.0.7
X-Zotero-Connector-API-Version: 2
Content-Length: 2
Connection: keep-alive
(5)(+0000001): HTTP/1.0 200 OK
X-Zotero-Version: 5.0.1
X-Zotero-Connector-API-Version: 2
Content-Type: text/plain
Content-Length: 0
(5)(+0007442): POST /connector/ping HTTP/1.1
Host: 127.0.0.1:23119
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
X-Zotero-Version: 5.0.7
X-Zotero-Connector-API-Version: 2
Content-Length: 2
Connection: keep-alive
(5)(+0000003): HTTP/1.0 200 OK
X-Zotero-Version: 5.0.1
X-Zotero-Connector-API-Version: 2
Content-Type: text/plain
Content-Length: 0
(5)(+0000058): POST /connector/getSelectedCollection HTTP/1.1
Host: 127.0.0.1:23119
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
X-Zotero-Version: 5.0.7
X-Zotero-Connector-API-Version: 2
Content-Length: 2
Connection: keep-alive
(3)(+0000001): Zotero.Libraries.getName() is deprecated. Use Zotero.Library.prototype.name instead
(5)(+0000001): HTTP/1.0 200 OK
X-Zotero-Version: 5.0.1
X-Zotero-Connector-API-Version: 2
Content-Type: application/json
{"editable":true,"libraryID":1,"libraryName":"My Library","id":null,"name":"My Library"}
(5)(+0006933): POST /connector/ping HTTP/1.1
Host: 127.0.0.1:23119
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
X-Zotero-Version: 5.0.7
X-Zotero-Connector-API-Version: 2
Content-Length: 2
Connection: keep-alive
(5)(+0000001): HTTP/1.0 200 OK
X-Zotero-Version: 5.0.1
X-Zotero-Connector-API-Version: 2
Content-Type: text/plain
Content-Length: 0
EDIT:
@gondolin 's solution worked for me: This raises the question: Why is that change necessary? I would rather keep third-party cookies deactivated.