CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   ParaView Error messages when accessing View menu (http://www.cfd-online.com/Forums/openfoam-bugs/103347-paraview-error-messages-when-accessing-view-menu.html)

Wormer June 18, 2012 06:08

ParaView Error messages when accessing View menu
 
Dear Forum,

I'm using Paraview 3.12.0 (64 bit), and every time I go to the program's view menu, the program pops up a window full of error messages of a following syntax:

p, li { white-space: pre-wrap; } [31mvoid DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Main Controls" under id 66


Now, the only inconvenience is the fact that this window pop interrupts the work flow. I haven't noticed (so far) any effect on the other features of the program, but it's still annoying.



Is there any way around it?


Thanks in advance,


Alexey B.

wyldckat June 18, 2012 15:48

Hi Alexey,

It would help to know which installation you've made of OpenFOAM and on which Operating System, along with respective versions, so it's easier to reproduce the error. :)

Best regards,
Bruno

Wormer June 19, 2012 07:51

Dear Bruno: you're right! :)

It's the 2.1.0 version of OpenFOAM along with 12.04 version of Ubuntu.
The error shows up everytime I go to the view menu of ParaView.

Thanks in advance,

Alexey B.

wyldckat June 19, 2012 16:55

Hi Alexey,

After I did some googling about this, I found this bug report: https://bugs.launchpad.net/ubuntu/+s...ew/+bug/995949 - looks like you're not alone.

Another thing I found was that a couple of people had this issue on Ubuntu 11.10... but didn't find a direct fix, except for installing another version of ParaView, i.e. use another pre-built binary.

There are a few possibilities for this kind of error... but now that I think of it, hold on: OpenFOAM 2.1.0?
Are you using Ubuntu deb packages or did you build from source? Because I think that only OpenFOAM 2.1.1 is supported on Ubuntu 12.04, when using the deb packages: http://www.openfoam.org/download/ubuntu.php

As for ParaView, which exact instructions did you follow to install it?

Best regards,
Bruno

haze_1986 December 1, 2012 23:55

Quote:

Originally Posted by wyldckat (Post 367324)
Hi Alexey,

After I did some googling about this, I found this bug report: https://bugs.launchpad.net/ubuntu/+s...ew/+bug/995949 - looks like you're not alone.

Another thing I found was that a couple of people had this issue on Ubuntu 11.10... but didn't find a direct fix, except for installing another version of ParaView, i.e. use another pre-built binary.

There are a few possibilities for this kind of error... but now that I think of it, hold on: OpenFOAM 2.1.0?
Are you using Ubuntu deb packages or did you build from source? Because I think that only OpenFOAM 2.1.1 is supported on Ubuntu 12.04, when using the deb packages: http://www.openfoam.org/download/ubuntu.php

As for ParaView, which exact instructions did you follow to install it?

Best regards,
Bruno

Hi Bruno,

I would just like to add that I have the exact same problem as well when using ubuntu 12.04 LTS on vbox. using of 2.1.1 and paraview 3.1.2, using http://www.openfoam.org/download/ubuntu.php

Is there a way to fix this?

haze_1986 December 1, 2012 23:56

Output Messages


[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Main Controls" under id 62
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Selection Controls" under id 63
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "VCR Controls" under id 64
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Current Time Controls" under id 65
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Active Variable Controls" under id 66
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Representation Toolbar" under id 67
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Camera Controls" under id 68
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Center Axes Controls" under id 69
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Macros Toolbars" under id 70

wyldckat December 2, 2012 07:48

Greetings haze_1986,

Do you have 3D acceleration turned on in the virtual machine's settings? If you do, try turning them off. You'll probably need to turn off the virtual machine, configure the settings and turn it back on.

Best regards,
Bruno

haze_1986 December 2, 2012 07:52

Quote:

Originally Posted by wyldckat (Post 395267)
Greetings haze_1986,

Do you have 3D acceleration turned on in the virtual machine's settings? If you do, try turning them off. You'll probably need to turn off the virtual machine, configure the settings and turn it back on.

Best regards,
Bruno

Hi, just tried it. still the same error.

wyldckat December 2, 2012 11:20

Which architecture of Ubuntu did you install? 32bit or 64bit?
You can check by running:
Code:

uname -m
edit: Furthermore, make sure to update all of Ubuntu's packages:
Code:

sudo apt-get update
sudo apt-get upgrade


haze_1986 December 2, 2012 11:26

Quote:

Originally Posted by wyldckat (Post 395289)
Which architecture of Ubuntu did you install? 32bit or 64bit?
You can check by running:
Code:

uname -m
edit: Furthermore, make sure to update all of Ubuntu's packages:
Code:

sudo apt-get update
sudo apt-get upgrade


64 bit

yes I ve updated them frequently. This problem had been there for almost half a year already, just that not serious enough to prevent me from using it. Now that I have some time, would really wanna try to fix that.

wyldckat December 2, 2012 12:01

I've got Ubuntu 12.04 64bit installed in a virtual machine as well, but with VMPlayer. I've installed OpenFOAM 2.1.1 and ParaView 3.12.0 with the Deb packages provided at openfoam.org. It's fully up-to-date. I've also installed Ubuntu's own ParaView...
But I'm unable to reproduce the same problem. You can try checking with:
Code:

qmake --version
To see if it output's this:
Code:

QMake version 2.01a
Using Qt version 4.8.1 in /usr/lib/x86_64-linux-gnu

Well, that is only the tip of the iceberg. My guess is that you might have installed something else as well that has thrown the system off and giving you these errors. I know these aren't new, because I've seen them around the net several times before. But they seem to usually be fixed after updating the system.

There are a few possibilities I can think of:
  1. If you installed some other CAE software, possibly older, it might be contaminating the working shell environment, which leads to the errors you're getting.
  2. You might have disabled one or more repositories, leading to necessary packages not be updated. Or the other way around, enabled repositories that installed unstable or older packages.
  3. It could also be VirtualBox's fault, because it's known to have the occasional crazy bug that is only fixable with a particular version...
  4. If you upgraded Ubuntu 12.04 from 11.10, something might have gotten broken along the way.
Best regards,
Bruno

haze_1986 December 2, 2012 21:52

Quote:

Originally Posted by wyldckat (Post 395294)
I've got Ubuntu 12.04 64bit installed in a virtual machine as well, but with VMPlayer. I've installed OpenFOAM 2.1.1 and ParaView 3.12.0 with the Deb packages provided at openfoam.org. It's fully up-to-date. I've also installed Ubuntu's own ParaView...
But I'm unable to reproduce the same problem. You can try checking with:
Code:

qmake --version
To see if it output's this:
Code:

QMake version 2.01a
Using Qt version 4.8.1 in /usr/lib/x86_64-linux-gnu

Well, that is only the tip of the iceberg. My guess is that you might have installed something else as well that has thrown the system off and giving you these errors. I know these aren't new, because I've seen them around the net several times before. But they seem to usually be fixed after updating the system.

There are a few possibilities I can think of:
  1. If you installed some other CAE software, possibly older, it might be contaminating the working shell environment, which leads to the errors you're getting.
  2. You might have disabled one or more repositories, leading to necessary packages not be updated. Or the other way around, enabled repositories that installed unstable or older packages.
  3. It could also be VirtualBox's fault, because it's known to have the occasional crazy bug that is only fixable with a particular version...
  4. If you upgraded Ubuntu 12.04 from 11.10, something might have gotten broken along the way.
Best regards,
Bruno

Hi Bruno,

QMake version 2.01a
Using Qt version 4.8.1 in /usr/lib/x86_64-linux-gnu

I tried a clean install in another pc and I am able to replicate the problem, in fact, up till today I have tried in 2 of my home PCs and 2 of my company PCs and all have that problem. And the last one is a clean install, bare system only with OF and paraview installed.

haze_1986 December 3, 2012 10:56

just gotten the same exact error on vmware player fresh install. I might wanna try using another version of paraview next.

wyldckat December 3, 2012 17:04

Hi haze_1986,

I've written some instructions the other day, that I forgot to reference here: http://www.cfd-online.com/Forums/ope...tml#post395266 post #6
Hopefully those will help you isolate the problem.

Good luck!
Bruno

haze_1986 December 3, 2012 23:10

Not really sure about that since I am installing on 12.04LTS. I have just tried using the script install on a fresh system still the same thing. I wonder and it seems that there is something that I missed out after installing ubuntu in virtualbox that the rest of you not getting the error had. All I did was install ubuntu, do a full update, install guest additions, then openfoam and paraview.

haze_1986 December 4, 2012 08:18

compiling everything solved the problem, no more errors under view :)
http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04

I supposed we can just compile paraview, but I compiled for both since I wanna try it once.

wyldckat December 4, 2012 17:14

Hi haze_1986,

I'm glad you've finally got things working and that you shared the working solution!
I should have proposed that solution earlier, but I also wanted to figure out why the original problem was occurring :rolleyes:.

Best regards,
Bruno

Jaggy_Snake December 5, 2012 09:08

Quick shout to say I've been having the same problem as above on OF 2.1.1 & Paraview 3.12.0 on ubuntu 12.04 (Win7 host on virtualbox 4.2.4)

Trying to (re?)install Paraview using:

Code:

cd $WM_THIRD_PARTY_DIR
./makeParaView
 
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
wmSET $FOAM_SETTINGS
./Allwclean
./Allwmake

But when I try to change directory it says:

Code:

bash: cd: WM_THIRD_PARTY_DIR: No such file or directory

Am I doing something stupid?

wyldckat December 6, 2012 08:55

Quote:

Originally Posted by Jaggy_Snake (Post 395913)
Code:

cd $WM_THIRD_PARTY_DIR
(...)
But when I try to change directory it says:

Code:

bash: cd: WM_THIRD_PARTY_DIR: No such file or directory
Am I doing something stupid?

You simply forgot to use the $ symbol ;)

Jaggy_Snake December 6, 2012 23:04

Perhaps I was missing the $, however I still get the following.

Code:

bash: cd: /opt/ThirdParty-2.1.1: No such file or directory
My folder ThirdParty-2.1.1 is located at ~/OpenFOAM/ThirdParty-2.1.1 and my OpenFOAM-2.1.1 folder is at ~/OpenFOAM/OpenFOAM-2.1.1

It seems my ThirdParty folder is maybe in the wrong location?

Thanks


All times are GMT -4. The time now is 17:22.