Need help debugging a translator ?

51 views
Skip to first unread message

sylvain machefert

unread,
Nov 30, 2017, 9:34:43 AM11/30/17
to zotero-dev
Hello all,
I have been contacted by librarians in France who encounter issues with the new version of Zotero and I am unable to understand what is going wrong, I hope someone here will be luckier than me :)

The translator is Library Catalog Pica when applied to French catalog Sudoc (www.sudoc.fr). If you go there > search for any term > try to save items from the result list, you should get the popup message in the right bottom corner saying there was an issue while saving the item. Same behavior on Chrome AND Firefox (I am running Ubuntu 16.04). The issue is that :
- the list of titles is ok and saving a record from a detailed view page is working fine;
- testing the translator through Scaffold is working fine.

Any idea on what is going wrong?

Thanks,
Sylvain

sylvain machefert

unread,
Dec 8, 2017, 9:51:56 AM12/8/17
to zotero-dev
Hello all,
replying to myself as today is seems that there is not any way to get metadata from Sudoc (national catalog for academic libraries in France, major issue for usage of Zotero in France)/ When searching anything on www.sudoc.fr the translator is not loaded. Looking at the output, I don't even see a line containing "Looking for translators for" when browsing the SUDOC. Below is the output from my logs. I suspect something is wrong based on the timeout at the end of the log but am not able to understand what. The translator has not changed since May so I suspect it might be related to some change on the provider's website but have you got any clue on what can be wrong ?

##################


connector => true, version => 5.0.29, platform => Linux x86_64, locale => fr, userAgent => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0, appName => Firefox Connector, zoteroAvailable => true

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

(3)(+0002359): Connector_Browser: onActivated for http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1

(3)(+0000620): Connector_Browser: onFrameLoaded for http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1; http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1

(3)(+0000017): Injecting translation scripts into 0 http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1

(3)(+0000001): Inject: Injecting scripts into 0 - http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1 : browser-polyfill.js, node_modules.js, zotero_config.js, zotero.js, promise.js, http.js, proxy.js, cachedTypes.js, zotero/date.js, zotero/debug.js, zotero/openurl.js, zotero/xregexp/xregexp.js, zotero/xregexp/addons/build.js, zotero/xregexp/addons/matchrecursive.js, zotero/xregexp/addons/unicode/unicode-base.js, zotero/xregexp/addons/unicode/unicode-categories.js, zotero/xregexp/addons/unicode/unicode-zotero.js, zotero/rdf/init.js, zotero/rdf/uri.js, zotero/rdf/term.js, zotero/rdf/identity.js, zotero/rdf/match.js, zotero/rdf/rdfparser.js, zotero/translation/translate.js, zotero/translation/translator.js, translate_item.js, zotero/connectorTypeSchemaData.js, zotero/utilities.js, zotero/utilities_translate.js, utilities.js, inject/http.js, inject/progressWindow.js, inject/translate_inject.js, messages.js, messaging_inject.js, api.js, inject/inject.js

(3)(+0000316): Connector_Browser: onActivated for moz-extension://3588bd24-ae1c-4935-bed3-914b40ce30c0/preferences/preferences.html#advanced

(3)(+0000002): HTTP POST http://127.0.0.1:23119/connector/ping

(3)(+0000007): Connector: Method ping succeeded

(3)(+0000667): Connector_Browser: onActivated for http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1

(3)(+0000711): Connector_Browser: onActivated for moz-extension://3588bd24-ae1c-4935-bed3-914b40ce30c0/preferences/preferences.html#advanced

(3)(+0000000): HTTP POST http://127.0.0.1:23119/connector/ping

(3)(+0000013): Connector: Method ping succeeded

(3)(+0001330): HTTP POST http://127.0.0.1:23119/connector/ping

(3)(+0000026): Connector: Method ping succeeded

(3)(+0006930): Translation Inject: Script injection rejected 2-0

(3)(+0000000): Inject: Timed out 0 - http://www.sudoc.abes.fr//DB=2.1/SET=28/TTL=1/SHW?FRST=1 after undefined
################"

sylvain machefert

unread,
Jan 9, 2018, 7:59:18 AM1/9/18
to zotero-dev
Hello all,
I just opened an issue on https://github.com/zotero/zotero-connectors/issues/216 in case someone has any idea regarding this issue.

S.



Le jeudi 30 novembre 2017 15:34:43 UTC+1, sylvain machefert a écrit :
Reply all
Reply to author
Forward
0 new messages