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

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128) #7

Open
ramygad opened this issue Dec 1, 2016 · 0 comments

Comments

@ramygad
Copy link

ramygad commented Dec 1, 2016

Hi,

I have tested your tool I got following errors.

Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import orcid
brinkmann = orcid.get('0000-0003-3083-2775')
print brinkmann
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)
print brinkmann.name
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'Author' object has no attribute 'name'
print brinkmann.family_name
Brinkmann
print brinkmann.publications
Traceback (most recent call last):
File "", line 1, in
File "orcid/rest.py", line 107, in publications
self._load_works()
File "orcid/rest.py", line 101, in _load_works
+ '/orcid-works', headers = BASE_HEADERS)
TypeError: cannot concatenate 'str' and 'NoneType' objects

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