done with refactoring for xmlrpc tracking. Need better print for certs, passing pytho...
authorGiovanni Gherdovich <ggherdov@brentaal.inria.fr>
Fri, 8 Oct 2010 08:09:28 +0000 (10:09 +0200)
committerGiovanni Gherdovich <ggherdov@brentaal.inria.fr>
Fri, 8 Oct 2010 08:09:28 +0000 (10:09 +0200)
sface/sfiprocess.py
sface/xmlrpcwindow.py

index 1e93b29..1d88155 100644 (file)
@@ -37,6 +37,7 @@ class SfiProcess(QObject):
 
     def __init_command(self, args):
         self.args = QStringList()
 
     def __init_command(self, args):
         self.args = QStringList()
+        print "DEBUG FLAG:", config.debug
         if config.debug:
             # this shows xmlrpc conversation, see sfi.py docs.
             self.args << QString('-D')
         if config.debug:
             # this shows xmlrpc conversation, see sfi.py docs.
             self.args << QString('-D')
@@ -57,6 +58,7 @@ class SfiProcess(QObject):
         # It's cool to have this method wo we print the stdOut live,
         # but we must be carefull with self.output, used by XmlrpcTracker too.
         tmpOut = self.process.readAllStandardOutput()
         # It's cool to have this method wo we print the stdOut live,
         # but we must be carefull with self.output, used by XmlrpcTracker too.
         tmpOut = self.process.readAllStandardOutput()
+        print "STDOUT READY"
         if config.debug:
             print tmpOut        
         self.output += tmpOut
         if config.debug:
             print tmpOut        
         self.output += tmpOut
index 483d443..86c47c2 100644 (file)
@@ -7,6 +7,7 @@ class XmlrpcTracker():
         self.xmlrpcWindow = XmlrpcWindow()
 
     def getAndPrint(self, rawOutput):
         self.xmlrpcWindow = XmlrpcWindow()
 
     def getAndPrint(self, rawOutput):
+        print "RAW OUTPUT:\n" + rawOutput + "\nEND OF RAW OUT"
         self.store(rawOutput)
         self.extractXml()
         self.xmlrpcWindow.setData(self.xml)
         self.store(rawOutput)
         self.extractXml()
         self.xmlrpcWindow.setData(self.xml)