Unable to format event {'log_namespace': u'log_legacy', 'log_time': 1494936398.146, 'log_system': '_GenericHTTPChannelProtocol,39,127.0.0.1', 'log_level': <LogLevel=critical>, 'system': '_GenericHTTPChannelProtocol,39,127.0.0.1', 'isError': 1, 'failure': <twisted.python.failure.Failure exceptions.UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 39: invalid continuation byte>, 'time': 1494936398.146, 'log_text': 'Unhandled Error\nTraceback (most recent call last):\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\log.py", line 103, in callWithLogger\n
return callWithContext({"system": lp}, func, *args, **kw)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\log.py", line 86, in callWithContext\n
return context.call({ILogContext: newCtx}, func, *args, **kw)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\context.py", line 118, in callWithContext\n
return self.currentContext().callWithContext(ctx, func, *args, **kw)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\context.py", line 81, in callWithContext\n
return func(*args,**kw)\n--- <exception caught here> ---\n

 "C:\\Python27\\lib\\site-packages\\twisted\\internet\\selectreactor.py", line 149, in _doReadOrWrite\n
why = getattr(selectable, method)()\n

 "C:\\Python27\\lib\\site-packages\\twisted\\internet\\tcp.py", line 208, in doRead\n
return self._dataReceived(data)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\internet\\tcp.py", line 214, in _dataReceived\n
rval = self.protocol.dataReceived(data)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 2332, in dataReceived\n
return self._channel.dataReceived(data)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\protocols\\basic.py", line 571, in dataReceived\n
why = self.lineReceived(line)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 1752, in lineReceived\n
self.allContentReceived()\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 1845, in allContentReceived\n
req.requestReceived(command, path, version)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 766, in requestReceived\n
self.process()\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\server.py", line 192, in process\n
self.processingFailed(failure.Failure())\n

 "C:\\Users\\***\\Documents\\tribler\xe9\\Tribler\\Core\\Modules\\restapi\\rest_manager.py", line 64, in processingFailed\n
body = json.dumps(response)\n

 "C:\\Python27\\lib\\json\\__init__.py", line 244, in dumps\n
return _default_encoder.encode(obj)\n

 "C:\\Python27\\lib\\json\\encoder.py", line 207, in encode\n
chunks = self.iterencode(o, _one_shot=True)\n

 "C:\\Python27\\lib\\json\\encoder.py", line 270, in iterencode\n
return _iterencode(o, 0)\nexceptions.UnicodeDecodeError: \'utf8\' codec can\'t decode byte 0xe9 in position 39: invalid continuation byte\n', 'log_format': u'{log_text}', 'message': (), 'why': None}: 'ascii' codec can't decode byte 0xe9 in position 1869: ordinal not in range(128)
Unable to format event {'log_namespace': u'log_legacy', 'log_time': 1494936398.554, 'log_system': '_GenericHTTPChannelProtocol,40,127.0.0.1', 'log_level': <LogLevel=critical>, 'system': '_GenericHTTPChannelProtocol,40,127.0.0.1', 'isError': 1, 'failure': <twisted.python.failure.Failure exceptions.UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 39: invalid continuation byte>, 'time': 1494936398.554, 'log_text': 'Unhandled Error\nTraceback (most recent call last):\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\log.py", line 103, in callWithLogger\n
return callWithContext({"system": lp}, func, *args, **kw)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\log.py", line 86, in callWithContext\n
return context.call({ILogContext: newCtx}, func, *args, **kw)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\context.py", line 118, in callWithContext\n
return self.currentContext().callWithContext(ctx, func, *args, **kw)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\python\\context.py", line 81, in callWithContext\n
return func(*args,**kw)\n--- <exception caught here> ---\n

 "C:\\Python27\\lib\\site-packages\\twisted\\internet\\selectreactor.py", line 149, in _doReadOrWrite\n
why = getattr(selectable, method)()\n

 "C:\\Python27\\lib\\site-packages\\twisted\\internet\\tcp.py", line 208, in doRead\n
return self._dataReceived(data)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\internet\\tcp.py", line 214, in _dataReceived\n
rval = self.protocol.dataReceived(data)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 2332, in dataReceived\n
return self._channel.dataReceived(data)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\protocols\\basic.py", line 571, in dataReceived\n
why = self.lineReceived(line)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 1752, in lineReceived\n
self.allContentReceived()\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 1845, in allContentReceived\n
req.requestReceived(command, path, version)\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\http.py", line 766, in requestReceived\n
self.process()\n

 "C:\\Python27\\lib\\site-packages\\twisted\\web\\server.py", line 192, in process\n
self.processingFailed(failure.Failure())\n

 "C:\\Users\\***\\Documents\\tribler\xe9\\Tribler\\Core\\Modules\\restapi\\rest_manager.py", line 64, in processingFailed\n
body = json.dumps(response)\n

 "C:\\Python27\\lib\\json\\__init__.py", line 244, in dumps\n
return _default_encoder.encode(obj)\n

 "C:\\Python27\\lib\\json\\encoder.py", line 207, in encode\n
chunks = self.iterencode(o, _one_shot=True)\n

 "C:\\Python27\\lib\\json\\encoder.py", line 270, in iterencode\n
return _iterencode(o, 0)\nexceptions.UnicodeDecodeError: \'utf8\' codec can\'t decode byte 0xe9 in position 39: invalid continuation byte\n', 'log_format': u'{log_text}', 'message': (), 'why': None}: 'ascii' codec can't decode byte 0xe9 in position 1869: ordinal not in range(128)

Traceback (most recent call last):


 "/usr/share/razercommander/main.py", line 74, in <module>

refreshDevices()


 "/usr/share/razercommander/main.py", line 70, in refreshDevices

initDevices()


 "/usr/share/razercommander/main.py", line 36, in initDevices

newdev = device.Device(dev)


 "/usr/share/razercommander/device.py", line 30, in __init__

self.device)


 "/usr/share/razercommander/macro_logic.py", line 73, in make_device

n_device = MacroDevice(mk_arr, device_uid, device)


 "/usr/share/razercommander/macro_logic.py", line 14, in __init__

self.set_all_current_macros()


 "/usr/share/razercommander/macro_logic.py", line 32, in set_all_current_macros

key.set_current_macro(self.device)


 "/usr/share/razercommander/macro_logic.py", line 50, in set_current_macro

self._set_macro(device, self.macro)


 "/usr/share/razercommander/macro_logic.py", line 43, in _set_macro

device.macro.del_macro(self.key)
AttributeError: 'RazerMouse' object has no attribute 'macro'
