##// END OF EJS Templates
traceback support added
Omar Andres Zapata Mesa -
Show More
@@ -30,7 +30,6 b' import readline'
30 30 import rlcompleter
31 31 import time
32 32
33
34 33 #-----------------------------------------------------------------------------
35 34 # Imports from ipython
36 35 #-----------------------------------------------------------------------------
@@ -151,8 +150,10 b' class Frontend(object):'
151 150 self.prompt_count = self.msg_xreq["content"]["execution_count"]+1
152 151
153 152 else:
154 print >> sys.stderr, "Error executing: ",self.msg_xreq ##traceback no implemented yet here
155 print >> sys.stderr, "Status in the kernel: ", self.msg_xreq["content"]["status"]
153 etb = self.msg_xreq["content"]["traceback"]
154 print >> sys.stderr, etb[0]
155 print >> sys.stderr, etb[1]
156 print >> sys.stderr, etb[2]
156 157 break
157 158 time.sleep(0.1)
158 159
General Comments 0
You need to be logged in to leave comments. Login now