So I have been playing with Qprocess and have again run into a problem.
I have:
from qt import *
## snipped away most of the code ##
upgradeProcess = QProcess("apt-get")
upgradeProcess = addArgument("upgrade")
upgradeProcess.start()
while upgradeProcess.canReadLineStdout():
self.mainTextWindow.append(upgradeProcess.readLineSrdout())
qApp.processEvents()
But I get this error: "The debugged program raised the exception
unhandled NameError
"global name 'addArgument' is not defined"
I get the same with 'setArguments()'
As usual I have placed the entire code and all related files at
http://www.bestemselv.com/admin_priv/tinaptpkg.tar.bz2
should it be needed...
Thanks
Tina
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde