mbuesch / razer

Razer device library and tools
http://bues.ch/h/razercfg
GNU General Public License v2.0
253 stars 50 forks source link

Can't change profil name #7

Closed guillaumevincent closed 10 years ago

guillaumevincent commented 10 years ago

On ubuntu 13.10 with razer device configuration tool Version 0.24 I can't change profile name on qrazercfg:

Traceback (most recent call last):
  File "/usr/local/bin/qrazercfg", line 355, in nameChange
    razer.setProfileName(self.mouseWidget.mouse, self.profileId, newName)
  File "/usr/local/bin/pyrazer.py", line 578, in setProfileName
    rawstr = unicode(newName)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/local/bin/qrazercfg", line 355, in nameChange
    razer.setProfileName(self.mouseWidget.mouse, self.profileId, newName)
  File "/usr/local/bin/pyrazer.py", line 578, in setProfileName
    rawstr = unicode(newName)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)

I entered "guillaume" without the quotes

mbuesch commented 10 years ago

Thanks a lot for your bug report.

This should be fixed in latest git master and the fix will be included in the next release (0.26). You are encouraged to test it and report any remaining problems, if there are any.