;ς V';Bc@sydkZdkZdkZdkZdkZdkZeid djo dZndZeidƒZ dfd„ƒYZ dei fd „ƒYZ d fd „ƒYZ d e fd „ƒYZde fd„ƒYZde fd„ƒYZd„ZdZdZde fd„ƒYZed„Zd„Zd„Zhdd<dd.+)", line (?P[0-9]+)s StackEntrycBs&tZdddfd„Zd„ZRS(NsicCs(||_||_||_||_dS(N(sfilesselfslineslineNoserror(sselfsfileslineNoslineserror((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys__init__s   cCsd|i|i|ifSdS(NsFile "%s", line %d %s(sselfsfileslineNosline(sself((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys__repr__s(s__name__s __module__s__init__s__repr__(((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys StackEntryssRecFilecBstZd„Zd„ZRS(NcCs|ii|ƒdS(N(sselfsoutputsappendss(sselfss((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pyswrite$scCs |iSdS(N(sselfsoutput(sself((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys readlines's(s__name__s __module__swrites readlines(((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysRecFile#s sStackErrorParsercBs#tZd„Zd„Zd„ZRS(NcCs)||_g|_g|_|iƒdS(N(slinessselfsstackserrorsparse(sselfslines((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys__init__,s   cCs%|iGHx|iD] }|GHqWdS(N(sselfserrorsstacksse(sselfsse((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys printError2s cCs |i dti|iƒSdS(Ns (sselfserrorspprintspformatsstack(sself((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys__repr__7s(s__name__s __module__s__init__s printErrors__repr__(((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysStackErrorParser+s  sStdErrErrorParsercBstZd„ZRS(NcCst|iƒo|iiƒ}t|idƒƒ|i(t|iƒdjo|iiddƒn|idi ƒ|idssPyCheckerErrorParsercBstZd„ZRS(NcCsdk}|io†|iiƒ}y"t|iƒhƒ\}}}Wnq™X|g|i (|i i t tii|ƒ||i||ƒ|i ƒƒndS(N(s linecachesselfslinesspops pyCheckWarnsevalsstripsfilenameslineNoswarngserrorsstacksappends StackEntrysosspathsabspathsgetline(sselfsfilenames linecacheslineNos pyCheckWarnswarng((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysparseNs  " (s__name__s __module__sparse(((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysPyCheckerErrorParserMssPyLintErrorParsercBstZd„ZRS(NcCszdk}|ioc|iiƒ\}}}|g|i(|ii t t i i |ƒ||i||ƒ|iƒƒndS(N(s linecachesselfslinesspopsfilenameslineNosmsgserrorsstacksappends StackEntrysosspathsabspathsgetline(sselfsfilenames linecacheslineNosmsg((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysparse\s    (s__name__s __module__sparse(((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysPyLintErrorParser[scCs5g}x$|D]}|it|gƒƒq W|SdS(N(sresslinesslinesappendsPyLintErrorParser(slinessressline((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysbuildLintWarningListds idi NsCrashTraceLogParsercBstZdZd„ZRS(s6 Build a stack from a trace file built with option -T cCsέ|i}g}|_t|ƒ} dd| g|i(|diƒ}|d=|iƒd}xHt|ƒo:|d}t o |t joPn|d} |d=y%| i ddƒ\}}}}}WndG|G| GHPnX|djo―tii|ƒ otii||ƒ}ny$t|ƒiƒt|ƒd}Wntj o d }nX|it|t|ƒ|ƒƒtot|ƒtjoPq€qa|d joόd}xσnoηy)||i ddƒ\} }} } }Wn5t$j o)}d G|G|G||Gt%|ƒGHPnX| |jo| |jo | djo||d4||}Pn|d}|t|ƒjo$d G|G|G|Gt|ƒGH|2Pq±qΈWqaqaWt|ƒo|iƒnd d| g|i(dS(NsCore dump stackstrace file size: iis|is Error on linescallssreturns Error on findsCall not foundsEmpty (resolved) stack(&sselfslinessstackslensfileSizeserrorsstripsbaseDirsreversescntsmax_lines_to_processslinessplitsfileslinenosframeidseventsargsosspathsisabssjoinsopens readlinessintscodesIOErrorsappends StackEntrysmax_stack_depthsidxs_files_linenos_frameids_events_rests Exceptionsstr(sselfscodesbaseDirs_restsfilesargseventscntslinenos_files_eventsfileSizes_frameidslinesstacksidxs_linenoslinessframeidserror((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysparsetsf       %  $   )'    (s__name__s __module__s__doc__sparse(((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysCrashTraceLogParserrs cCsg}t}xΏ|D]·}|iƒtjog}|i|ƒq|o€|tj o/|i|ƒ|dti jo t}qΖqΚ|i dƒo|g}|i|ƒqΚt}|i|gƒqqWg}x!|D]}|i||ƒƒqΫW|SdS(Nis File (serrssNonescurrerrslinesslinesstripstb_idsappendsstrings whitespaces startswithsresserrsParser(slinessParserscurrerrserrsresserrssline((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pysbuildErrorList­s,   cCst|iƒƒSdS(N(sbuildErrorListsstderrs readlines(sstderr((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys errorListΘscCsbyDt|ƒiƒ}t|ƒ}t|ddƒi| ƒ|gSWntj o gSnXdS(Ns.stacksw(sopensfiles readlinesslinessCrashTraceLogParsersctlpswritesIOError(sfilesctlpslines((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys crashErrorΜs  isfailedis succeededcCsXtt|ƒƒ}||j}dG|Gt|GH| odGH|GHdGH|GHdGHndS(Ns --Testing.sRESULT:sANSWER:s--(sstrsbuildErrorLists err_linesserr_listsanswerssuccsnamesresp(snames err_linessanswerserr_listssucc((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pystest_buildErrorListΧs cCsŸtddddddddtddddddddg}d }td ||ƒd d d dg}d}td||ƒd}d}td|g|ƒdS(Ns s/ File "Views\AppViews.py", line 172, in OnRun s self.model.run() s+ File "EditorModels.py", line 548, in run s self.checkError(c, 'Ran')s2 File "EditorModels.py", line 513, in checkError s err.parse() sAttributeError: parse sš[['AttributeError', 'parse'] [File "Views\AppViews.py", line 172 self.model.run() , File "EditorModels.py", line 548 self.checkError(c, 'Ran'), File "EditorModels.py", line 513 err.parse() ], ['AttributeError', 'parse'] [File "Views\AppViews.py", line 172 self.model.run() , File "EditorModels.py", line 548 self.checkError(c, 'Ran'), File "EditorModels.py", line 513 err.parse() ]]sLong tracebacks) File "Views\SelectionTags.py", line 23 s : s ^ sSyntaxError: invalid syntax sS[['SyntaxError', 'invalid syntax'] [File "Views\SelectionTags.py", line 23 : ]]sShort tracebacks‹Exception exceptions.TypeError: 'call of non-function (type None)' in ignoreds–[['Exception exceptions.TypeError', "'call of non-function (type None)' in ignored"] []]sSingle line exception(stb_idstbstb_answstest_buildErrorListstb2stb2_answssingle_line_excpssingle_line_excp_answ(stb2stb_answstb2_answssingle_line_excpssingle_line_excp_answstb((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pystestβs>s__main__(sstringsresosssysspprintsUtilssversionstb_idscompilesfileLines StackEntrys PseudoFilesRecFilesStackErrorParsersStdErrErrorParsersPyCheckerErrorParsersPyLintErrorParsersbuildLintWarningListsmax_stack_depthsmax_lines_to_processsCrashTraceLogParsersbuildErrorLists errorLists crashErrorsrespstest_buildErrorListstests__name__(sPyCheckerErrorParsersrespsmax_lines_to_processsmax_stack_depthsStackErrorParsersfileLinespprints errorListsres crashErrorsbuildErrorListsPyLintErrorParsersstringssysstestsCrashTraceLogParserstest_buildErrorListsRecFilesbuildLintWarningListsUtilss StackEntrystb_idsossStdErrErrorParser((sP/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/ErrorStack.pys? s.-    ;    <