4038: Getting ascii-codec-cant-decode-byte- ... on diff viewer and also on GitLab repository config
- Fixed
- Review Board
bishupaulose | |
What version are you running?
2.5.2
What's the URL of the page containing the problem?
intratnet site - On Show difference and On Git repository edit page
What steps will reproduce the problem?
- Upgrade from 2.2 to 2.5
- Go to old reviews - click on View Diff
- Got Admin - config repositories and then edit a GitLab repository
What is the expected output? What do you see instead?
Difference between master and new change should be displayed. Seeting ascii-codec-cant-decode-byte- .. error
What operating system are you using? What browser?
Using Ubuntu and Chrome
Please provide any additional information below.
It looks like we have the same problem when we upgraded our host from Ubuntu 10.10 to 16.04. It looks like there is an encoding/decoding issue when base64 encoding the key string and it's only seend when running using Python 2.7.
We are kind of blocked from upgrading our host until we've found a fix for this bug.The error message we get is this
" 'ascii' codec can't decode byte 0xaa in position 0: ordinal not in range(128) "our GITLAB config
Hosting Service: GitLab
Repository type: Git
Repository Plan Group