CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: gschaider
Forum: OpenFOAM Community Contributions September 17, 2013, 14:17
Replies: 30
Views: 4,031
Posted By gschaider
Thanks for the clarification. I'll have to see...

Thanks for the clarification. I'll have to see what to do about he fix. Because leaving out the Connect (or removing the whole try/except-business) will disable old versions of Paraview while it...
Forum: OpenFOAM Community Contributions September 16, 2013, 15:18
Replies: 30
Views: 4,031
Posted By gschaider
So the failure happened exactly at the connect...

So the failure happened exactly at the connect line? Which is a bummer. Because that is exactly what the try should work around: "If it fails on Python-level set to None and continue". But if it...
Forum: OpenFOAM Community Contributions September 12, 2013, 17:44
Replies: 30
Views: 4,031
Posted By gschaider
That would be the ServerManagerWrapper.py (that...

That would be the ServerManagerWrapper.py (that file is used to work around different versions of Paraview. I was hoping that the problem is not there). Anyway. Discovered that in fact I worked on...
Forum: OpenFOAM Community Contributions September 12, 2013, 10:57
Replies: 30
Views: 4,031
Posted By gschaider
Just add something like print "I'm before...

Just add something like
print "I'm before ReadState"
before ReadState (and similar after). The only important thing is that the number of spaces before the print has to be the same as the command...
Forum: OpenFOAM Community Contributions September 11, 2013, 18:08
Replies: 30
Views: 4,031
Posted By gschaider
Pitty. That would have solved the problem ... for...

Pitty. That would have solved the problem ... for meOr the library files in the PYTHONPATH. Only good way to check for Python-support is in the GUI: if no Python-Shell or Programmable-Filter in the...
Forum: OpenFOAM Community Contributions September 10, 2013, 17:45
Replies: 30
Views: 4,031
Posted By gschaider
Good. I'm afraid the issue is outside of my...

Good. I'm afraid the issue is outside of my control but I'm willing to find a workaround. One last thing: try the "official" way to load a state-file in pvpython...
Forum: OpenFOAM Community Contributions September 10, 2013, 08:18
Replies: 30
Views: 4,031
Posted By gschaider
Thanks for the test case and bad news (see below;...

Thanks for the test case and bad news (see below; just building up the suspense):


The Bad News is that it works for me without problems (see attached image as proof). The image was done with a...
Forum: OpenFOAM Community Contributions September 9, 2013, 18:28
Replies: 30
Views: 4,031
Posted By gschaider
... and one for the misspelling of utility in the...

... and one for the misspelling of utility in the warning ;)

I just tried PVSnapshot on my machine and it works. I use a Kitware-Binary PV 3.98.1 (so it is unlikely that your 3.12 broke i) with a...
Forum: OpenFOAM Community Contributions September 9, 2013, 14:14
Replies: 30
Views: 4,031
Posted By gschaider
That's strange because pvpython knew the paraview...

That's strange because pvpython knew the paraview module (thanks for the diagnosis output BTW). Now I have a big suspicion. Check how the file /usr/local/bin/pyFoamPVSnapshot.py looks like. At my...
Forum: OpenFOAM Community Contributions November 20, 2012, 19:32
Replies: 30
Views: 4,031
Posted By gschaider
I don't think it as the same problem as Klios....

I don't think it as the same problem as Klios. There the problem is that paraview is not correctly imported. In your case this works. What you do on the next line ("pvpython ...") can not be done on...
Forum: OpenFOAM Community Contributions October 24, 2012, 09:20
Replies: 30
Views: 4,031
Posted By gschaider
Yes, you have python shell. Just enter "python"...

Yes, you have python shell. Just enter "python" and you will end up in a command line where you can enter stuff like

import paraview

BTW: afterwards try

print paraview

to see which...
Forum: OpenFOAM Community Contributions October 23, 2012, 17:38
Replies: 30
Views: 4,031
Posted By gschaider
I think in that case pvpython shouldn't even...

I think in that case pvpython shouldn't even exist (and should be unable to import paraview). But check that: the Tools-menu in Paraview should have an entry "Python Shell". If not then it seems like...
Forum: OpenFOAM Community Contributions October 19, 2012, 05:47
Replies: 30
Views: 4,031
Posted By gschaider
I don't quite get what didn't work. Please...

I don't quite get what didn't work. Please remember: it is your problem. So what "it" means is clear to you but not necessarily to anyone else (and not many people care about it as much as you do)....
Forum: OpenFOAM Community Contributions October 18, 2012, 17:39
Replies: 30
Views: 4,031
Posted By gschaider
The problem seems to be that python can't find...

The problem seems to be that python can't find the dynamic library libvtkCommonPython.so which implements the python-module libvtkCommonPython. pyFoamPVSnapshot.py uses pvpython as an interpreter....
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -4. The time now is 10:44.