Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

'ascii' codec can't encode characters in position... #56

Closed
bbalet opened this issue Feb 10, 2016 · 3 comments
Closed

'ascii' codec can't encode characters in position... #56

bbalet opened this issue Feb 10, 2016 · 3 comments

Comments

@bbalet
Copy link

bbalet commented Feb 10, 2016

I get an error while trying to use the uploader for a Go project:
https://github.com/bbalet/stopwords

'ascii' codec can't encode characters in position 13398-13493: ordinal not in range(128)

Apparently, this is a known issue with Python, see:

Attached is the log generated by Travis-CI where you can find this error:
log.txt

@w31mann
Copy link

w31mann commented Feb 12, 2016

Commit 4525409ddc5a... should fix the problem (partially).

Additionally I had to perform a string cast of "reports" in codecov/init.py:621 and codecov/init.py:665.

The report upload seems to work now. Nevertheless, the coverage is not displayed in the gitlab enterprise web app and the following error can be found in the logs:

[2016-02-03 16:06:20,080: INFO/Worker-1] {"build": null, "commit": "f73598f", "func": "upload", "processing": true, "reportid": "upload:242:f73598fe7a0dd72c0300c062d403a60e160f32d0:na:6827:1454511969.88", "service": "gitlab_enterprise", "slug": "libs/encoding", "trys": 0} {"service": "gitlab_enterprise", "traceback": ["Traceback (most recent call last):\n", " File \"/home/ubuntu/codecov.io/app/tasks/upload.py\", line 544, in upload\n", "Exception: Report not found in redis.\n"], "trys": 0, "build": null, "func": "upload", "action": "error", "commit": "f73598f", "slug": "libs/encoding", "reportid": "upload:242:f73598fe7a0dd72c0300c062d403a60e160f32d0:na:6827:1454511969.88"} [2016-02-03 16:06:20,082: ERROR/Worker-1] {"service": "gitlab_enterprise", "traceback": ["Traceback (most recent call last):\n", " File \"/home/ubuntu/codecov.io/app/tasks/upload.py\", line 544, in upload\n", "Exception: Report not found in redis.\n"], "trys": 0, "build": null, "func": "upload", "action": "error", "commit": "f73598f", "slug": "libs/encoding", "reportid": "upload:242:f73598fe7a0dd72c0300c062d403a60e160f32d0:na:6827:1454511969.88"}

@stevepeak
Copy link
Contributor

Deploying shortly via v1.6.5. Thank you!

@stevepeak
Copy link
Contributor

@Fckw your error will be resolved via v.1.6.5. Thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants