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

Error while running poetry init: "codec can't encode character u'\xf3'" #2241

Closed
3 tasks done
Abuelodelanada opened this issue Mar 29, 2020 · 3 comments
Closed
3 tasks done
Labels
kind/bug Something isn't working as expected

Comments

@Abuelodelanada
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

When running init to generate a pyproject.toml I get the following no matter if i write something or not in Description

➜  rgh git:(develop) poetry  init -vvv

This command will guide you through creating your pyproject.toml config.

Package name [rgh]:
Version [0.1.0]:
Description []:
'ascii' codec can't encode character u'\xf3' in position 29: ordinal not in range(128)
'ascii' codec can't encode character u'\xf3' in position 29: ordinal not in range(128)
'ascii' codec can't encode character u'\xf3' in position 29: ordinal not in range(128)
...
  • OS version and name: Ubuntu 19.10
  • Poetry version: 1.0.5
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

@Abuelodelanada Abuelodelanada added the kind/bug Something isn't working as expected label Mar 29, 2020
@finswimmer
Copy link
Member

Hello @Abuelodelanada ,

this was reported earlier in #221 and seems to be a problem with special characters in your git config.

fin swimmer

@Abuelodelanada
Copy link
Author

Hi fin!

Thanks!
Yes, my lastname has an ó in .gitconfig.

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants