Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datacite: broken registered command #132

Open
tiborsimko opened this issue Jan 17, 2025 · 0 comments
Open

datacite: broken registered command #132

tiborsimko opened this issue Jan 17, 2025 · 0 comments

Comments

@tiborsimko
Copy link
Member

Current behaviour

The cernopendata datacite registered command is currently broken:

[invenio@3e8e44c5595e code]$ cernopendata datacite registered
...
  File "/opt/invenio/var/instance/python/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/code/cernopendata/modules/datacite/cli.py", line 55, in registered
    click.echo(dcp.doi_get_all())
  File "/code/cernopendata/modules/datacite/client.py", line 54, in doi_get_all
    r = self._request_factory()
AttributeError: 'DataCiteMDSClientWrapper' object has no attribute '_request_factory'

Expected behaviour

The command should print all registered DOIs from DataCite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant