One more unicode related exception - when editing subscription label #1074

Merged
g1itch merged 1 commits from ui-fixes into v0.6 2017-10-19 18:05:52 +02:00
g1itch commented 2017-10-19 12:56:55 +02:00 (Migrated from github.com)

When I edit contact or subscription using non-ASCII symbols in label, I see the following in log:

2017-10-19 11:05:08,249 - CRITICAL -   File "/usr/lib64/python2.7/site-packages/pybitmessage/bitmessageqt/__init__.py", line 3864, in tableWidgetAddressBookItemChanged
    if str(completerList[i]).endswith(" <" + item.address + ">"):

2017-10-19 11:05:08,250 - CRITICAL - <type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
When I edit contact or subscription using non-ASCII symbols in label, I see the following in log: ``` 2017-10-19 11:05:08,249 - CRITICAL - File "/usr/lib64/python2.7/site-packages/pybitmessage/bitmessageqt/__init__.py", line 3864, in tableWidgetAddressBookItemChanged if str(completerList[i]).endswith(" <" + item.address + ">"): 2017-10-19 11:05:08,250 - CRITICAL - <type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128) ```
PeterSurda commented 2017-10-19 17:42:17 +02:00 (Migrated from github.com)

I actually encountered this one too but haven't had time to fix it yet. Please rebase, I'm ready to merge.

I actually encountered this one too but haven't had time to fix it yet. Please rebase, I'm ready to merge.
This repo is archived. You cannot comment on pull requests.
No description provided.