I tried running hello.py interactively with the -v flag in hopes that it would tell me something. It doesn't, but perhaps it's helpful to someone else?
[localhost:~/PythonProjects] barron% python -v # /sw/lib/python2.2/site.pyc matches /sw/lib/python2.2/site.py import site # precompiled from /sw/lib/python2.2/site.pyc # /sw/lib/python2.2/os.pyc matches /sw/lib/python2.2/os.py import os # precompiled from /sw/lib/python2.2/os.pyc import posix # builtin # /sw/lib/python2.2/posixpath.pyc matches /sw/lib/python2.2/posixpath.py import posixpath # precompiled from /sw/lib/python2.2/posixpath.pyc # /sw/lib/python2.2/stat.pyc matches /sw/lib/python2.2/stat.py import stat # precompiled from /sw/lib/python2.2/stat.pyc # /sw/lib/python2.2/UserDict.pyc matches /sw/lib/python2.2/UserDict.py import UserDict # precompiled from /sw/lib/python2.2/UserDict.pyc Python 2.2 (#1, Apr 17 2002, 16:11:12) [GCC 2.95.2 19991024 (release)] on darwin Type "help", "copyright", "credits" or "license" for more information. import readline # dynamically loaded from /sw/lib/python2.2/lib- dynload/readline.so >>> import sys >>> from qt import * # /sw/lib/python2.2/site-packages/qt.pyc matches /sw/lib/python2.2/site-packages/qt.py import qt # precompiled from /sw/lib/python2.2/site-packages/qt.pyc import libsip # dynamically loaded from /sw/lib/python2.2/site- packages/libsip.so import libqtc # dynamically loaded from /sw/lib/python2.2/site- packages/libqtcmodule.so >>> app = QApplication(sys.argv) Bus error On Sunday, May 5, 2002, at 11:32 AM, Barron Snyder wrote: > ... > I tried to run the simple "hello world" example from Boudewijn Rempt's > book "GUI Programming with Python Using the Qt Toolkit" (p 83): > > ------------------------------------------------------------ > import sys > from qt import * > > app = QApplication(sys.argv) > button = QPushButton("Hello World", None) > app.setMainWidget(button) > button.show() > app.exec_loop() > ------------------------------------------------------------ > > However, I receive a "bus error". I get the same error when I try to > run programs from the PyQt examples directory: > > [localhost:~/PythonProjects] barron% python hello.py > Bus error > > [localhost:/Applications/pyqt-3.2/examples] barron% python > addressbook.py > Bus error > > What does "Bus error" mean in this context? _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde