×

Notice

The forum is in read only mode.

Need help running wizards in Beta 1

  • Pranav
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 4 months ago #7323 by Pranav
Need help running wizards in Beta 1 was created by Pranav
Greetings All,

I'm unable to setup a wind-tunnel test via wizards. Hitting Go doesn't generate a file as in tutorials of CAELinux 2011.
Must I configure something after installation?

Thanks,
Best Regards,
Pranav
More
11 years 4 months ago - 11 years 4 months ago #7325 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re: Need help running wizards in Beta 1
Hi,

yes, indeed, there is a small bug in the wizard..
you should modify the file /opt/caelinux/SaturneStudy.py as follows:

line 14: change
term="gnome-terminal"
into
term="xterm"

line 126: change
fid.write(scriptBase%(cs_profile_path,bdir,prjname,casename,meshname,meshdir,datadir))
into
fid.write(scriptBase%(cs_path,bdir,prjname,casename,meshname,meshdir,datadir))

I will patch the relevant package as soon as possible and then it should be updated automatically.

Cheers and Merry Christmas

Joel

PS: here is the patch
--- /home/caelinux/Documents/CAELinux2013/devel/caelinux-addons/src/opt/caelinux/SaturneStudy.py
+++ /media/DATA/tmp/SaturneStudy.py
@@ -11,7 +11,7 @@
 
 # global settings: adjust the paths accordingly to your Code-Saturne installation
 cs_path="/opt/saturne-3.0/bin"
-term="gnome-terminal"
+term="xterm"
 
 scriptBase="""echo $SHELL
 export PATH=$PATH:%s
@@ -123,7 +123,7 @@
             #run script to create Code-Saturne case and start GUI
 	    script=os.path.join(bdir,"NewCFDStudy.sh")
 	    fid=open(script,"w")
-	    fid.write(scriptBase%(cs_profile_path,bdir,prjname,casename,meshname,meshdir,datadir))
+	    fid.write(scriptBase%(cs_path,bdir,prjname,casename,meshname,meshdir,datadir))
 	    fid.close()
 	    os.system("chmod a+x %s; %s -e %s&"%(script,term,script))
 	    showinfo(title="Success",message=("The new CFD study is being created. The Code-Saturne GUI will be launched in a few seconds..."))

Joël Cugnoni - a.k.a admin
www.caelinux.com
Last edit: 11 years 4 months ago by Joël Cugnoni.
The following user(s) said Thank You: Pranav
  • Pranav
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 4 months ago #7329 by Pranav
Replied by Pranav on topic Re: Need help running wizards in Beta 1
Greetings Joel,

Thanks! Made the corrections. Will test and update!
Merry Christmas and a wishing you a Happy New Year in Advance.

Best Regards,
Pranav
Moderators: catux
Time to create page: 0.115 seconds
Powered by Kunena Forum