Ñò ‚")[c@s—dZddkZddkZd„Zd„Zd„Zd„Zy eƒWnej o ZnXe djodd Z ei d ƒnd Z dS( s- Module for the ABRT exception handling hook iÿÿÿÿNc Csctidddjotiitidƒ}ntid}yâddk}|i|i|iƒ}|idƒyç|i ddƒ|i dƒ|i dti ƒƒ|i d |ƒ|i d ƒ|i d ƒ|i d ƒ|i d |i ƒdƒ|i d|ƒ|i |iƒd}x1to)|idƒ}|pPn||7}q+WWn;|ij o,}ddk}|idt|ƒƒnX|iƒ|iƒ}t|ƒdjp>|didƒ p)|diƒ pt|dƒdjo!ddk}|id|ƒnWn8tj o,}ddk}|idt|ƒƒnXdS(Nit/iÿÿÿÿis/var/runs/abrt/abrt.socketsPUT / HTTP/1.1 sPID=%ssEXECUTABLE=%ssANALYZER=Pythons TYPE=PythonsBASENAME=pyhooks REASON=%ss BACKTRACE=%stis)communication with ABRT daemon failed: %sisHTTP/iis%error sending data to ABRT daemon: %ss5can't communicate with ABRT daemon, is it running? %s(tsystargvtostpathtabspathtsockettAF_UNIXt SOCK_STREAMt settimeouttconnecttsendalltgetpidt splitlinestshutdowntSHUT_WRtTruetrecvttimeouttsyslogtstrtclosetsplittlent startswithtisdigittintt Exception( ttbt executableRtstresponsetbuftexRtparts((s</usr/lib64/python2.6/site-packages/abrt_exception_handler.pyt write_dumpsN            cCs2ytidƒ}WndSX|i|dƒdS(Ns python.confiÿÿÿÿ(tproblemtload_plugin_conf_filetget(tvar_nametconf((s</usr/lib64/python2.6/site-packages/abrt_exception_handler.pyt conf_enabledQs cCsK|\}}}ytit_ddk}|ttgjoti|||ƒS|tjp |tjo+|i|ijoti|||ƒSnddk }|i dƒti d pti dddjo|i dƒt ‚n|i dti dƒti dddjo!t d ƒdjo t ‚q>nddk}|i|||ƒ}|djoŠ|tjo}|i|d dƒ}t|ƒo|t|ƒd }n|i||ƒ} |oNt|ƒd jo;g} | i|d ƒtii|dƒ| d<| }nd } x"|D]} | t| ƒd7} q'W| } | | d7} | d7} | d i|ƒ7} |}x|io |i}qW|i}| d7} y>x7|iiƒD]&\}}| d|t|ƒf7} q½WWq#q#Xn.t|ƒd} | d7} | d i|ƒ7} t | ƒWnnXti|||ƒS(s„ The exception handling function. progname - the name of the application version - the version of the application iÿÿÿÿNtabrtit-s#detected unhandled Python exceptions+detected unhandled Python exception in '%s'RtRequireAbsolutePathtlimitiiRt:s s% Local variables in innermost frame: s%s: %s (!Rt__excepthook__t excepthookterrnotKeyboardInterruptt SystemExittIOErrortOSErrortEPIPERtopenlogRRR*t tracebacktformat_exceptiontNonetIndentationErrort extract_tbRtformat_exception_onlytextendRRtbasenameRtjointtb_nextttb_frametf_localstitemstreprR$(t.0tetypetvalueRR2RR9telistttblasttextxttlltntextttttextttracetframetkeytval((s</usr/lib64/python2.6/site-packages/abrt_exception_handler.pythandleMyExceptionYsr      '          " cCsd„t_dS(s2 Install the exception handling function. cSst|||fƒS((RU(RHRIR((s</usr/lib64/python2.6/site-packages/abrt_exception_handler.pytÁsN(RR1(((s</usr/lib64/python2.6/site-packages/abrt_exception_handler.pytinstallExceptionHandler½st__main__iis Harald Hoyer ( t__doc__RRR$R*RURWRtet__name__tdiv0texitt __author__(((s</usr/lib64/python2.6/site-packages/abrt_exception_handler.pyts   5  d