Skip to content

Decode STDERR from compiler #4325

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

Merged
merged 1 commit into from
May 18, 2017
Merged

Decode STDERR from compiler #4325

merged 1 commit into from
May 18, 2017

Conversation

theotherjimmy
Copy link
Contributor

Description

Strangely, python does not seem to treat streams as unicode by default.
Therefore, we need to manually decode the STDERR stream from the compiler before
we use it as it might contain not-ascii characters.

Resolves #4318

cc @teetak01

TODO

  • @teetak01 verifies that this has resolved his issue

@0xc0170
Copy link
Contributor

0xc0170 commented May 16, 2017

@mazimkhan Can you please have a look at uvisor CI? It fails with a failure code but cant spot the error and not for only this PR

Copy link
Contributor

@teetak01 teetak01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified to work, thanks!

@0xc0170
Copy link
Contributor

0xc0170 commented May 16, 2017

/morph test

@0xc0170
Copy link
Contributor

0xc0170 commented May 16, 2017

retest uvisor

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 235

All builds and test passed!

@sg- sg- merged commit 943ef86 into ARMmbed:master May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"mbed compile -v' fails on Unicode error when printing out warning
5 participants