-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
Unable to launch editor when PATH env. var. cantains non-ASCII characters #807
Comments
Python2 or Python3? |
Related-to: git-cola#807 Reported-by: 林博仁 <Buo.Ren.Lin@gmail.com> Signed-off-by: David Aguilar <davvid@gmail.com>
I pushed up a commit which should fix this traceback and give us more details about what's going on. Please let me know what it's reporting now. It's curious that we got a UnicodeDecode error. Are the filenames ascii, or non-utf8? |
Python 2, and to be specific:
The filename to be editted is in ASCII
|
Hmm byte This is pretty weird because we handle utf-8 encoded filenames just fine. Do you happen to have a repo that you can post somewhere that can demonstrate the problem? |
My guess is it has to do with my I've reset the PATH environmental variable and the editor successfully launched. |
Related-to: git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
Related-to: git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
Related-to: git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
Related-to: git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
Related-to: git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
Related-to: git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
* type-safety: doc: update v3.2 release notes draft core: ensure that unencoded strings are encoded tests: eliminate type(obj) utils: eliminate type(obj) qtutils: eliminate type(obj) gitcmds: eliminate type(obj) gitcfg: eliminate type(obj) settings: eliminate type(obj) settings: add docstrings .gitignore: add .cache Closes git-cola#807 Signed-off-by: David Aguilar <davvid@gmail.com>
Reproducing Instruction
env PATH="工:$PATH" git cola
in a Git repository in a terminalExpected Behavior
Editor launched without errors
Current Behavior
Editor not launched with the following error:
Traceback
Traceback (Original)
git config
The text was updated successfully, but these errors were encountered: