CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[PyFoam] unknown or ambiguous terminal type x11

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 3 Post By Tobi
  • 1 Post By alexeym
  • 1 Post By rudolf.hellmuth
  • 3 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2014, 18:56
Default unknown or ambiguous terminal type x11
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hello everybody,

today I rebuild pyFoam and now I get the following error on my new machine:
Code:
shorty@shorty:~/OpenFOAM/shorty-2.3.x/run/2014/p_rgh$ pyFoamPlotWatcher.py log --with-courant

gnuplot> set terminal x11
                      ^
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list


gnuplot> set terminal x11 noraise
                      ^
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  
 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  
 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  
 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  
 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  
 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  
 PyFoam WARNING on line 138 of file /home/shorty/software/pyFoam-0.6.2/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:  

gnuplot> set terminal x11
                      ^
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
Why is there a converting problem? Do anyone know that kind of error message?

Regards Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   May 20, 2014, 02:35
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

I guess it's not a problem with pyFoam but a problem with installed version of gnuplot. Do as it suggests: execute gnuplot, issue "set terminal" command, and look for the terminal name (if it really has x11 terminal type). Maybe you'll need to install gnuplot-X11 package or something similar.
rudolf.hellmuth likes this.
alexeym is offline   Reply With Quote

Old   May 20, 2014, 09:47
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi, I looked into the Gnuplot installation guide and found that what you mentioned.

Have to investigate to gnuplot-x11 package ...

Thanks
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 27, 2014, 17:29
Thumbs up Solved in Debian
  #4
Member
 
Rudolf Hellmuth
Join Date: Sep 2012
Location: Dundee, Scotland
Posts: 40
Rep Power: 14
rudolf.hellmuth is on a distinguished road
I solved this problem in Debian 7 (Wheezy) by installing gnuplot-x11 package.

Code:
#apt-get install gnuplot-x11
It removed gnuplot-nox, which was previously installed.
Gerrit likes this.
rudolf.hellmuth is offline   Reply With Quote

Old   August 19, 2014, 12:38
Default
  #5
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
The same worked also for Ubuntu 14.04.

I had the plain gnuplot package installed and I got the same error messages as Tobi. After installing gnuplot-x11, which removed gnuplot-nox, everything worked.

Quote:
Originally Posted by rudolf.hellmuth View Post
I solved this problem in Debian 7 (Wheezy) by installing gnuplot-x11 package.

Code:
#apt-get install gnuplot-x11
It removed gnuplot-nox, which was previously installed.
GerhardHolzinger is offline   Reply With Quote

Old   December 2, 2014, 09:13
Default
  #6
Member
 
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 12
davibarreira is on a distinguished road
I faced the same problem with PlotRunner and after installing gnuplot-x11 the problem was solved. Now Im trying to do some plotting using regular expressions and the problem reappeared. Im following this tutorial http://openfoamwiki.net/images/7/7a/...icTraining.pdf.

After I run the command pyFoamPlotWatcher.py PyFoamRunner.reactingFoam.logfile --with-all,I get all the graphs, but not the one specified in the regular expression file.

Any ideas?

Sorry, I figured out the problem. It was my regular expression that was not being found in the output file.

Thanks
Code:
Reading regular expression from customRegexp
PyFoam WARNING on line 138 of file /usr/local/lib/python2.7/dist-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float: 
PyFoam WARNING on line 138 of file /usr/local/lib/python2.7/dist-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float: 
PyFoam WARNING on line 138 of file /usr/local/lib/python2.7/dist-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:

Last edited by davibarreira; December 2, 2014 at 10:22. Reason: I figured out the problem
davibarreira is offline   Reply With Quote

Old   August 13, 2020, 12:09
Default set terminal on macOS Catalina
  #7
Member
 
Join Date: Oct 2016
Posts: 31
Rep Power: 10
tonnykz is on a distinguished road
Hello everyone,
I've encountered same problem with pyFoamPlotRunner.py.
But, now set terminal X11 was deprecated for gnuplot.
Is there way around this issue? Maybe setting different set terminal in pyFoam?
tonnykz is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
second order schemes marine OpenFOAM 67 April 11, 2022 19:19
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 03:41
rhoReactingFoam error shenzhou1987 OpenFOAM Running, Solving & CFD 3 January 20, 2015 23:19
singularity? mihaipruna OpenFOAM Running, Solving & CFD 5 April 24, 2012 18:18
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


All times are GMT -4. The time now is 20:16.