|
[Sponsors] |
PV3FoamReader assumes the presence of a Qtapplication |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 5, 2009, 16:07 |
Hi!
I was trying to load-da
|
#1 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi!
I was trying to load-data using the PV3FoamReader from a script using pvpython (which comes with Paraview and is basically the Paraview Python-interface without the GUI). During loading the data the filter consistently crashed. I tracked this back to two locations where a pqApplicationCore-object was referenced (as I understand it the actual Qt-application) to get to the ServerManager. As in pvpython no GUI is present this was a NULL-pointer and subsequent calls to methods of that "object" crashed (fair enough) This patch checks for the NULLness of the pointer and exits the method in that case (the only side effect is that the patch-names won't appear in the picture IF that was selected. To fix that one would have to find an alternate way to get to the PV-Servermanager) PV3FoamReader.patch Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
January 6, 2009, 11:03 |
Thanks Bernhard - we've applie
|
#2 |
New Member
Andrew Heather
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Thanks Bernhard - we've applied the changes and committed the update to the 1.5.x git repository.
Do you know of/would you like to look into an alternative route to the PV server manager object? |
|
January 6, 2009, 12:57 |
Hi Andrew!
I currently don'
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Andrew!
I currently don't know of another route to the ServerManager, but there should be one. I'll have a look and will get back to you if I find anything. Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help PV3FoamReader compile error | zzli | OpenFOAM Bugs | 7 | June 30, 2009 16:57 |
Compiling paraview 33 and pv3foamreader module | mcjicpm2 | OpenFOAM Installation | 1 | March 19, 2009 11:59 |
Installation problems about Paraview and PV3foamreader | clark_liang | OpenFOAM Installation | 1 | January 12, 2009 07:05 |
wall b.c. in presence of gravity | doug | Main CFD Forum | 0 | December 22, 2005 12:22 |