|
[Sponsors] |
After install OpenFOAM I cannot open paraFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 21, 2011, 12:29 |
After install OpenFOAM I cannot open paraFoam
|
#1 |
New Member
Quang
Join Date: Jul 2010
Posts: 11
Rep Power: 16 |
I am new with OpenFOAM. I install and take tutorials but when I use paraFoam I take an error
[31mQVariantMap DBusMenuExporterDBus::GetProperties(int, const QStringList&) [0m: Condition failed: action [31mQVariantMap DBusMenuExporterDBus::GetProperties(int, const QStringList&) [0m: Condition failed: action [31mQVariantMap DBusMenuExporterDBus::GetProperties(int, const QStringList&) [0m: Condition failed: action [31mQVariantMap DBusMenuExporterDBus::GetProperties(int, const QStringList&) [0m: Condition failed: action [31mQVariantMap DBusMenuExporterDBus::GetProperties(int, const QStringList&) [0m: Condition failed: action please help me |
|
May 22, 2011, 03:55 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Quang,
You're giving us very little information to estimate what the real problem is! In order for us to help you, please answer the following questions:
Bruno
__________________
|
|
May 22, 2011, 10:44 |
|
#3 |
New Member
Quang
Join Date: Jul 2010
Posts: 11
Rep Power: 16 |
ok
1/I use Ubuntu 10.10 2/I install version 1.7.1 3/I cannot follow line 1 but I can run openFOAM line 1: In a terminal window, add OpenFOAM to the list of repository locations for apt to search, by copying and pasting the following in a terminal prompt (Applications -> Accessories -> Terminal). ** Ubuntu 11.04 users **: In the following, replace the first line with VERS=maverick VERS=`lsb_release -cs` sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main >> /etc/apt/sources.list"
should I remove this OpenFOAM and reinstall? Another information, I install paraview but I take the same error Last edited by QuangDang; May 22, 2011 at 11:32. |
|
May 22, 2011, 13:57 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Quang,
OK, if I've understood you correctly, running "icoFoam -help" has worked successfully. Try removing the file "~/.config/ParaView": Code:
rm ~/.config/ParaView If it still crashes, I'll give you a few more steps just in case:
I've just searched in Google, I remembered that this is an old issue: http://www.cfd-online.com/Forums/ope...4-10-10-a.html If it still doesn't work, please detail the steps you have taken since your last post! Best regards, Bruno
__________________
|
|
May 23, 2011, 10:28 |
|
#5 | |
New Member
Quang
Join Date: Jul 2010
Posts: 11
Rep Power: 16 |
Quote:
Thank you for your help Today, I check my OpenFOAM I realize My OpenFOAM run exactly and ParaFoam view well. But when paraFOAM start, it makes error [31mQVariantMap DBusMenuExporterDBus::GetProperties(int, const QStringList&) [0m: Condition failed: action I use your command Code: rm ~/.config/ParaView it makes error rm: cannot remove `/home/quang/.config/ParaView': Is a directory I use these commands
Do not effect but I belive Code: rm ~/.config/ParaView this command can help me Can you explain How I can do this command? |
||
May 23, 2011, 10:40 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Quang,
Sorry about that, I forgot that it was a directory. The quickest way will be to use: Code:
rm -rf ~/.config/ParaView Removing that folder will remove any configurations from previous ParaView versions. You can then either try Ubuntu's ParaView version or OpenCFD's "paraviewopenfoam381". Best regards, Bruno
__________________
|
|
May 24, 2011, 03:40 |
|
#7 | |
New Member
Quang
Join Date: Jul 2010
Posts: 11
Rep Power: 16 |
Quote:
Thanks Burno QuangDang |
||
January 31, 2013, 06:53 |
Same problem
|
#8 |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
Hello All,
I am having exactly the same problem, I am on ubuntu 11.10, and i have installed OpenFoam210 and paraviewOpenfoam3101, and Salomé. So when testing the installation, everything worked just fine, but once i run salome, and then try to run paraview, i get the error mentioned in this thread: "[31mQVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const?[0m: Condition failed: action" Using Bruno's first suggestion: rm -rf ~/.config/ParaView Solved the problem until i rerun salome, and then same problem again. So, i used Bruno's 2nd suggestion: If it still crashes, I'll give you a few more steps just in case:
So is there a way, that make openfoam as the default reader? And many thanks to bruno, who saved me before and still! Thank you all, Nadine |
|
January 31, 2013, 09:22 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Nadine:
I'll quote from one of my blog posts: http://www.cfd-online.com/Forums/blo...-openfoam.html Quote:
Bruno
__________________
|
||
January 31, 2013, 10:02 |
|
#10 |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
Hello Bruno,
Thank you for replying that fast. I tried your suggestion but it won't work! ParaFoam always asks to choose a reader from the list! So I also changed the extension= OpenFOAM to extension=foam. After doing this, parafoam worked fine, without asking to choose a reader, but once i run Salomé, than I am back to my first problem and i get the error message i mentioned before ([31mQVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const?[0m: Condition failed: action). So Finally, I undid the changes and now, salomé and paraFoam work, and I back to choose the reader every time. It's not really an error, but just annoying! Should be a way to overcome this but I am not the expert for that! Sincerly, Nadine |
|
February 7, 2013, 11:04 |
|
#11 |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
Hello Bruno,
The last time, I used paraFoam and salome evrything worked just fine. That was last week, after your reply. Today I runned paraFoam and I got the error message below: FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake " So I tried to verify if paraview works, and it does. So I tried to do what they are asking: "nadine@dardevil:~$ cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers nadine@dardevil:/opt/openfoam201/applications/utilities/postProcessing/graphics/ PV3Readers$ ./Allwclean + wclean libso vtkPV3Readers wclean vtkPV3Readers + PV3blockMeshReader/Allwclean + rm -f /opt/openfoam201/platforms/linux64GccDPOpt/lib/libPV3blockMeshReader* + rm -rf PV3blockMeshReader/Make + wclean libso vtkPV3blockMesh wclean vtkPV3blockMesh + PV3FoamReader/Allwclean + rm -f /opt/openfoam201/platforms/linux64GccDPOpt/lib/libPV3FoamReader* + rm -rf PV3FoamReader/Make + wclean libso vtkPV3Foam wclean vtkPV3Foam nadine@dardevil:/opt/openfoam201/applications/utilities/postProcessing/graphics/ PV3Readers$ ./Allwmake + [ -d /opt/paraviewopenfoam3101 -a -r /opt/paraviewopenfoam3101 ] nadine@dardevil:/opt/openfoam201/applications/utilities/postProcessing/graphics/ PV3Readers$ " And still the same error message! I tried to use one of your threads: http://www.cfd-online.com/Forums/blo...-openfoam.html But it made worst, because now I have the same error message when running paraFoam, and a new message error when running paraview "symbol lookup error "! So I undid everything and I reused the steps from this thread but paraFoam still doesn't work. Please Help, Best regards, Nadine |
|
February 7, 2013, 18:25 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Nadine,
I'm sorry, but I'm a bit lost. Could you describe in some detail the current installation you have? It would make it easier to diagnose the problem, because right now I can't figure out the details from your previous posts . Best regards, Bruno
__________________
|
|
February 7, 2013, 19:40 |
|
#13 |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
hello Bruno,
Thank you again for replying. Okey, I ill try to be clearer in describing my problem. I recently installed ubuntu 11.10, and both Openfoam and Salomé where already installed on the OS. (I got the whole package from a bootable usb stick). So salome and OpenFoam210 and paraviewOpenfoam3101 where installed in the opt. whie running salome, I had an error in running paraFoam. Therefore, I used the solution you proposed in this thread: " rm -rf ~/.config/ParaView Remove the ParaView version provided by OpenCFD: Code: sudo apt-get remove paraviewopenfoam381 Install the version that comes with Ubuntu 10.10: Code: sudo apt-get install paraview Run this on the command line and tell me if it gis you the same error or not: Code: paraview After that both Salome and parafoam worked fine, but parafom aks everytime to choose a reader from a list. So here, i asked you if there is a something i can do, so Openfoam will be as a default reader when i type "paraFoam". And your suggesting was to edit paraFoam by typing: "sed -i -e 's=\.OpenFOAM=\.foam=' $WM_PROJECT_DIR/bin/paraFoam" Doing that didn't change the fact that i have to choose the reader. But salome and parafoam worked, so I had not a real problem and everything was fine, till today. when suddenly, without changing a thing, i just restart my pc, and when i typed paraFoam, i got the error message i mentionned before: "Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake" So as I said, I tried to do what they are asking, but didn't worked. So i removed paraview, and tried to install Parafoam from the begining using your thread: " http://www.cfd-online.com/Forums/blo...-openfoam.html " And i followed all the steps, but after neither paraFoam or praview worked. typing paraFoam gave the same error message, and typing paraview gives another error message telling me, that there is a symbol lookup error! So I removed again paraview that I built using your thread. And, I re-installed using this thread. So now, I have paraview installed correctly, and works fine. BUT paraFoam gives always the same error message! I am really not a good user of linux OS, I just use it to run my simulations. SO I noticed that ./Allwmake gives :" + [ -d /opt/paraviewopenfoam3101 -a -r /opt/paraviewopenfoam3101 ]" as a result. But there is no paraviewopenfoam3101 in the opt file, because we remonved this one and installed paraview. So maybe this what is cusing the problem. But even if it is, I have no idea how to fixed it without having to repeat everything from zero!!! I hope that my reply was not too long! But I am just trying to explain everything so we don't miss something that can be the cause! Waiting for the help, Best regards, Nadine |
|
February 8, 2013, 04:26 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Nadine,
Many thanks for the detailed explanation. Now I think I understand the problem. OK, let's try these steps:
This should fix the problem. I had forgotten to tell you before that if you had installed OpenFOAM in "/opt", you would need "root" permissions for the previous commands to work Best regards, Bruno
__________________
|
|
February 8, 2013, 05:14 |
|
#15 |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
WOW Bruno,
I am the one who should thank you! I am so greateful! It worked, now paraFoam works just fine! Have a great day, like mine thanks to your help. BEST REGARDS, Nadine |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
install openfoam 1.6 on opensuse 11.0 | andresbh | OpenFOAM Installation | 8 | September 30, 2009 01:48 |
Need help to open an OpenFoam case with Paraviw | aaurouss | OpenFOAM | 2 | July 6, 2009 14:18 |
Howto install OpenFOAM on mandriva2009qt44 with Qt435 in home directory | gzy_1228 | OpenFOAM Installation | 0 | November 15, 2008 15:31 |
FoamX and paraFoam error after install OpenFoam | qtian | OpenFOAM Installation | 0 | February 6, 2008 12:24 |