Python Forum
Correct py got error on another windows 7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Correct py got error on another windows 7
#9
Thanks for the time. I searched the whole disk and finally found the chardetect in a deep directory 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"}
Reply


Messages In This Thread
RE: Correct py got error on another windows 7 - by meetinnet - Apr-25-2020, 04:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  "SSL: CERTIFICATE_VERIFY_FAILED” error on Python 3.9.6 (Windows 10) rcmv 4 3,733 May-10-2022, 01:18 PM
Last Post: rcmv
  how can I correct the Bad Request error on my curl request tomtom 8 5,140 Oct-03-2021, 06:32 AM
Last Post: tomtom
  error while installing any library using pip in windows AkashKansal 1 4,442 Sep-24-2020, 07:51 AM
Last Post: buran
  attribute error instead of correct output MaartenRo 2 2,228 Aug-28-2020, 10:22 AM
Last Post: Larz60+
  Python 3.7, Windows 7, Syntax Error hughdent 1 2,309 Mar-23-2020, 10:09 AM
Last Post: buran
  Getting the error like function not defined .. suggest correct code raghava 1 2,093 Feb-04-2020, 11:20 PM
Last Post: micseydel
  Error in compiling cython extension on Python 3.6.4 on Windows 8 goldenmean 3 5,822 Jun-05-2019, 09:37 PM
Last Post: Larz60+
  Windows 10 Task Scheduler Error mypython 1 2,519 Aug-11-2018, 11:01 PM
Last Post: ichabod801
  Windows cannot find "wish.exe" - error while trying to run PAGE Nwb 0 7,552 Jun-11-2018, 12:08 PM
Last Post: Nwb
  Error when creating child process on Windows 10 Charles 0 3,257 May-30-2018, 01:24 PM
Last Post: Charles

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020