[vtkusers] python.exe has stopped working

Yifei Li yifli82 at gmail.com
Mon Mar 19 09:12:24 EDT 2012


Windows Event Viewer indicates this is related to sip

Log Name:      Application
Source:        Application Error
Date:          3/19/2012 9:00:43 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Virtual
Description:
Faulting application name: pythonw.exe, version: 0.0.0.0, time stamp: 0x4df4b9cc
Faulting module name: sip.pyd, version: 0.0.0.0, time stamp: 0x4f34f9ae
Exception code: 0xc0000005
Fault offset: 0x00004d96
Faulting process id: 0x810
Faulting application start time: 0x01cd05d025cac35c
Faulting application path: C:\Python27\pythonw.exe
Faulting module path: C:\Python27\lib\site-packages\sip.pyd


However, 'import sip' does not give me any error

>>> import sip
>>> sip.__file__
'C:\\Python27\\lib\\site-packages\\sip.pyd'

On Sun, Mar 18, 2012 at 11:49 PM, Yifei Li <yifli82 at gmail.com> wrote:

> Here's what I got when running python in verbose mode, the 'python.exe has
> stopped working' dialog appeared after the last line (import PyQt4.QtGui).
>
> However, I can do 'import PyQt4.QtGui' without any problem
>
> >>> import vtk
> import vtk # directory C:\VTK\lib\site-packages\vtk
> # C:\VTK\lib\site-packages\vtk\__init__.pyc matches
> C:\VTK\lib\site-packages\vtk\__init__.py
> import vtk # precompiled from C:\VTK\lib\site-packages\vtk\__init__.pyc
> # C:\VTK\lib\site-packages\vtk\__helper.pyc matches
> C:\VTK\lib\site-packages\vtk\__helper.py
> import vtk.__helper # precompiled from
> C:\VTK\lib\site-packages\vtk\__helper.pyc
>
> # C:\Python27\lib\string.pyc matches C:\Python27\lib\string.py
> import string # precompiled from C:\Python27\lib\string.pyc
> import strop # builtin
> import vtk.vtkCommonPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkCommonPython.pyd
> import vtk.vtkFilteringPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkFilteringPython.pyd
> import vtk.vtkIOPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkIOPython.pyd
> import vtk.vtkImagingPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkImagingPython.pyd
> import vtk.vtkGraphicsPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkGraphicsPython.pyd
> import vtk.vtkGenericFilteringPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkGenericFilteringPython.pyd
> import vtk.vtkRenderingPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkRenderingPython.pyd
> import vtk.vtkVolumeRenderingPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkVolumeRenderingPython.pyd
> import vtk.vtkHybridPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkHybridPython.pyd
> import vtk.vtkWidgetsPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkWidgetsPython.pyd
> import vtk.vtkChartsPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkChartsPython.pyd
> import vtk.vtkInfovisPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkInfovisPython.pyd
> import vtk.vtkViewsPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkViewsPython.pyd
> # C:\VTK\lib\site-packages\vtk\qvtk.pyc matches
> C:\VTK\lib\site-packages\vtk\qvtk.py
> import vtk.qvtk # precompiled from C:\VTK\lib\site-packages\vtk\qvtk.pyc
> import vtk.vtkQtPython # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkQtPython.pyd
> # C:\Python27\lib\atexit.pyc matches C:\Python27\lib\atexit.py
> import atexit # precompiled from C:\Python27\lib\atexit.pyc
> import sip # dynamically loaded from C:\Python27\lib\site-packages\sip.pyd
> import vtk.vtkFilteringPythonSIP # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkFilteringPythonSIP.pyd
> import vtk.vtkRenderingPythonSIP # dynamically loaded from
> C:\VTK\lib\site-packages\vtk\vtkRenderingPythonSIP.pyd
> import PyQt4 # directory C:\Python27\lib\site-packages\PyQt4
> # C:\Python27\lib\site-packages\PyQt4\__init__.pyc matches
> C:\Python27\lib\site-packages\PyQt4\__init__.py
> import PyQt4 # precompiled from
> C:\Python27\lib\site-packages\PyQt4\__init__.pyc
>
> import PyQt4.QtCore # dynamically loaded from
> C:\Python27\lib\site-packages\PyQt4\QtCore.pyd
> import PyQt4.QtGui # dynamically loaded from
> C:\Python27\lib\site-packages\PyQt4\QtGui.pyd
>
> On Sun, Mar 18, 2012 at 11:22 PM, Yifei Li <yifli82 at gmail.com> wrote:
>
>> Hi all,
>>
>> I just compiled and installed vtk-5.8.0 on a 64-bit Windows 7 virtual
>> machine.
>>
>> The dialog popped up immediately after I did 'import vtk' in the command
>> line, and there was no error in the command line.
>>
>> Has anyone had this problem before?
>>
>>
>> Thanks
>>
>> Yifei
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120319/284d9485/attachment.htm>


More information about the vtkusers mailing list