Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Fix setup.py error on some platforms#4246
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
lovelydinosaur merged 2 commits intoencode:masterfromcobaltchang:fix_compile_failure_without_pypandocJul 5, 2016
Merged
Fix setup.py error on some platforms#4246
lovelydinosaur merged 2 commits intoencode:masterfromcobaltchang:fix_compile_failure_without_pypandocJul 5, 2016
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
it raises the error:```warning: pypandoc module not found, could not convert Markdown to RSTTraceback (most recent call last): File "./setup.py", line 86, in <module> long_description=read_md('README.md'), File "./setup.py", line 19, in read_md return open(f, 'r').read() File "/GIT_POOL/OpenWRT/OpenWrt-SDK-mvebu_gcc-4.8-linaro_uClibc-0.9.33.2_eabi.Linux-x86_64/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0]UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4874: ordinal not in range(128)```I specify encoding='utf-8' to resolve the building failure.modified: setup.pymodified: setup.py
codecov-io commentedJul 5, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Current coverage is91.19%@@ master #4246 diff @@========================================== Files 52 52 Lines 5771 5771 Methods 0 0 Messages 0 0 Branches 0 0 ========================================== Hits 5263 5263 Misses 508 508 Partials 0 0
|
Contributor
lovelydinosaur commentedJul 5, 2016
Thanks! |
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please describe your pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. When linking to an issue, please use
refs #...in the description of the pull request.When compile djang REST framework with pypandoc using OpenWRT toolchain,
it raises the error:
I specify encoding='utf-8' to resolve the building failure.