|
[Sponsors] |
[PyFoam] unknown or ambiguous terminal type x11 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 19, 2014, 18:56 |
unknown or ambiguous terminal type x11
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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 Regards Tobi
__________________
Keep foaming, Tobias Holzmann |
|
May 20, 2014, 02:35 |
|
#2 |
Senior Member
|
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. |
|
May 20, 2014, 09:47 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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 |
|
July 27, 2014, 17:29 |
Solved in Debian
|
#4 |
Member
Rudolf Hellmuth
Join Date: Sep 2012
Location: Dundee, Scotland
Posts: 40
Rep Power: 14 |
I solved this problem in Debian 7 (Wheezy) by installing gnuplot-x11 package.
Code:
#apt-get install gnuplot-x11 |
|
August 19, 2014, 12:38 |
|
#5 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
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. |
|
December 2, 2014, 09:13 |
|
#6 |
Member
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 12 |
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 |
|
August 13, 2020, 12:09 |
set terminal on macOS Catalina
|
#7 |
Member
Join Date: Oct 2016
Posts: 31
Rep Power: 10 |
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? |
|
|
|
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 |