f.write(co.report(showall=True)) else: f.write("rc null after exception, no report") f.write(traceback.format_exc()) f.close() log.fullinfo("------------------------------------------------") log.fullinfo("Debug information written to context.log. Please") log.fullinfo("provide this log when reporting this problem.") log.fullinfo("------------------------------------------------") if reduceServer: Proxies.reduceServer.finished=True if (bReportHistory): if co: co.report_history() rl.report_history() if co: co.is_finished(True) if (useTK): cw.killed = True cw.quit() # RAISE THE EXCEPTION AGAIN # NOTE: I expect this raise to produce an exit and print # stack to user! which is why I unregister... interactive # mode does not want to unregister while still looping if not interactiveMode: prs.unregister()