Re: [PyQt] PyQt application frozen if run in localhost; OK if SSH'd to another host

2011-06-23 Thread Arrieta
The $ in $python helloworld.py is meant to simbolize the command prompt, not an environment variable. Sorry for the confusion. I will verify the X configuration in the machines and get back to you. Thanks! -- View this message in context: http://old.nabble.com/PyQt-application-frozen-if-run-

Re: [PyQt] PyQt application frozen if run in localhost; OK if SSH'd to another host

2011-06-23 Thread Hans-Peter Jansen
On Thursday 23 June 2011, 18:26:52 Arrieta wrote: > Consider the following PyQT application (helloworld.py): > > > import sys > from PyQt4 import QtGui > > def main(): > app = QtGui.QApplication(sys.argv) > win = QtGui.QPushButton("Hello, World!") > win.show() > return app.exec_() >

[PyQt] PyQt application frozen if run in localhost; OK if SSH'd to another host

2011-06-23 Thread Arrieta
Consider the following PyQT application (helloworld.py): import sys from PyQt4 import QtGui def main(): app = QtGui.QApplication(sys.argv) win = QtGui.QPushButton("Hello, World!") win.show() return app.exec_() if __name__ == "__main__": sys.exit(main()) If I run ($python