def run(self):
        try:
            self.callback()
        except Exception as error:
            error_str = str(error)
            fs_encoding = sys.getfilesystemencoding()\
                          or locale.getpreferredencoding()
            try:
                error_str = error_str.decode(fs_encoding)
            except (UnicodeError, __HOLE__, AttributeError):
                pass
            self.error = error_str
dataset/ETHPy150Open winpython/winpython/winpython/controlpanel.py/Thread.run