-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
"'ascii' codec can't encode characters " from poetry init #1675
Comments
After reading the comments from #221 I tried to run
but the latter goes through and initializes the project correctly. Still don't know if this is the same problem than #221 but feel free to close this if it's the same bug. |
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. |
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).OS version and name: macOS Mojave ( 10.14.6 )
Poetry version: 1.0.0b8
Python version: 2.7.16
Issue
When I run
poetry init
in a directory that has a fresh git repository, the script asks for package name (suggested "misc-python-scripts"), version and description. Left everything as defaults, and when moving forward, the script will pit out an endless loop of'ascii' codec can't encode characters in position 24-25: ordinal not in range(128)
. This is possibly related to #221.I suspect Poetry might try to use my name from git config or somewhere else (in git config:
user.name=Ville Säävuori
) and it just fails to handle this as unicode. On my version of macOS, default Python version is 2.7.16.The text was updated successfully, but these errors were encountered: