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 parser fails with affiliations that are None #24

Open
marblestation opened this issue Jan 7, 2019 · 0 comments
Open

DataCite parser fails with affiliations that are None #24

marblestation opened this issue Jan 7, 2019 · 0 comments
Assignees

Comments

@marblestation
Copy link
Contributor

{"asctime": "2019-01-07T22:01:45.260Z", 
"levelname": "ERROR", 
"processName": "ForkPoolWorker-3", 
"message": "Failed parsing", 
"exc_info": "Traceback (most recent call last):\n
  File \"/app/ADSCitationCapture/doi.py\", line 208, in _parse_metadata_zenodo_doi\n
    parsed_metadata = dc.parse(raw_metadata)\n  File \"/usr/local/lib/python2.7/dist-packages/pyingest/parsers/datacite.py\", line 168, in parse\n
    aaffils.append(aff.strip())\n
AttributeError: 'NoneType' object has no attribute 'strip'", 
"timestamp": "2019-01-07T22:01:45.260Z", 
"hostname": "adsvm05"}
@marblestation marblestation self-assigned this Jan 7, 2019
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