Apr-25-2020, 04:57 PM
Thanks for the time. I searched the whole disk and finally found the chardetect in a deep directory
On the win10 and win7 system which worked fine the chardetect result is E:\Python\Cookie.txt: ascii with confidence 1.0, on that Win7 which has problem,the chardetect result is UTF-8-SIG with confidence 1.0.
Before I got chardetect I was not sure which format of cookie.txt I used on that win7 machine.(save as to utf-8 and ANSI using notepad many times), now I checked the cookie.txt again using chardetect on the win10 machine, it's ascii and works fine then I copied it to win7 machine and checked again for sure.
Now that error message is only below whatever using encoding="utf-8" or "utf-8-sig".
C:\Users\Administrator\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts
On the win10 and win7 system which worked fine the chardetect result is E:\Python\Cookie.txt: ascii with confidence 1.0, on that Win7 which has problem,the chardetect result is UTF-8-SIG with confidence 1.0.
Before I got chardetect I was not sure which format of cookie.txt I used on that win7 machine.(save as to utf-8 and ANSI using notepad many times), now I checked the cookie.txt again using chardetect on the win10 machine, it's ascii and works fine then I copied it to win7 machine and checked again for sure.
Now that error message is only below whatever using encoding="utf-8" or "utf-8-sig".
Error:{"timestamp":"2020-04-26 00:41:12","status":500,"error":"Internal
Server Error","exception":"org.springframework.http.converter.HttpMessageNotRead
ableException","message":"Could not read document: Unexpected character ('i' (co
de 105)): was expecting comma to separate OBJECT entries\n at [Source: java.io.P
ushbackInputStream@1962cd72; line: 1, column: 105]; nested exception is com.fast
erxml.jackson.core.JsonParseException: Unexpected character ('i' (code 105)): wa
s expecting comma to separate OBJECT entries\n at [Source: java.io.PushbackInput
Stream@1962cd72; line: 1, column: 105]","path":"/dir/cou/submit"}