Compilation error: exit status 1 esp8266 NodeMCU 1.0

Hi,
I have a problem with porting the progran to the esp8266. Every time I try to upload a program to the esp8266 I get this error:

Traceback (most recent call last):
File "C:\Users\Tenšek\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 211, in
sys.exit(main())
File "C:\Users\Tenšek\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 183, in main
out=args.out, eboot=args.eboot, app=args.app))
File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\cp437.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\u0161' in position 31: character maps to

exit status 1

Compilation error: exit status 1

I tried to delete the program, boards and download it again, but it didn't work. I read that there are problems with the antivirus, so I turned it off, again nothing. I also tried different versions. I am currently using Arduino IDE 2.0.0
I hope someone has a solution?

I can't help you with the problem; however esp8266 UnicodeEncodeError: 'charmap' codec can't encode character - Google Search seems to give a couple of hits which might or might not help you. It might in some way relate to the language (possibly in the code).

You might want to provide some additional details like

  • Windows version
  • IDE version
  • boards package used for the ESP8266

\u0161 = š

Thank you, you are boss. That single sentense helped me a lot. When I read it I realized that the problem is the "š" in the name of my user of conputer. It was named Tenšek and when I rename it the problem went away. Thank you for ending my problems wich i had for last 4 day. Have a nice day!!! By :slight_smile:

You're welcome

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.