mediawiki/services/zotero (master)

sourcepatches
$ date
Thu Mar  4 13:57:09 UTC 2021

$ git clone file:///srv/git/mediawiki-services-zotero.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init
Submodule 'modules/translators' (https://github.com/zotero/translators) registered for path 'modules/translators'
Submodule 'modules/zotero' (https://github.com/zotero/zotero.git) registered for path 'modules/zotero'
Cloning into '/src/repo/modules/translators'...
Cloning into '/src/repo/modules/zotero'...
Submodule path 'modules/translators': checked out '363e1bbbc54949b43f38cd4094e17b811d80321e'
Submodule path 'modules/zotero': checked out '70a8bce73997288ac8af4976ae856fad0944b012'

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
284be3e05dafb1bee7a9bb85d1ff335a22a40538 refs/heads/master

Attempting to npm audit fix
$ npm audit fix --only=dev
added 143 packages from 814 contributors in 4.343s

13 packages are looking for funding
  run `npm fund` for details

fixed 0 of 2 vulnerabilities in 378 scanned packages
  1 package update for 1 vulnerability involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation

> core-js-pure@3.8.3 postinstall /src/repo/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 376 packages in 8.847s

$ npm test

> translation-server@2.0.3 test /src/repo
> NODE_ENV=test ALLOW_CONFIG_MUTATIONS=1 node_modules/.bin/mocha test/*_test.js



(3)(+0000000): Translators initialized with 547 loaded

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

(4)(+0000002): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2020-03-13 03:07:49)

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

(3)(+0000004): Translate: Got value collins for %a

(3)(+0000000): Translate: Got value net for %t

(3)(+0000002): Translate: Got value 2018 for %y

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

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

(5)(+0000001): Translate: Running handler 1 for done

    ✓ should export to BibTeX (full) (70ms)
(4)(+0000014): Translate: Binding sandbox to http://www.example.com/

(4)(+0000000): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2020-03-13 03:07:49)

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

(3)(+0000002): Translate: Got value noauthor for %a

(3)(+0000001): Translate: Got value example for %t

(3)(+0000000): Translate: Got value nodate for %y

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

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

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

    ✓ should export to BibTeX (minimal) (45ms)
(4)(+0000005): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2020-03-13 03:07:49)

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

(3)(+0000001): Translate: Got value noauthor for %a

(3)(+0000000): Translate: Got value example for %t

(3)(+0000000): Translate: Got value nodate for %y

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

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

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

    ✓ should set BibTeX access date
(4)(+0000003): Translate: Binding sandbox to http://www.example.com/

(4)(+0000000): Translate: Parsing code for RIS (32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7, 2019-10-19 17:04:49)

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

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

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

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

    ✓ should export to RIS (full)
(4)(+0000002): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for RIS (32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7, 2019-10-19 17:04:49)

(3)(+0000007): Translate: Beginning translation with RIS

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

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

(5)(+0000001): Translate: Running handler 1 for done

TY  - ELEC
TI  - Example
UR  - http://example.com/
Y2  - 2019/01/14/20:18:11
ER  - 


    ✓ should export to RIS (minimal)
(4)(+0000003): Translate: Binding sandbox to http://www.example.com/

(4)(+0000000): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(3)(+0000001): Translate: Beginning translation with COinS

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

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

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

    ✓ should export COinS (full)
(4)(+0000003): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(3)(+0000000): Translate: Beginning translation with COinS

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

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

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

<span class='Z3988' title='url_ver=Z39.88-2004&amp;ctx_ver=Z39.88-2004&amp;rfr_id=info%3Asid%2Fzotero.org%3A2&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rft.type=webpage&amp;rft.title=Example&amp;rft.identifier=http%3A%2F%2Fexample.com%2F'></span>

    ✓ should export COinS (minimal)
(4)(+0000003): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for CSL JSON (bc03b4fe-436d-4a1f-ba59-de4d2d7a63f7, 2019-01-31 00:12:00)

(3)(+0000000): Translate: Beginning translation with CSL JSON

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

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

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

    ✓ should export CSL JSON
(4)(+0000003): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for CSL JSON (bc03b4fe-436d-4a1f-ba59-de4d2d7a63f7, 2019-01-31 00:12:00)

(3)(+0000000): Translate: Beginning translation with CSL JSON

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

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

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

    ✓ should export note as CSL JSON
(4)(+0000003): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for Bibliontology RDF (14763d25-8ba0-45df-8f52-b8d1108e7ac9, 2019-09-01 13:38:00)

(3)(+0000004): Translate: Initializing RDF data store

(3)(+0000001): Translate: Beginning translation with Bibliontology RDF

(3)(+0000006): serialize.js Find bnodes with only one incoming arc


(3)(+0000001): serialize.js Dummy serialize to check for missing nodes

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

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

(5)(+0000001): Translate: Running handler 1 for done

    ✓ should export Bibliontology RDF (45ms)
(4)(+0000033): Translate: Binding sandbox to http://www.example.com/

(4)(+0000003): Translate: Parsing code for Bibliontology RDF (14763d25-8ba0-45df-8f52-b8d1108e7ac9, 2019-09-01 13:38:00)

(3)(+0000004): Translate: Initializing RDF data store

(3)(+0000001): Translate: Beginning translation with Bibliontology RDF

(3)(+0000002): serialize.js Find bnodes with only one incoming arc


(3)(+0000000): serialize.js Dummy serialize to check for missing nodes

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

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

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

    ✓ should export Bibliontology RDF (minimal)
(4)(+0000007): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for RefWorks Tagged (1a3506da-a303-4b0a-a1cd-f216e6138d86, 2016-06-21 08:45:20)

(3)(+0000002): Translate: Beginning translation with RefWorks Tagged

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

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

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

    ✓ should export to RefWorks Tagged
(4)(+0000005): Translate: Binding sandbox to http://www.example.com/

(4)(+0000000): Translate: Parsing code for TEI (032ae9b7-ab90-9205-a479-baf81f49184a, 2020-07-23 18:31:53)

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

(3)(+0000000): Translate: starting TEI-XML export

(3)(+0000000): Translate: TEI-XML Exporting items

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

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

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

    ✓ should export to TEI
(4)(+0000007): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for Zotero RDF (14763d24-8ba0-45df-8f52-b8d1108e7ac9, 2019-08-11 12:58:13)

(3)(+0000001): Translate: Initializing RDF data store

(3)(+0000000): Translate: Beginning translation with Zotero RDF

(3)(+0000001): {
    "itemType": "newspaperArticle"
    "creators": [
        "0": {
            "firstName": "Keith"
            "lastName": "Collins"
            "creatorType": "author"
        }
    ]
    "tags": [
        "0": {
            "tag": "Net Neutrality"
            "type": 1
        }
        "1": {
            "tag": "Pai, Ajit"
            "type": 1
        }
        "2": {
            "tag": "Federal Communications Commission"
            "type": 1
        }
        "3": {
            "tag": "Regulation and Deregulation of Industry"
            "type": 1
        }
        "4": {
            "tag": "Computers and the Internet"
            "type": 1
        }
    ]
    "title": "Net Neutrality Has Officially Been Repealed. Here’s How That Could Affect You."
    "section": "Technology"
    "url": "https://www.nytimes.com/2018/06/11/technology/net-neutrality-repeal.html"
    "abstractNote": "Net Neutrality rules that required internet service providers to offer equal access to all web content are no longer in effect as of Monday."
    "language": "en-US"
    "libraryCatalog": "NYTimes.com"
    "accessDate": "2018-08-21 08:23:37"
    "date": "2018-06-11"
    "publicationTitle": "The New York Times"
    "ISSN": "0362-4331"
    "uri": "Q5VYZIG2"
    "uniqueFields": {
        "title": "Net Neutrality Has Officially Been Repealed. Here’s How That Could Affect You."
        "section": "Technology"
        "url": "https://www.nytimes.com/2018/06/11/technology/net-neutrality-repeal.html"
        "abstractNote": "Net Neutrality rules that required internet service providers to offer equal access to all web content are no longer in effect as of Monday."
        "language": "en-US"
        "libraryCatalog": "NYTimes.com"
        "accessDate": "2018-08-21 08:23:37"
        "date": "2018-06-11"
        "publicationTitle": "The New York Times"
        "ISSN": "0362-4331"
    }
    "itemID": 1
    "key": "nkVzPT"
    "sourceItemKey": undefined
    "seeAlso": []
    "attachments": []
    "notes": []
}

(3)(+0000003): Translate: processing tags

(3)(+0000000): Translate: Zotero RDF: using Zotero namespace for property language

(3)(+0000000): Translate: Zotero RDF: using Zotero namespace for property libraryCatalog

(3)(+0000001): serialize.js Find bnodes with only one incoming arc


(3)(+0000000): serialize.js Dummy serialize to check for missing nodes

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

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

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

    ✓ should export Zotero RDF (full)
(4)(+0000009): Translate: Binding sandbox to http://www.example.com/

(4)(+0000000): Translate: Parsing code for Zotero RDF (14763d24-8ba0-45df-8f52-b8d1108e7ac9, 2019-08-11 12:58:13)

(3)(+0000002): Translate: Initializing RDF data store

(3)(+0000000): Translate: Beginning translation with Zotero RDF

(3)(+0000000): {
    "itemType": "webpage"
    "url": "http://example.com/"
    "title": "Example"
    "accessDate": "2019-01-14 20:18:11"
    "uri": "JZMIXKUW"
    "uniqueFields": {
        "url": "http://example.com/"
        "title": "Example"
        "accessDate": "2019-01-14 20:18:11"
    }
    "itemID": 1
    "key": "udazGw"
    "creators": []
    "sourceItemKey": undefined
    "tags": []
    "seeAlso": []
    "attachments": []
    "notes": []
}

(3)(+0000002): Translate: processing tags

(3)(+0000001): serialize.js Find bnodes with only one incoming arc


(3)(+0000000): serialize.js Dummy serialize to check for missing nodes

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

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

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

    ✓ should export Zotero RDF (minimal)

  /import
    - should import BibTeX # 1
    - should import BibTeX # 2
    - should import BibTeX # 3
    - should import BibTeX # 4
    - should import BibTeX # 5
    - should import BibTeX # 6
    - should import BibTeX # 7
    - should import BibTeX # 8
    - should import BibTeX # 9
    - should import BibTeX # 10
    - should import BibTeX # 11
    - should import BibTeX # 12
    - should import BibTeX # 13
    - should import BibTeX # 14
    - should import BibTeX # 15
    - should import BibTeX # 16
    - should import BibTeX # 17
    - should import BibTeX # 18
    - should import BibTeX # 19
    - should import Bibliontology RDF # 1
    - should import Bookmarks # 1
    - should import CSL JSON # 1
    - should import Crossref Unixref XML # 1
    - should import Crossref Unixref XML # 2
    - should import Crossref Unixref XML # 3
    - should import Crossref Unixref XML # 4
    - should import Crossref Unixref XML # 5
    - should import Crossref Unixref XML # 6
    - should import Crossref Unixref XML # 7
    - should import Datacite JSON # 1
    - should import Datacite JSON # 2
    - should import Datacite JSON # 3
    - should import Datacite JSON # 4
    - should import Datacite JSON # 5
    - should import Datacite JSON # 6
    - should import Datacite JSON # 7
    - should import Endnote XML # 1
    - should import Endnote XML # 2
    - should import MARC # 1
    - should import MARC # 2
    - should import MARC # 3
    - should import MARCXML # 1
    - should import MARCXML # 2
    - should import MARCXML # 3
    - should import MARCXML # 4
    - should import MEDLINEnbib # 1
    - should import MEDLINEnbib # 2
    - should import MEDLINEnbib # 3
    - should import MEDLINEnbib # 4
    - should import MEDLINEnbib # 5
    - should import MODS # 1
    - should import MODS # 2
    - should import MODS # 3
    - should import MODS # 4
    - should import MODS # 5
    - should import MODS # 6
    - should import MODS # 7
    - should import MODS # 8
    - should import MODS # 9
    - should import MODS # 10
    - should import MODS # 11
    - should import MODS # 12
    - should import MODS # 13
    - should import MODS # 14
    - should import MODS # 15
    - should import MODS # 16
    - should import MODS # 17
    - should import MODS # 18
    - should import MODS # 19
    - should import OVID Tagged # 1
    - should import OVID Tagged # 2
    - should import OVID Tagged # 3
    - should import OVID Tagged # 4
    - should import OVID Tagged # 5
    - should import OVID Tagged # 6
    - should import OVID Tagged # 7
    - should import Primo Normalized XML # 1
    - should import Primo Normalized XML # 2
    - should import Primo Normalized XML # 3
    - should import PubMed XML # 1
    - should import PubMed XML # 2
    - should import PubMed XML # 3
    - should import PubMed XML # 4
    - should import RDF # 1
    - should import RDF # 2
    - should import RDF # 3
    - should import RDF # 4
    - should import RIS # 1
    - should import RIS # 2
    - should import RIS # 3
    - should import RIS # 4
    - should import RIS # 5
    - should import RIS # 6
    - should import RIS # 7
    - should import RefWorks Tagged # 1
    - should import RefWorks Tagged # 2
    - should import RefWorks Tagged # 3
    - should import RefWorks Tagged # 4
    - should import ReferBibIX # 1
    - should import ReferBibIX # 2
    - should import Web of Science Tagged # 1
    - should import Web of Science Tagged # 2
    - should import Web of Science Tagged # 3
    - should import Web of Science Tagged # 4
    - should import Web of Science Tagged # 5
    - should import Web of Science Tagged # 6
    - should import Web of Science Tagged # 7
    - should import Web of Science Tagged # 8
    - should import XML ContextObject # 1
    - should import XML ContextObject # 2

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

(4)(+0000001): Translate: Parsing code for EIDR (79c3d292-0afc-42a1-bd86-7e706fc35aa5, 2017-06-03 11:41:00)

(4)(+0000001): Translate: Parsing code for Crossref REST (0a61e167-de9a-4f93-a68a-628b48855909, 2018-06-16 12:00:00)

(4)(+0000001): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

(4)(+0000001): Translate: Parsing code for Gemeinsamer Bibliotheksverbund ISBN (de0eef58-cb39-4410-ada0-6b39f43383f9, 2018-04-13 13:41:00)

(4)(+0000001): Translate: Parsing code for DOI Content Negotiation (b28d0d42-8549-4c6d-83fc-8382874a5cb9, 2020-04-20 20:04:00)

(4)(+0000001): Translate: Parsing code for Open WorldCat (c73a4a8c-3ef1-4ec8-8229-7531ee384cc4, 2017-03-19 23:26:57)

(4)(+0000002): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(4)(+0000002): Translate: Parsing code for arXiv.org (ecddda2e-4fc6-4aea-9f17-ef3b56d7377a, 2019-10-22 05:31:06)

(4)(+0000002): Translate: Parsing code for Lulu (9a0ecbda-c0e9-4a19-84a9-fc8e7c845afa, 2016-11-04 21:18:44)

(4)(+0000001): Translate: Parsing code for mEDRA (d9b57cd5-5a9c-4946-8616-3bdf8edfcbb5, 2014-05-26 03:50:55)

(4)(+0000002): Translate: Parsing code for Airiti (5f0ca39b-898a-4b1e-b98d-8cd0d6ce9801, 2018-04-17 21:16:52)

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

(3)(+0000001): 	Library of Congress ISBN: 98

(3)(+0000000): 	Gemeinsamer Bibliotheksverbund ISBN: 99

(3)(+0000000): 	Lulu: 101

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

(4)(+0000000): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

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

(3)(+0000001): Translate: resolving URL http://lx2.loc.gov:210/LCDB?operation=searchRetrieve&version=1.1&query=bath.ISBN=^false&maximumRecords=1

(3)(+0000000): Translate: resolved to http://lx2.loc.gov:210/LCDB?operation=searchRetrieve&version=1.1&query=bath.ISBN=^false&maximumRecords=1

(3)(+0000000): Zotero.HTTP.doGet is deprecated. Use Zotero.HTTP.request

(3)(+0000001): Mocking request

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

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

(4)(+0000002): Translate: Parsing code for MARCXML (edd87d07-9194-42f8-b2ad-997c4c7deefd, 2019-07-11 13:12:18)

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

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

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

(4)(+0000000): Translate: Parsing code for MARC (a6ee60df-1ddc-4aae-bb25-45e0537be973, 2019-07-12 05:44:41)

(3)(+0000055): Translate: MARC: found 2 matches for 020a

(3)(+0000001): Translate: MARC: found 0 matches for 022a

(3)(+0000000): Translate: MARC: found 0 matches for 041a

(3)(+0000002): Translate: MARC: found 0 matches for 111a

(3)(+0000000): Translate: MARC: found 0 matches for 711a

(3)(+0000001): Translate: MARC: found 0 matches for 250a

(3)(+0000001): Translate: MARC: found 1 matches for 260a

(3)(+0000000): Translate: MARC: found 1 matches for 260b

(3)(+0000000): Translate: MARC: found 1 matches for 260c

(3)(+0000000): Translate: MARC: found 1 matches for 300a

(3)(+0000001): Translate: MARC: found 1 matches for 490a

(3)(+0000000): Translate: MARC: found 1 matches for 490v

(3)(+0000000): Translate: MARC: found 0 matches for 440a

(3)(+0000000): Translate: MARC: found 0 matches for 440v

(3)(+0000000): Translate: MARC: found 0 matches for 084ab

(3)(+0000000): Translate: MARC: found 1 matches for 082a

(3)(+0000000): Translate: MARC: found 0 matches for 080ab

(3)(+0000001): Translate: MARC: found 0 matches for 070ab

(3)(+0000000): Translate: MARC: found 0 matches for 060ab

(3)(+0000000): Translate: MARC: found 1 matches for 050ab

(3)(+0000000): Translate: MARC: found 0 matches for 090ab

(3)(+0000000): Translate: MARC: found 0 matches for 099a

(3)(+0000000): Translate: MARC: found 0 matches for 852khim

(3)(+0000000): Translate: MARC: found 1 matches for 245h

(3)(+0000003): Translate: Saving item

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

(3)(+0000002): Translate: Saving item

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

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

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

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

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

    ✓ should perform a text search (117ms)
(4)(+0000016): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for EIDR (79c3d292-0afc-42a1-bd86-7e706fc35aa5, 2017-06-03 11:41:00)

(4)(+0000001): Translate: Parsing code for Crossref REST (0a61e167-de9a-4f93-a68a-628b48855909, 2018-06-16 12:00:00)

(4)(+0000001): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for Gemeinsamer Bibliotheksverbund ISBN (de0eef58-cb39-4410-ada0-6b39f43383f9, 2018-04-13 13:41:00)

(4)(+0000001): Translate: Parsing code for DOI Content Negotiation (b28d0d42-8549-4c6d-83fc-8382874a5cb9, 2020-04-20 20:04:00)

(4)(+0000001): Translate: Parsing code for Open WorldCat (c73a4a8c-3ef1-4ec8-8229-7531ee384cc4, 2017-03-19 23:26:57)

(4)(+0000001): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(4)(+0000002): Translate: Parsing code for arXiv.org (ecddda2e-4fc6-4aea-9f17-ef3b56d7377a, 2019-10-22 05:31:06)

(4)(+0000001): Translate: Parsing code for Lulu (9a0ecbda-c0e9-4a19-84a9-fc8e7c845afa, 2016-11-04 21:18:44)

(4)(+0000002): Translate: Parsing code for mEDRA (d9b57cd5-5a9c-4946-8616-3bdf8edfcbb5, 2014-05-26 03:50:55)

(4)(+0000001): Translate: Parsing code for Airiti (5f0ca39b-898a-4b1e-b98d-8cd0d6ce9801, 2018-04-17 21:16:52)

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

(3)(+0000001): 	Library of Congress ISBN: 98

(3)(+0000000): 	Gemeinsamer Bibliotheksverbund ISBN: 99

(3)(+0000000): 	Open WorldCat: 100

(3)(+0000000): 	Lulu: 101

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

(4)(+0000000): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

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

(3)(+0000000): Translate: resolving URL http://lx2.loc.gov:210/LCDB?operation=searchRetrieve&version=1.1&query=bath.ISBN=^9781421402833&maximumRecords=1

(3)(+0000000): Translate: resolved to http://lx2.loc.gov:210/LCDB?operation=searchRetrieve&version=1.1&query=bath.ISBN=^9781421402833&maximumRecords=1

(3)(+0000000): Zotero.HTTP.doGet is deprecated. Use Zotero.HTTP.request

(3)(+0000001): Mocking request

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

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

(4)(+0000001): Translate: Parsing code for MARCXML (edd87d07-9194-42f8-b2ad-997c4c7deefd, 2019-07-11 13:12:18)

(3)(+0000001): 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)(+0000000): Translate: Parsing code for MARC (a6ee60df-1ddc-4aae-bb25-45e0537be973, 2019-07-12 05:44:41)

(3)(+0000050): Translate: MARC: found 2 matches for 020a

(3)(+0000001): Translate: MARC: found 0 matches for 022a

(3)(+0000000): Translate: MARC: found 0 matches for 041a

(3)(+0000000): Translate: MARC: found 0 matches for 111a

(3)(+0000000): Translate: MARC: found 0 matches for 711a

(3)(+0000001): Translate: MARC: found 0 matches for 250a

(3)(+0000000): Translate: MARC: found 1 matches for 260a

(3)(+0000000): Translate: MARC: found 1 matches for 260b

(3)(+0000000): Translate: MARC: found 1 matches for 260c

(3)(+0000000): Translate: MARC: found 1 matches for 300a

(3)(+0000001): Translate: MARC: found 1 matches for 490a

(3)(+0000000): Translate: MARC: found 1 matches for 490v

(3)(+0000000): Translate: MARC: found 0 matches for 440a

(3)(+0000000): Translate: MARC: found 0 matches for 440v

(3)(+0000000): Translate: MARC: found 0 matches for 084ab

(3)(+0000000): Translate: MARC: found 1 matches for 082a

(3)(+0000000): Translate: MARC: found 0 matches for 080ab

(3)(+0000000): Translate: MARC: found 0 matches for 070ab

(3)(+0000000): Translate: MARC: found 0 matches for 060ab

(3)(+0000000): Translate: MARC: found 1 matches for 050ab

(3)(+0000000): Translate: MARC: found 0 matches for 090ab

(3)(+0000000): Translate: MARC: found 0 matches for 099a

(3)(+0000000): Translate: MARC: found 0 matches for 852khim

(3)(+0000001): Translate: MARC: found 1 matches for 245h

(3)(+0000000): Translate: Saving item

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

(3)(+0000000): Translate: Saving item

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

(5)(+0000000): 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

    ✓ should translate an ISBN (78ms)
(4)(+0000005): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for EIDR (79c3d292-0afc-42a1-bd86-7e706fc35aa5, 2017-06-03 11:41:00)

(4)(+0000000): Translate: Parsing code for Crossref REST (0a61e167-de9a-4f93-a68a-628b48855909, 2018-06-16 12:00:00)

(4)(+0000000): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for Gemeinsamer Bibliotheksverbund ISBN (de0eef58-cb39-4410-ada0-6b39f43383f9, 2018-04-13 13:41:00)

(4)(+0000001): Translate: Parsing code for DOI Content Negotiation (b28d0d42-8549-4c6d-83fc-8382874a5cb9, 2020-04-20 20:04:00)

(4)(+0000000): Translate: Parsing code for Open WorldCat (c73a4a8c-3ef1-4ec8-8229-7531ee384cc4, 2017-03-19 23:26:57)

(4)(+0000000): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(4)(+0000001): Translate: Parsing code for arXiv.org (ecddda2e-4fc6-4aea-9f17-ef3b56d7377a, 2019-10-22 05:31:06)

(4)(+0000000): Translate: Parsing code for Lulu (9a0ecbda-c0e9-4a19-84a9-fc8e7c845afa, 2016-11-04 21:18:44)

(4)(+0000000): Translate: Parsing code for mEDRA (d9b57cd5-5a9c-4946-8616-3bdf8edfcbb5, 2014-05-26 03:50:55)

(4)(+0000000): Translate: Parsing code for Airiti (5f0ca39b-898a-4b1e-b98d-8cd0d6ce9801, 2018-04-17 21:16:52)

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

(3)(+0000000): 	PubMed: 100

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

(4)(+0000000): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(3)(+0000000): Translate: Beginning translation with PubMed

(3)(+0000001): Translate: resolving URL https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=PubMed&tool=Zotero&retmode=xml&rettype=citation&id=30571677

(3)(+0000000): Translate: resolved to https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=PubMed&tool=Zotero&retmode=xml&rettype=citation&id=30571677

(3)(+0000000): Zotero.HTTP.doGet is deprecated. Use Zotero.HTTP.request

(3)(+0000000): Mocking request

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

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

(4)(+0000001): Translate: Parsing code for PubMed XML (fcf41bed-0cbc-3704-85c7-8062a0068a7a, 2015-10-17 05:38:38)

(3)(+0000002): Translate: Beginning translation with PubMed XML

(3)(+0000017): Translate: Saving item

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

(3)(+0000000): Translate: resolving URL http://www.ncbi.nlm.nih.gov/pubmed/30571677

(3)(+0000000): Translate: resolved to http://www.ncbi.nlm.nih.gov/pubmed/30571677

(3)(+0000000): Translate: Saving item

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

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

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

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

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

    ✓ should translate a PMID
(4)(+0000004): Translate: Binding sandbox to http://www.example.com/

(4)(+0000001): Translate: Parsing code for EIDR (79c3d292-0afc-42a1-bd86-7e706fc35aa5, 2017-06-03 11:41:00)

(4)(+0000000): Translate: Parsing code for Crossref REST (0a61e167-de9a-4f93-a68a-628b48855909, 2018-06-16 12:00:00)

(4)(+0000000): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for Gemeinsamer Bibliotheksverbund ISBN (de0eef58-cb39-4410-ada0-6b39f43383f9, 2018-04-13 13:41:00)

(4)(+0000001): Translate: Parsing code for DOI Content Negotiation (b28d0d42-8549-4c6d-83fc-8382874a5cb9, 2020-04-20 20:04:00)

(4)(+0000000): Translate: Parsing code for Open WorldCat (c73a4a8c-3ef1-4ec8-8229-7531ee384cc4, 2017-03-19 23:26:57)

(4)(+0000000): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(4)(+0000000): Translate: Parsing code for arXiv.org (ecddda2e-4fc6-4aea-9f17-ef3b56d7377a, 2019-10-22 05:31:06)

(4)(+0000001): Translate: Parsing code for Lulu (9a0ecbda-c0e9-4a19-84a9-fc8e7c845afa, 2016-11-04 21:18:44)

(4)(+0000000): Translate: Parsing code for mEDRA (d9b57cd5-5a9c-4946-8616-3bdf8edfcbb5, 2014-05-26 03:50:55)

(4)(+0000000): Translate: Parsing code for Airiti (5f0ca39b-898a-4b1e-b98d-8cd0d6ce9801, 2018-04-17 21:16:52)

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

(3)(+0000000): 	PubMed: 100

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

(4)(+0000000): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(3)(+0000001): Translate: Beginning translation with PubMed

(3)(+0000000): Translate: resolving URL https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=PubMed&tool=Zotero&retmode=xml&rettype=citation&id=30571677

(3)(+0000000): Translate: resolved to https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=PubMed&tool=Zotero&retmode=xml&rettype=citation&id=30571677

(3)(+0000000): Zotero.HTTP.doGet is deprecated. Use Zotero.HTTP.request

(3)(+0000000): Mocking request

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

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

(4)(+0000001): Translate: Parsing code for PubMed XML (fcf41bed-0cbc-3704-85c7-8062a0068a7a, 2015-10-17 05:38:38)

(3)(+0000001): Translate: Beginning translation with PubMed XML

(3)(+0000011): Translate: Saving item

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

(3)(+0000000): Translate: resolving URL http://www.ncbi.nlm.nih.gov/pubmed/30571677

(3)(+0000000): Translate: resolved to http://www.ncbi.nlm.nih.gov/pubmed/30571677

(3)(+0000000): Translate: Saving item

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

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

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

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

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

    ✓ should translate a PMID with 'pmid:' prefix

  /web
(3)(+0000005): HTTP GET http://127.0.0.1:3456/test/plain

(3)(+0000101): Translators: Looking for translators for http://127.0.0.1:3456/test/plain

(4)(+0000038): Translate: Binding sandbox to http://127.0.0.1:3456/test/plain

(4)(+0000001): Translate: Parsing code for unAPI (e7e01cac-1e37-4da6-b078-a0e8343b0e98, 2019-06-10 23:11:21)

(4)(+0000003): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(4)(+0000002): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000005): Translate: Embedded Metadata: found 0 meta tags.

(4)(+0000000): Translate: Parsing code for DOI (c159dcfe-8a53-4301-a499-30f6549c340d, 2020-03-13 02:38:54)

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

(3)(+0000000): 	No suitable translators found

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

(3)(+0000001): No translators found -- saving as a webpage

(5)(+0000002): Translate: Running handler 1 for translators

    ✓ should translate a generic webpage (166ms)
(3)(+0000020): HTTP GET http://127.0.0.1:3456/test/single

(3)(+0000023): Translators: Looking for translators for http://127.0.0.1:3456/test/single

(4)(+0000000): Translate: Binding sandbox to http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Parsing code for unAPI (e7e01cac-1e37-4da6-b078-a0e8343b0e98, 2019-06-10 23:11:21)

(4)(+0000004): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(4)(+0000001): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000004): Translate: Embedded Metadata: found 1 meta tags.

(4)(+0000001): Translate: Parsing code for DOI (c159dcfe-8a53-4301-a499-30f6549c340d, 2020-03-13 02:38:54)

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

(3)(+0000000): 	Embedded Metadata: 320

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

(5)(+0000001): Translate: Running handler 1 for translators

(4)(+0000000): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000001): Translate: Beginning translation with Embedded Metadata

(3)(+0000000): Translate: Embedded Metadata: found 1 meta tags.

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

(4)(+0000001): Translate: Binding sandbox to http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Parsing code for RDF (5e3ad958-ac79-463d-812b-a86a9235c28f, 2020-06-26 20:49:31)

(3)(+0000003): Translate: Initializing RDF data store

(3)(+0000058): Translate: Looking for authors in byline, vcard

(3)(+0000002): Translate: Found 0 elements with 'byline' class

(3)(+0000000): Translate: Found 0 elements with 'vcard' class

(3)(+0000001): Translate: No byline found.

(3)(+0000002): Translate: Saving item

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

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

    ✓ should translate a webpage with embedded metadata (118ms)
(3)(+0000005): HTTP GET http://127.0.0.1:3456/test/multiple

(3)(+0000012): Translators: Looking for translators for http://127.0.0.1:3456/test/multiple

(4)(+0000001): Translate: Binding sandbox to http://127.0.0.1:3456/test/multiple

(4)(+0000001): Translate: Parsing code for unAPI (e7e01cac-1e37-4da6-b078-a0e8343b0e98, 2019-06-10 23:11:21)

(4)(+0000000): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(4)(+0000003): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000000): Translate: Embedded Metadata: found 0 meta tags.

(4)(+0000001): Translate: Parsing code for DOI (c159dcfe-8a53-4301-a499-30f6549c340d, 2020-03-13 02:38:54)

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

(3)(+0000000): 	COinS: 310

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

(5)(+0000000): Translate: Running handler 1 for translators

(4)(+0000001): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(3)(+0000000): Translate: Beginning translation with COinS

(3)(+0000001): []

(3)(+0000000): Translate: WARNING: Zotero.selectItems should be called with an object, not an array

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

(3)(+0000007): Translate: Looking up contextObject

(3)(+0000000): Translate: Creating translate instance of type search in sandbox

(4)(+0000000): Translate: Binding sandbox to http://127.0.0.1:3456/test/multiple

(4)(+0000001): Translate: Parsing code for EIDR (79c3d292-0afc-42a1-bd86-7e706fc35aa5, 2017-06-03 11:41:00)

(4)(+0000000): Translate: Parsing code for Crossref REST (0a61e167-de9a-4f93-a68a-628b48855909, 2018-06-16 12:00:00)

(4)(+0000001): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for Gemeinsamer Bibliotheksverbund ISBN (de0eef58-cb39-4410-ada0-6b39f43383f9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for DOI Content Negotiation (b28d0d42-8549-4c6d-83fc-8382874a5cb9, 2020-04-20 20:04:00)

(4)(+0000001): Translate: Parsing code for Open WorldCat (c73a4a8c-3ef1-4ec8-8229-7531ee384cc4, 2017-03-19 23:26:57)

(4)(+0000000): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(4)(+0000001): Translate: Parsing code for arXiv.org (ecddda2e-4fc6-4aea-9f17-ef3b56d7377a, 2019-10-22 05:31:06)

(4)(+0000000): Translate: Parsing code for Lulu (9a0ecbda-c0e9-4a19-84a9-fc8e7c845afa, 2016-11-04 21:18:44)

(4)(+0000000): Translate: Parsing code for mEDRA (d9b57cd5-5a9c-4946-8616-3bdf8edfcbb5, 2014-05-26 03:50:55)

(4)(+0000001): Translate: Parsing code for Airiti (5f0ca39b-898a-4b1e-b98d-8cd0d6ce9801, 2018-04-17 21:16:52)

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

(3)(+0000000): 	No suitable translators found

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

(2)(+0000001): Translate: 'repository' field is now 'libraryCatalog'; please fix your code

(3)(+0000000): Translate: Saving item

(3)(+0000000): Translate: Looking up contextObject

(3)(+0000000): Translate: Creating translate instance of type search in sandbox

(5)(+0000001): Translate: Running handler 1 for translators

(5)(+0000000): Translate: Running handler 2 for translators

(4)(+0000000): Translate: Binding sandbox to http://127.0.0.1:3456/test/multiple

(4)(+0000000): Translate: Parsing code for EIDR (79c3d292-0afc-42a1-bd86-7e706fc35aa5, 2017-06-03 11:41:00)

(4)(+0000001): Translate: Parsing code for Crossref REST (0a61e167-de9a-4f93-a68a-628b48855909, 2018-06-16 12:00:00)

(4)(+0000000): Translate: Parsing code for Library of Congress ISBN (c070e5a2-4bfd-44bb-9b3c-4be20c50d0d9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for Gemeinsamer Bibliotheksverbund ISBN (de0eef58-cb39-4410-ada0-6b39f43383f9, 2018-04-13 13:41:00)

(4)(+0000000): Translate: Parsing code for DOI Content Negotiation (b28d0d42-8549-4c6d-83fc-8382874a5cb9, 2020-04-20 20:04:00)

(4)(+0000001): Translate: Parsing code for Open WorldCat (c73a4a8c-3ef1-4ec8-8229-7531ee384cc4, 2017-03-19 23:26:57)

(4)(+0000000): Translate: Parsing code for PubMed (3d0231ce-fd4b-478c-b1d3-840389e5b68c, 2020-07-19 18:21:10)

(4)(+0000000): Translate: Parsing code for arXiv.org (ecddda2e-4fc6-4aea-9f17-ef3b56d7377a, 2019-10-22 05:31:06)

(4)(+0000000): Translate: Parsing code for Lulu (9a0ecbda-c0e9-4a19-84a9-fc8e7c845afa, 2016-11-04 21:18:44)

(4)(+0000001): Translate: Parsing code for mEDRA (d9b57cd5-5a9c-4946-8616-3bdf8edfcbb5, 2014-05-26 03:50:55)

(4)(+0000000): Translate: Parsing code for Airiti (5f0ca39b-898a-4b1e-b98d-8cd0d6ce9801, 2018-04-17 21:16:52)

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

(3)(+0000000): 	No suitable translators found

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

(2)(+0000000): Translate: 'repository' field is now 'libraryCatalog'; please fix your code

(3)(+0000001): Translate: Saving item

(5)(+0000000): Translate: Running handler 1 for translators

(5)(+0000000): Translate: Running handler 2 for translators

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

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

(3)(+0000000): itemToAPIJSON: Discarded unknown field contextObject

(3)(+0000000): itemToAPIJSON: Discarded unknown field contextObject

    ✓ should return multiple results and perform follow-up translation (42ms)
(3)(+0000004): HTTP GET http://127.0.0.1:3456/test/redirect

(3)(+0000018): Translators: Looking for translators for http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Binding sandbox to http://127.0.0.1:3456/test/single

(4)(+0000000): Translate: Parsing code for unAPI (e7e01cac-1e37-4da6-b078-a0e8343b0e98, 2019-06-10 23:11:21)

(4)(+0000001): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(4)(+0000000): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000001): Translate: Embedded Metadata: found 1 meta tags.

(4)(+0000000): Translate: Parsing code for DOI (c159dcfe-8a53-4301-a499-30f6549c340d, 2020-03-13 02:38:54)

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

(3)(+0000000): 	Embedded Metadata: 320

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

(5)(+0000000): Translate: Running handler 1 for translators

(4)(+0000000): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000001): Translate: Beginning translation with Embedded Metadata

(3)(+0000000): Translate: Embedded Metadata: found 1 meta tags.

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

(4)(+0000000): Translate: Binding sandbox to http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Parsing code for RDF (5e3ad958-ac79-463d-812b-a86a9235c28f, 2020-06-26 20:49:31)

(3)(+0000002): Translate: Initializing RDF data store

(3)(+0000021): Translate: Looking for authors in byline, vcard

(3)(+0000000): Translate: Found 0 elements with 'byline' class

(3)(+0000000): Translate: Found 0 elements with 'vcard' class

(3)(+0000000): Translate: No byline found.

(3)(+0000002): Translate: Saving item

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

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

    ✓ should follow a redirect and use the final URL for translation (53ms)
(3)(+0000006): HTTP GET http://127.0.0.1:3456/test/bibtex

(3)(+0000004): Handling application/x-bibtex as import

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

(4)(+0000001): Translate: Parsing code for Bibliontology RDF (14763d25-8ba0-45df-8f52-b8d1108e7ac9, 2019-09-01 13:38:00)

(3)(+0000004): Translate: Initializing RDF data store

(2)(+0000003): Translate: Detect using Bibliontology RDF failed: 
Error: DOMParser error: loading data into data store failed

Error: DOMParser error: loading data into data store failed
    at Object.parseDOMXML (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2794:10)
    at Zotero.Translate.IO.String._initRDF (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2841:35)
    at Zotero.Translate.IO.String.init (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2925:9)
    at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2411:11)
    at Zotero.Translate.Import._loadTranslatorPrepareIO (/src/repo/src/promise.js:36:17)
    at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2392:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

(4)(+0000000): Translate: Parsing code for MODS (0e2235e7-babf-413c-9acf-f27cce5f059c, 2019-05-20 09:05:38)

(4)(+0000005): Translate: Parsing code for XML ContextObject (24d9f058-3eb3-4d70-b78f-1ba1aef2128d, 2015-05-20 00:05:55)

(4)(+0000001): Translate: Parsing code for CSL JSON (bc03b4fe-436d-4a1f-ba59-de4d2d7a63f7, 2019-01-31 00:12:00)

(3)(+0000002): SyntaxError: Unexpected token @ in JSON at position 0

    SyntaxError: Unexpected token @ in JSON at position 0
        at JSON.parse (<anonymous>)
        at parseInput (eval at <anonymous> (/src/repo/src/translation/sandboxManager.js:70:4), <anonymous>:27:15)
        at detectImport (eval at <anonymous> (/src/repo/src/translation/sandboxManager.js:70:4), <anonymous>:44:19)
        at Zotero.Translate.Import._detectTranslatorLoaded (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:1774:47)
        at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:1758:16)
        at process._tickCallback (internal/process/next_tick.js:68:7)

(4)(+0000000): Translate: Parsing code for Citavi 5 XML (e7243cef-a709-4a46-ba46-1b1318051bec, 2020-06-11 13:27:10)

(4)(+0000002): Translate: Parsing code for Crossref Unixref XML (93514073-b541-4e02-9180-c36d2f3bb401, 2019-04-27 02:15:00)

(4)(+0000001): Translate: Parsing code for Datacite JSON (b5b5808b-1c61-473d-9a02-e1f5ba7b8eef, 2020-04-20 20:15:16)

(3)(+0000002): SyntaxError: Unexpected token @ in JSON at position 0

    SyntaxError: Unexpected token @ in JSON at position 0
        at JSON.parse (<anonymous>)
        at parseInput (eval at <anonymous> (/src/repo/src/translation/sandboxManager.js:70:4), <anonymous>:48:15)
        at detectImport (eval at <anonymous> (/src/repo/src/translation/sandboxManager.js:70:4), <anonymous>:55:19)
        at Zotero.Translate.Import._detectTranslatorLoaded (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:1774:47)
        at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:1758:16)
        at process._tickCallback (internal/process/next_tick.js:68:7)

(4)(+0000001): Translate: Parsing code for Endnote XML (eb7059a4-35ec-4961-a915-3cf58eb9784b, 2018-06-12 09:00:41)

(2)(+0000005): Translate: Detect using Endnote XML failed: 
Error: DOMParser error: loading data into data store failed

Error: DOMParser error: loading data into data store failed
    at Object.parseDOMXML (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2794:10)
    at Zotero.Translate.IO.String.getXML (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2906:34)
    at Object.getXML (/src/repo/src/translation/sandboxManager.js:96:17)
    at detectImport (eval at <anonymous> (/src/repo/src/translation/sandboxManager.js:70:4), <anonymous>:25:19)
    at Zotero.Translate.Import._detectTranslatorLoaded (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:1774:47)
    at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:1758:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)

(4)(+0000000): Translate: Parsing code for MAB2 (91acf493-0de7-4473-8b62-89fd141e6c74, 2014-05-20 17:57:47)

(4)(+0000001): Translate: Parsing code for MARC (a6ee60df-1ddc-4aae-bb25-45e0537be973, 2019-07-12 05:44:41)

(4)(+0000001): Translate: Parsing code for MARCXML (edd87d07-9194-42f8-b2ad-997c4c7deefd, 2019-07-11 13:12:18)

(4)(+0000001): Translate: Parsing code for MEDLINE/nbib (9ec64cfd-bea7-472a-9557-493c0c26b0fb, 2020-08-08 23:31:56)

(4)(+0000001): Translate: Parsing code for Bookmarks (4e7119e0-02be-4848-86ef-79a64185aad8, 2017-12-17 17:43:00)

(4)(+0000002): Translate: Parsing code for OVID Tagged (59e7e93e-4ef0-4777-8388-d6eddb3261bf, 2017-06-03 11:41:00)

(4)(+0000002): Translate: Parsing code for Primo Normalized XML (efd737c9-a227-4113-866e-d57fbc0684ca, 2019-06-10 08:28:21)

(4)(+0000002): Translate: Parsing code for PubMed XML (fcf41bed-0cbc-3704-85c7-8062a0068a7a, 2015-10-17 05:38:38)

(4)(+0000001): Translate: Parsing code for RDF (5e3ad958-ac79-463d-812b-a86a9235c28f, 2020-06-26 20:49:31)

(2)(+0000000): Translate: Detect using RDF failed: 
Error: XML known invalid

Error: XML known invalid
    at Zotero.Translate.IO.String.init (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2923:10)
    at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2411:11)
    at Zotero.Translate.Import._loadTranslatorPrepareIO (/src/repo/src/promise.js:36:17)
    at Zotero.Translate.Import.<anonymous> (/src/repo/modules/zotero/chrome/content/zotero/xpcom/translation/translate.js:2392:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

(4)(+0000000): Translate: Parsing code for RIS (32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7, 2019-10-19 17:04:49)

(4)(+0000010): Translate: Parsing code for RefWorks Tagged (1a3506da-a303-4b0a-a1cd-f216e6138d86, 2016-06-21 08:45:20)

(4)(+0000003): Translate: Parsing code for Refer/BibIX (881f60f2-0802-411a-9228-ce5f47b64c7d, 2019-08-07 11:11:24)

(4)(+0000001): Translate: Parsing code for Web of Science Tagged (594ebe3c-90a0-4830-83bc-9502825a6810, 2020-03-28 22:56:16)

(4)(+0000003): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2020-03-13 03:07:49)

(3)(+0000007): Translate: Scanning 135 characters for BibTeX

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

(3)(+0000000): 	BibTeX: 200

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

(4)(+0000000): Translate: Parsing code for BibTeX (9cb70025-a888-4a29-a210-93ec52da40d4, 2020-03-13 03:07:49)

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

(3)(+0000007): Translate: Replace -- in 123--125 with –

(3)(+0000001): Translate: Saving item

(3)(+0000000): Translate: Saving now

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

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

(3)(+0000000): itemToAPIJSON: Discarded unknown field id

    ✓ should translate a remote BibTeX file (87ms)
(3)(+0000005): HTTP GET http://127.0.0.1:3456/test/404

(1)(+0000004): Error: HTTP request to http://127.0.0.1:3456/test/404 rejected with status 404

    ✓ should return 400 if a page returns a 404
(3)(+0000004): HTTP GET http://127.0.0.1:3456/test/single

(3)(+0000007): Translators: Looking for translators for http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Binding sandbox to http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Parsing code for unAPI (e7e01cac-1e37-4da6-b078-a0e8343b0e98, 2019-06-10 23:11:21)

(4)(+0000000): Translate: Parsing code for COinS (05d07af9-105a-4572-99f6-a8e231c0daef, 2015-06-04 03:25:10)

(4)(+0000001): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000000): Translate: Embedded Metadata: found 1 meta tags.

(4)(+0000001): Translate: Parsing code for DOI (c159dcfe-8a53-4301-a499-30f6549c340d, 2020-03-13 02:38:54)

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

(3)(+0000000): 	Embedded Metadata: 320

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

(5)(+0000000): Translate: Running handler 1 for translators

(4)(+0000001): Translate: Parsing code for Embedded Metadata (951c027d-74ac-47d4-a107-9c3069ab7b48, 2018-11-01 19:46:46)

(3)(+0000000): Translate: Beginning translation with Embedded Metadata

(3)(+0000000): Translate: Embedded Metadata: found 1 meta tags.

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

(4)(+0000000): Translate: Binding sandbox to http://127.0.0.1:3456/test/single

(4)(+0000001): Translate: Parsing code for RDF (5e3ad958-ac79-463d-812b-a86a9235c28f, 2020-06-26 20:49:31)

(3)(+0000000): Translate: Initializing RDF data store

(3)(+0000009): Translate: Looking for authors in byline, vcard

(3)(+0000001): Translate: Found 0 elements with 'byline' class

(3)(+0000000): Translate: Found 0 elements with 'vcard' class

(3)(+0000000): Translate: No byline found.

(3)(+0000001): Translate: Saving item

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

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

    ✓ should forward the Accept-Language header in the initial request
(3)(+0000004): HTTP GET http://127.0.0.1:3456/test/invalidContentType

(1)(+0000005): Error: image/jpeg is not supported

    ✓ should reject non-HTML/XML upstream content types
(3)(+0000003): HTTP GET http://127.0.0.1:3456/test/missingContentType

(1)(+0000003): Error: Missing Content-Type header

    ✓ should reject missing upstream Content-Type header


  28 passing (2s)
  110 pending


$ git add .

$ git commit -F /tmp/tmp99i_gpo3
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

npm dependencies

Dependencies
Development dependencies

Logs

Source code is licensed under the AGPL.