Humm, It was not my intention to package PyQt4 in the Windows installer.<div><br></div><div>Quite frankly, I will mostly likely rerun the package step and make sure that those site-packages are not included. Regardless, nothing in ParaView uses PyQt. I had it built on my system when I was building the VisTrails plugin for the 3.6.2 release.<br>
<br><div class="gmail_quote">On Tue, Oct 12, 2010 at 8:34 PM, <span dir="ltr"><<a href="mailto:m.c.wilkins@massey.ac.nz">m.c.wilkins@massey.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<br>
<br>
I'm sorry if this is answered elsewhere, I have googled around, but<br>
not found anything that actually fixes the problem.<br>
<br>
I have Windows XP SP2, completely fresh install, I just installed it<br>
in my virtualbox. The only things on the box are virtualbox tools,<br>
paraview 3.8.1 which I just downloaded, and process monitor. When I<br>
bring up the Python Shell and type<br>
<br>
import PyQt4.QtGui<br>
<br>
I get<br>
<br>
Traceback (most recent call last):<br>
File "<console>", line 1, in <module><br>
ImportError: DLL load failed: This application has failed to start<br>
because the application configuration is incorrect. Reinstalling the<br>
application may fix this problem.<br>
<br>
There is no other python or VTK on the box to confuse things.<br>
<br>
In an attempt to fix the problem I added some things to my PATH and PYTHONPATH.<br>
You can see what I added by these commands I type in the Python Shell:<br>
<br>
>>> import os<br>
>>> print os.environ['PATH']<br>
C:\Program Files\ParaView 3.8.1\bin;C:\Program Files\ParaView 3.8.1\lib\paraview-3.8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem<br>
>>> print os.environ['PYTHONPATH']<br>
C:\Program Files\ParaView 3.8.1\bin;C:\Program Files\ParaView 3.8.1\lib\paraview-3.8<br>
>>><br>
<br>
In an attempt to debug the problem I installed process monitor and this is its<br>
output with a filter that only allows output for the paraview.exe programme<br>
(there are some failures, but a lot of successes on opening PyQt4\QtGui.pyd)<br>
<br>
1:32:57.2026294 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4 SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened<br>
1:32:57.2030339 PM paraview.exe 1696 QueryDirectory C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui NO SUCH FILE Filter: QtGui<br>
1:32:57.2034454 PM paraview.exe 1696 CloseFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4 SUCCESS<br>
1:32:57.2041438 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened<br>
1:32:57.2046956 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4 SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened<br>
1:32:57.2050833 PM paraview.exe 1696 QueryDirectory C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS Filter: QtGui.pyd, 1: QtGui.pyd<br>
1:32:57.2055144 PM paraview.exe 1696 CloseFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4 SUCCESS<br>
1:32:57.2061960 PM paraview.exe 1696 QueryOpen C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS CreationTime: 4/15/2010 5:10:56 AM, LastAccessTime: 10/13/2010 1:19:52 PM, LastWriteTime: 4/15/2010 5:10:56 AM, ChangeTime: 10/13/2010 12:29:53 PM, AllocationSize: 5,570,560, EndOfFile: 5,566,976, FileAttributes: A<br>
1:32:57.2068316 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS Desired Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened<br>
1:32:57.2073440 PM paraview.exe 1696 CreateFileMapping C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE<br>
1:32:57.2073627 PM paraview.exe 1696 QueryStandardInformationFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS AllocationSize: 5,570,560, EndOfFile: 5,566,976, NumberOfLinks: 1, DeletePending: False, Directory: False<br>
1:32:57.2073789 PM paraview.exe 1696 CreateFileMapping C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS SyncType: SyncTypeOther<br>
1:32:57.2078932 PM paraview.exe 1696 CloseFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS<br>
1:32:57.2098728 PM paraview.exe 1696 QueryOpen C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS CreationTime: 4/15/2010 5:10:56 AM, LastAccessTime: 10/13/2010 1:32:57 PM, LastWriteTime: 4/15/2010 5:10:56 AM, ChangeTime: 10/13/2010 12:29:53 PM, AllocationSize: 5,570,560, EndOfFile: 5,566,976, FileAttributes: A<br>
1:32:57.2104930 PM paraview.exe 1696 QueryOpen C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS CreationTime: 4/15/2010 5:10:56 AM, LastAccessTime: 10/13/2010 1:32:57 PM, LastWriteTime: 4/15/2010 5:10:56 AM, ChangeTime: 10/13/2010 12:29:53 PM, AllocationSize: 5,570,560, EndOfFile: 5,566,976, FileAttributes: A<br>
1:32:57.2111361 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS Desired Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened<br>
1:32:57.2116599 PM paraview.exe 1696 CreateFileMapping C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE<br>
1:32:57.2117196 PM paraview.exe 1696 CreateFileMapping C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS SyncType: SyncTypeOther<br>
1:32:57.2122544 PM paraview.exe 1696 CloseFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS<br>
1:32:57.2128662 PM paraview.exe 1696 Load Image C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS Image Base: 0x9450000, Image Size: 0x553000<br>
1:32:57.2609985 PM paraview.exe 1696 RegOpenKey HKCU SUCCESS Desired Access: Maximum Allowed<br>
1:32:57.2610941 PM paraview.exe 1696 RegOpenKey HKCU\Software\Policies\Microsoft\Control Panel\Desktop NAME NOT FOUND Desired Access: Read<br>
1:32:57.2611561 PM paraview.exe 1696 RegOpenKey HKCU\Control Panel\Desktop SUCCESS Desired Access: Read<br>
1:32:57.2612385 PM paraview.exe 1696 RegQueryValue HKCU\Control Panel\Desktop\MultiUILanguageId NAME NOT FOUND Length: 256<br>
1:32:57.2612849 PM paraview.exe 1696 RegCloseKey HKCU\Control Panel\Desktop SUCCESS<br>
1:32:57.2613444 PM paraview.exe 1696 RegCloseKey HKCU SUCCESS<br>
1:32:57.2619730 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd.2.Manifest NAME NOT FOUND Desired Access: Generic Read/Execute, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a<br>
1:32:57.2625147 PM paraview.exe 1696 CreateFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd.2.Config NAME NOT FOUND Desired Access: Generic Read/Execute, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a<br>
1:32:57.2927489 PM paraview.exe 1696 CloseFile C:\Program Files\ParaView 3.8.1\bin\Lib\site-packages\PyQt4\QtGui.pyd SUCCESS<br>
1:32:57.2978893 PM paraview.exe 1696 QueryOpen C:\Program Files\ParaView 3.8.1\bin\Lib\code.py SUCCESS CreationTime: 9/9/2008 4:58:32 AM, LastAccessTime: 10/13/2010 1:19:47 PM, LastWriteTime: 9/9/2008 4:58:32 AM, ChangeTime: 10/13/2010 12:29:49 PM, AllocationSize: 12,288, EndOfFile: 10,528, FileAttributes: A<br>
<br>
I can't believe this can be difficult to fix, surely other people have ran into<br>
this?<br>
<br>
Anyway, any help much appreciated!<br>
<br>
Matt Wilkins<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>