-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
macOS Python 2.7: 'ascii' codec can't decode byte #3370
Comments
ivankravets
changed the title
Libraries: Builtin
UnicodeDecodeError: 'ascii' codec can't decode byte
Nov 25, 2019
Same here, when I click on Libraries -> Builtin:
|
ivankravets
changed the title
UnicodeDecodeError: 'ascii' codec can't decode byte
macOS Python 2.7: 'ascii' codec can't decode byte
Feb 5, 2020
Please open PlatformIO IDE Terminal and type
Restart VSCode. Does it work now? |
This was referenced Feb 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PIO Core Call Error: "Error: Traceback (most recent call last):\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/platformio/main.py", line 102, in main\n cli() # pylint: disable=no-value-for-parameter\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 700, in call\n return self.main(*args, **kwargs)\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 680, in main\n rv = self.invoke(ctx)\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/platformio/commands/init.py", line 44, in invoke\n return super(PlatformioCLI, self).invoke(ctx)\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1027, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1027, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 873, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 508, in invoke\n return callback(*args, *kwargs)\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/platformio/commands/lib.py", line 383, in lib_builtin\n return click.echo(dump_json_to_unicode(items))\n File "/Users/manuel/.platformio/penv/lib/python2.7/site-packages/platformio/compat.py", line 73, in dump_json_to_unicode\n obj, encoding=get_filesystem_encoding(), ensure_ascii=False, sort_keys=True\n File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 251, in dumps\n sort_keys=sort_keys, kw).encode(obj)\n File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 210, in encode\n return ''.join(chunks)\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 19: ordinal not in range(128)\n\n============================================================\n\nAn unexpected error occurred. Further steps:\n\n Verify that you have the latest version of PlatformIO using\n
pip install -U platformio
command\n\n Try to find answer in FAQ Troubleshooting section\n https://docs.platformio.org/page/faq.html\n\n Report this problem to the developers\n https://github.com/platformio/platformio-core/issues\n\n============================================================"The text was updated successfully, but these errors were encountered: