-
Notifications
You must be signed in to change notification settings - Fork 2k
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
UnicodeDecodeError when creating an extension #3379
Comments
It must be impolite to @ you so directly, I am sorry. I found that you answered another queation about the UnicodeDecodeError, so I think that you ought to know this problem. Do you know why this error happened? I read #2636 ,but it doesn't work for me. Thanks. |
Sorry, I'm on holiday ATM, best wait for it to be triaged by the tech team |
ok, Thanks! |
@july7vivian Can you provide a full traceback? Does this happen when you enter special characters like accents in the prompts? |
I hit Unicode problems when trying to setup a 2.6.0 docker image. It turned out to be a locale problem. That might be relevant for your problem. This comment shows how I fixed mine. |
We decided to close old issues that are not actively worked on so that we can focus our effort and attention on issues affecting the current versions of CKAN. If this issue is still affecting the version of CKAN you're working with now, please feel free to comment or reopen the issue. If you do reopen this issue, please update it with new details. One reason it might not have been resolved in the past is that it wasn't clear how a contributor could address the issue. |
CKAN Version if known (or site URL)
2.5.2
Please describe the expected behaviour
I wanted to create an extension by the tutorial.
Please describe the actual behaviour
I executed following commands to create a extension:
. /usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default/src
paster --plugin=ckan create -t ckanext ckanext-example_theme
but failed to decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 45: invalid start byte in /home/ubuntu/ckan/._ckan.egg-info
What steps can be taken to reproduce the issue?
I attemped to open
/home/ubuntu/ckan/._ckan.egg-info
, but failed.The text was updated successfully, but these errors were encountered: