I've installed v2.3.1 on my Ubuntu 12.04 machine (apparently successfully). When building one of my benchmark models from scratch in the GUI I find I cannot initiate the volume conditions in the GUI when I press "Initialization". The text at the bottom of this message is written to shell. This happens if I install using the install script or manually. Does anyone have any pointers as to what this may be?
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Base/MainView.py", line 869, in displayNewPage
self.Browser)
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Base/BrowserView.py", line 570, in display
return displaySelectedPage(name, root, case, stbar, study, tree)
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Base/Toolbox.py", line 138, in displaySelectedPage
import Pages.InitializationView as Page
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Pages/InitializationView.py", line 72, in <module>
class InitializationView(QWidget, Ui_InitializationForm):
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Pages/InitializationView.py", line 669, in InitializationView
@pyqtSignature("constQStrinq&")
TypeError: C++ type 'constQStrinq&' is not supported as a pyqtSlot signature argument type
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Pages/InitializationView.py", line 669, in InitializationView
@pyqtSignature("const Qstring&")
TypeError: C++ type 'Qstring' is not supported as a pyqtSlot signature argument type
I deleted all previously installed files to ensure a new installation, made the required edits to InitializationView.py and recompiled, but unfortunately the problem still occurs.
File "/opt/saturne/v2.3/code_saturne-2.3.1/lib/python2.7/site-packages/code_saturne/Pages/InitializationView.py", line 669, in InitializationView
@pyqtSignature("const QStrinq&")
TypeError: C++ type 'QStrinq' is not supported as a pyqtSlot signature argument type
It seems a bit odd that other users haven't run into this problem, or could it be that I'm the only person in the known universe using the GUI
You still seem to have missed the "ugliest" part of the typo: replace the q with a g at the end of QString.
I actually had trouble reproducing your problem (and did not in fact reproduce it), simply because the typos affect only a few dialogs, which do not seem to appear in most option combinations, execpt maybe in the compressible model, which is very little used (and reportedly needs more work before it is really usable, though it may be usable in 3.0).
So quite a few people are using the GUI, but they may be simulating different types of flows. What type of flow features are you using ?
You were of course correct, I completely missed the q > g problem. The GUI seems to be working OK now, although I now get a runtime error which I need to look in to.
The model is a 2D wing in unsteady flow, pretty simple really. The attached .xml file had initialisation problems before applying your fixes. Hope this helps.
Thanks for the XML file. It seems you had the issue with the GUI while not using options leading to the display of the entries causing the issue, while I could not reproduce the issue on a Debian Squeeze system, which explains why I assumed you had more complex physics.
In any case, the bug will be fixed for upcoming bug-fix release 2.3.2 (within 1 to 3 weeks) in addition to version 3.0.