Skip to content

docs say print(metadata.state) but it's None #106

@castedo

Description

@castedo

STEPS:
Following the steps on https://python.commonmeta.org/readers/crossref_reader using the main branch as of Mar 11 2025, namely:

from commonmeta import Metadata
string = '10.7554/elife.01567'
metadata = Metadata(string)

# Check that metadata was fetched successfully
print(metadata.state)

GOT:
No output because metadata.state is None.

However I did fetch data:

>>> metadata.url
'https://elifesciences.org/articles/01567'
>>> metadata.date
{'published': '2014-02-11'}
>>> metadata.is_valid
True

Also, as of today Mar 12 2025 at least, the static generation of page https://python.commonmeta.org/readers/crossref_reader is not generating the output due to ModuleNotFoundError: No module named 'regex._regex'.

Metadata

Metadata

Assignees

No one assigned

    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