PyQT craches when using webbroswer.open or os.system

Ingo Linkweiler i.linkweiler at gmx.de
Mon Jun 24 04:55:09 EDT 2002


Hello!

all my Python applications are crashing with Python-QT, if I try to open an html-document:

import webbrowser
webbrowser.open(myurl)

or 

os.startfile(myurl)

==> General protection fault in PYTHON.EXE

This crash only occures with Windows 2000 and Internet Explorer 6 as Default Browser, but can be seen on many systems. It does NOT crash with Netscape and not with Windows 98.

It does not CRASH, if the Internet Explorer is started before doing the calls.
os.startfile does not crash, when opening other documents like text files with notepad.

I can avoid this crashes, if I close all my QT-Windows before doing the calls, but this is not a good solution.

All tested systems have:

Windows 2000
Internet Explorer 6
Python 2.2 or older
QT 2.3 NC
PyQT 3.2.4 or older

Do you have any ideas to solve this problem?

Ingo





More information about the Python-list mailing list