-
Notifications
You must be signed in to change notification settings - Fork 66
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
Libraries: Builtin #302
Comments
I have been having this same problem for months (well, since I started using it) with vscode (mac). PIO Core Call Error: "Error: Traceback (most recent call last):\n File "/Users/Animatrix/.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/Animatrix/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 700, in call\n return self.main(*args, **kwargs)\n File "/Users/Animatrix/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 680, in main\n rv = self.invoke(ctx)\n File "/Users/Animatrix/.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/Animatrix/.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/Animatrix/.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/Animatrix/.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/Animatrix/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 508, in invoke\n return callback(*args, *kwargs)\n File "/Users/Animatrix/.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/Animatrix/.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 250, 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 |
Duplicate of platformio/platformio-core#3370 |
When I open the Built-in page on Atom I get this error
PIO Core Call Error: "Error: Traceback (most recent call last):\n File "/Users/chappy/.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/chappy/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 764, in call\n return self.main(*args, **kwargs)\n File "/Users/chappy/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 717, in main\n rv = self.invoke(ctx)\n File "/Users/chappy/.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/chappy/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1137, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/Users/chappy/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1137, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/Users/chappy/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 956, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/Users/chappy/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 555, in invoke\n return callback(*args, *kwargs)\n File "/Users/chappy/.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/chappy/.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: