-
Notifications
You must be signed in to change notification settings - Fork 7
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
Decoding and path problems on windows #84
Comments
@njnes can you give your opinion about this issue? :) |
monetdbe (and server) expect input 2 be utf8, ie how could monetdbe generate latin-1? |
I think the issue was misdiagnosed, and the path is containing illegal characters. |
This is still an issue, If I run the query:
I get the error:
|
the string passed to the c level should be |
0.9 has been release, i just didn't manage to test this on Windows yet, so we still have to see if that is resolved. |
This now gives a |
All these give the same errors:
|
When running this script on Windows:
https://github.com/MonetDBSolutions/monetdbe-examples/blob/master/python/taxi.py
we see the error:
The script issues a COPY INTO command, but the path is not properly escaped. When the script is modified with:
Above error is not properly decoded by monetdbe though:
Monetdbe-Python assumes the error strings returned by monetdb are UTF-8, but in this case the are somehow latin-1. If we change the decoding of the monetdbe errors to to latin-1 we get the proper error.
The text was updated successfully, but these errors were encountered: