Expression check failed unexpectedly

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
st268
Posts: 64
Joined: Fri May 31, 2013 10:45 am

Expression check failed unexpectedly

Post by st268 »

Hello,

I am working with cs v 4.1 and have run into an error when using the mathematical expression editor. It doesn't matter what xml file I open, or if I start from a brand new one, it won't let me change the values I have in for my velocity initialisation.

I get a warning saying "Expression check failed unexpectedly" and when I click ok, on my terminal I see:

"Python [21555:1537717] modalSession has been exited prematurely - check for reentrant call to endModal Session"

Have you come across this before? Do you think it is something to do with the installation missing something?

Thanks
Luciano Garelli
Posts: 280
Joined: Fri Dec 04, 2015 1:42 pm

Re: Expression check failed unexpectedly

Post by Luciano Garelli »

Hello,

I think that this error come from Qt when managed the dialog box. Is this error only produced with the velocity initialization box?

Could you give more information about what OS are you using? Did you try to compile another version of CS (e.g. 4.0).

Regards,

Luciano
st268
Posts: 64
Joined: Fri May 31, 2013 10:45 am

Re: Expression check failed unexpectedly

Post by st268 »

Thanks for your reply!

The error comes whenever I use the mathematical expression editor, not just the initialisation box.

I have version 4.0 on a different computer (also a mac, el capitan)) which works fine. I have not tried 4.0 on this computer.

I am using a Mac Pro (mid 2010) El Capitan, 2x2.93 GHz 6-core Intel Xeon, 24GB 1333MHz DDR3 ECC.

The version of qt I have installed is: qt: stable 4.8.7 (bottled), HEAD

Thanks again for any help you can give!
Luciano Garelli
Posts: 280
Joined: Fri Dec 04, 2015 1:42 pm

Re: Expression check failed unexpectedly

Post by Luciano Garelli »

Hello,

I'm not a Mac user...but I have searched about this problem and several Mac users report this PyQt/Qt problem using dialog box in different softwares. My first recommendation is try to install CS 4.0 and check if works.

May be the developers can give you same additional information about this problem.

Regards,

Luciano
st268
Posts: 64
Joined: Fri May 31, 2013 10:45 am

Re: Expression check failed unexpectedly

Post by st268 »

Thanks again!

I will try installing v4.0 out of interest though, could you provide a link to where other users have had PyQt/Qt problems using dialog box in different softwares? I can't find anything but that will no doubt be down to my very shallow understanding of the problem!

Thanks
Luciano Garelli
Posts: 280
Joined: Fri Dec 04, 2015 1:42 pm

Re: Expression check failed unexpectedly

Post by Luciano Garelli »

Hello,

I found the same error message in these following post, I do not know if the information that is there it is useful..

http://www.na-mic.org/Bug/view.php?id=3461
https://groups.google.com/forum/#!topic ... 636sUwZudY
https://github.com/aroberge/easygui_qt/issues/3
http://forums.autodesk.com/t5/animation ... -p/5134866

Regards,

Luciano
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Expression check failed unexpectedly

Post by Yvan Fournier »

Hello,

This might also be a bug in our code... When porting from Qt4 to Qt5 (currently available only on trunk, so will be in 4.3 sometimes in July), we discovered some minor bugs in the Qt4 version, which lead to visible bugs on some architectures/Qt versions and not on some others).

I'll need to check whether those fixes can be backported easily to 4.0.x...

Regards,

Yvan
Post Reply