Skip to content

Occasional error "[relaton] ERROR: 'doi:10.1002/9780470688106' -- unexpected end of input at line 1 column 1" #22

@opoudjis

Description

@opoudjis

From https://github.com/pdf-association/spec-pdf-core/issues/70


I'm reporting this here just for the record and because it results in bad output documents (see below).

Very occasionally (maybe 1 in every 10 runs) I'm getting a Relaton error [relaton] ERROR: 'doi:10.1002/9780470688106' -- unexpected end of input at line 1 column 1. I've tried running relaton fetch ... CLI 20 or so times back-to-back but cannot reproduce.

snip
[relaton-isbn] INFO: (ISBN 9780122861666) Fetching from OpenLibrary ...
[relaton-isbn] INFO: (ISBN 9780122861666) Found: `9780122861666`
[relaton-doi] INFO: (doi:10.1002/9780470688106) Fetching from search.crossref.org ...
[relaton-doi] INFO: (doi:10.1002/0470024275) Fetching from search.crossref.org ...
[relaton-doi] INFO: (doi:10.1002/9780470688106) Found: `10.1002/9780470688106`
[relaton-doi] INFO: (doi:10.1002/0470024275) Found: `10.1002/0470024275`
[relaton] ERROR: `doi:10.1002/9780470688106` -- unexpected end of input at line 1 column 1
[relaton-ieee] INFO: (IEEE Std 754-2019) Fetching from Relaton repository ...
[relaton-isbn] INFO: (ISBN 978-0-12-409673-8) Fetching from OpenLibrary ...
[relaton-ieee] INFO: (IEEE Std 754-2019) Found: `IEEE Std 754-2019`
[relaton-isbn] INFO: (ISBN 978-0-12-409673-8) Found: `9780124096738`
[relaton-isbn] INFO: (ISBN 978-1565922242) Fetching from OpenLibrary ...
snip

This results in a "broken" "[NO INFORMATION AVAILABLE]" reference:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions