ulogme
ulogme copied to clipboard
osx rare errors
From time to time, I get rare errors on osx yosemite:
2015-02-19 10:48:42.054 ulogme_osx[785:6450] <type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xe9' in position 47: ordinal not in range(128)
2015-02-19 10:48:42.063 ulogme_osx[785:6450] (
0 CoreFoundation 0x00007fff92f2f66c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff9425f76e objc_exception_throw + 43
2 CoreFoundation 0x00007fff92f2f209 -[NSException raise] + 9
3 _objc.so 0x0000000104ad0626 PyObjCFFI_MakeClosure + 2197
4 libffi.dylib 0x00007fff8bfdfa07 ffi_closure_unix64_inner + 511
5 libffi.dylib 0x00007fff8bfdf0c6 ffi_closure_unix64 + 70
6 CoreFoundation 0x00007fff92e82b64 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7 CoreFoundation 0x00007fff92e827f3 __CFRunLoopDoTimer + 1059
8 CoreFoundation 0x00007fff92ef5dbd __CFRunLoopDoTimers + 301
9 CoreFoundation 0x00007fff92e3f288 __CFRunLoopRun + 2024
10 CoreFoundation 0x00007fff92e3e858 CFRunLoopRunSpecific + 296
11 HIToolbox 0x00007fff8ef9daef RunCurrentEventLoopInMode + 235
12 HIToolbox 0x00007fff8ef9d86a ReceiveNextEventCommon + 431
13 HIToolbox 0x00007fff8ef9d6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
14 AppKit 0x00007fff921c6f81 _DPSNextEvent + 964
15 AppKit 0x00007fff921c6730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
16 AppKit 0x00007fff921ba593 -[NSApplication run] + 594
17 libffi.dylib 0x00007fff8bfdef44 ffi_call_unix64 + 76
18 ??? 0x00007fd68c165440 0x0 + 140559450002496
)
This looks like a python error message, from where it gets an utf-8 character, but doesn't expect one, for example from the window, or keypress. and tries to save it to an ascii file.