Guest User

python_cp1252_unicodeencodeerror

a guest
Nov 10th, 2022
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.57 KB | Software | 0 0
  1. 2022-11-10T23:54:51.7272453Z Requested labels: windows-latest
  2. 2022-11-10T23:54:51.7272494Z Job defined at: NodeJSmith/wsl_home/.github/workflows/blank.yml@refs/heads/main
  3. 2022-11-10T23:54:51.7272514Z Waiting for a runner to pick up this job...
  4. 2022-11-10T23:54:52.3387510Z Job is waiting for a hosted runner to come online.
  5. 2022-11-10T23:55:04.8574435Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
  6. 2022-11-10T23:55:15.8332600Z Current runner version: '2.298.2'
  7.  
  8. 2022-11-10T23:55:15.8366947Z ##[group]Operating System
  9. 2022-11-10T23:55:15.8367650Z Microsoft Windows Server 2022
  10. 2022-11-10T23:55:15.8367954Z 10.0.20348
  11. 2022-11-10T23:55:15.8368389Z Datacenter
  12. 2022-11-10T23:55:15.8368696Z ##[endgroup]
  13.  
  14. 2022-11-10T23:55:15.8369023Z ##[group]Runner Image
  15. 2022-11-10T23:55:15.8369654Z Image: windows-2022
  16. 2022-11-10T23:55:15.8369931Z Version: 20221027.1
  17. 2022-11-10T23:55:15.8370539Z Included Software: https://github.com/actions/runner-images/blob/win22/20221027.1/images/win/Windows2022-Readme.md
  18. 2022-11-10T23:55:15.8371174Z Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20221027.1
  19. 2022-11-10T23:55:15.8371622Z ##[endgroup]
  20.  
  21. 2022-11-10T23:55:15.8371955Z ##[group]Runner Image Provisioner
  22. 2022-11-10T23:55:15.8372277Z 2.0.91.1
  23. 2022-11-10T23:55:15.8372514Z ##[endgroup]
  24.  
  25. 2022-11-10T23:55:16.3619998Z ##[group]Run echo  " └── ID:"
  26. 2022-11-10T23:55:16.3620626Z echo  " └── ID:"
  27. 2022-11-10T23:55:16.3927292Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  28. 2022-11-10T23:55:16.3927894Z ##[endgroup]
  29. 2022-11-10T23:55:32.9958751Z  └── ID:
  30.  
  31. 2022-11-10T23:55:34.0835652Z ##[group]Run chcp
  32. 2022-11-10T23:55:34.0836104Z chcp
  33. 2022-11-10T23:55:34.0878901Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  34. 2022-11-10T23:55:34.0879350Z ##[endgroup]
  35. 2022-11-10T23:55:34.4878247Z Active code page: 65001
  36.  
  37. 2022-11-10T23:55:34.7917219Z ##[group]Run python -c "import sys; print('sys.stdout.encoding', sys.stdout.encoding); print('sys.flags',sys.flags);print('sys.getfilesystemencoding',sys.getfilesystemencoding())"
  38. 2022-11-10T23:55:34.7918148Z python -c "import sys; print('sys.stdout.encoding', sys.stdout.encoding); print('sys.flags',sys.flags);print('sys.getfilesystemencoding',sys.getfilesystemencoding())"
  39. 2022-11-10T23:55:34.7960873Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  40. 2022-11-10T23:55:34.7961202Z ##[endgroup]
  41. 2022-11-10T23:55:36.2324642Z sys.stdout.encoding cp1252
  42. 2022-11-10T23:55:36.2325910Z sys.flags sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0, dev_mode=False, utf8_mode=0)
  43. 2022-11-10T23:55:36.2327055Z sys.getfilesystemencoding utf-8
  44.  
  45. 2022-11-10T23:55:36.4553957Z ##[group]Run python -c "print('└── ID:')"
  46. 2022-11-10T23:55:36.4554395Z python -c "print('└── ID:')"
  47. 2022-11-10T23:55:36.4595413Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  48. 2022-11-10T23:55:36.4595740Z ##[endgroup]
  49. 2022-11-10T23:55:36.8739309Z Traceback (most recent call last):
  50. 2022-11-10T23:55:37.1316425Z   File "<string>", line 1, in <module>
  51. 2022-11-10T23:55:37.1317452Z   File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\encodings\cp1252.py", line 19, in encode
  52. 2022-11-10T23:55:37.1324632Z     return codecs.charmap_encode(input,self.errors,encoding_table)[0]
  53. 2022-11-10T23:55:37.1325913Z UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-2: character maps to <undefined>
  54.  
Advertisement
Add Comment
Please, Sign In to add comment