-
Notifications
You must be signed in to change notification settings - Fork 71
PythonScript fails with a Unicode character in the installed path of Notepad++ #112
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
Comments
What kind of error results from this? Can you be more specific? |
@chcg @sasumner I cannot add more. I just changed the path for my installation for it to work. Don't have the time or patience to fiddle at this point. |
@chcg |
PythonScript2 fails at https://github.com/bruderstein/PythonScript/blob/stable_python27/PythonScript/src/PythonConsole.cpp#L102 (maybe related to similar import issues as described in https://bugs.python.org/issue9425. The following PyErr_Print() then terminates python and therefore also N++ (see #301) |
It took me some months to solve this issue since I would always revert to a previous installation.
If there is a Unicode character (non-ASCII) in the installed path of Notepad++, NP++ works the same however PythonScript results in an error when a script is executed. In my installation, a bullet (•) failed. The error is reproducible in my environment with at least NP++ versions 6.6 through 7.5.9.
If the character is removed, all goes as expected. Hope this helps.
The text was updated successfully, but these errors were encountered: