Skip to content
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

UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 179: character maps to <undefined> #3493

Closed
pawcio0928 opened this issue May 6, 2020 · 1 comment

Comments

@pawcio0928
Copy link

Hi I have similar issue to https://github.com/platformio/platformio-core/issues/3481
Exception in thread Thread-3: Traceback (most recent call last): File "C:\Users\pawel\.platformio\python37\lib\threading.py", line 926, in _bootstrap_inner self.run() File "C:\Users\pawel\.platformio\python37\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "C:\Users\pawel\.platformio\penv\lib\site-packages\platformio\proc.py", line 46, in run self.do_reading() File "C:\Users\pawel\.platformio\penv\lib\site-packages\platformio\proc.py", line 69, in do_reading for byte in iter(lambda: self._pipe_reader.read(1), ""): File "C:\Users\pawel\.platformio\penv\lib\site-packages\platformio\proc.py", line 69, in <lambda> for byte in iter(lambda: self._pipe_reader.read(1), ""): File "C:\Users\pawel\.platformio\python37\lib\encodings\cp1250.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 179: character maps to <undefined>
I am using PlatformIO 4.3.4a1 on Windows 10. This error shows when I try to build and upload Marlin FW.

Please help resolve that issue.

@ivankravets
Copy link
Member

Duplicate of #3481

@ivankravets ivankravets marked this as a duplicate of #3481 May 8, 2020
neitri added a commit to neitri/platformio-core that referenced this issue Jul 6, 2021
Fix charmap error on cyrilic in platformio.ini file platformio#3493
ivankravets added a commit that referenced this issue Jul 7, 2021
* Fix charmap error

Fix charmap error on cyrilic in platformio.ini file #3493

* Update config.py

Co-authored-by: Ivan Kravets <[email protected]>
aofaof0907 pushed a commit to aofaof0907/platformio-core that referenced this issue Jul 25, 2021
* Fix charmap error

Fix charmap error on cyrilic in platformio.ini file platformio#3493

* Update config.py

Co-authored-by: Ivan Kravets <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants