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

UnicodeDecodeError when creating an extension #3379

Closed
july7vivian opened this issue Dec 22, 2016 · 8 comments
Closed

UnicodeDecodeError when creating an extension #3379

july7vivian opened this issue Dec 22, 2016 · 8 comments
Assignees

Comments

@july7vivian
Copy link

july7vivian commented Dec 22, 2016

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.

@july7vivian july7vivian changed the title UnicodeDecodeError when creating extension UnicodeDecodeError when creating an extension Dec 22, 2016
@july7vivian
Copy link
Author

@rossjones

@rossjones
Copy link
Contributor

@july7vivian

@july7vivian
Copy link
Author

july7vivian commented Dec 22, 2016

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.

@rossjones
Copy link
Contributor

Sorry, I'm on holiday ATM, best wait for it to be triaged by the tech team

@july7vivian
Copy link
Author

ok, Thanks!

@amercader amercader self-assigned this Jan 3, 2017
@amercader
Copy link
Member

@july7vivian Can you provide a full traceback? Does this happen when you enter special characters like accents in the prompts?

@rwillmer
Copy link

rwillmer commented Jan 5, 2017

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.

#3372 (comment)

@kmbn
Copy link
Contributor

kmbn commented Jan 22, 2019

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.

@kmbn kmbn closed this as completed Jan 22, 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

5 participants