jeffwidman / bitbucket-issue-migration

A small script for migrating repo issues from Bitbucket to GitHub
GNU General Public License v3.0
316 stars 95 forks source link

UnicodeDecodeError when username contains non-ascii characters #19

Closed jaraco closed 8 years ago

jaraco commented 9 years ago
> py -2 .\migrate.py kang python-keyring-lib jaraco jaraco/keyring
Please enter your GitHub password

Traceback (most recent call last):
  File ".\migrate.py", line 304, in <module>
    push_issue(gh_username, gh_repository, issue, body, comments)
  File ".\migrate.py", line 266, in push_issue
    format_comment(comment),
  File ".\migrate.py", line 122, in format_comment
    comment['user'].encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 153: ordinal not in range(128)
TurkeyMan commented 9 years ago

+1

henhouse commented 9 years ago

+1

rporrini commented 9 years ago

+1

jbkunst commented 8 years ago

+1

jeffwidman commented 8 years ago

I think this was fixed by 8384492d436d868481f031398a75530b96dd949e and 496a53e9c9ca96f734d0b6e5bafbd3f758ec4b67. Let me know if you're still hitting issues.