|
[Sponsors] | |||||
[PyFoam] unknown or ambiguous terminal type x11 |
8Likes
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
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 |
|
|
|
|
|
|
|
|
#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. |
|
|
|
|
|
|
|
|
#3 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Member
Rudolf Hellmuth
Join Date: Sep 2012
Location: Dundee, Scotland
Posts: 40
Rep Power: 15 ![]() |
I solved this problem in Debian 7 (Wheezy) by installing gnuplot-x11 package.
Code:
#apt-get install gnuplot-x11 |
|
|
|
|
|
|
|
|
#5 |
|
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 359
Rep Power: 29 ![]() ![]() |
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. |
|
|
|
|
|
|
|
|
#6 |
|
Member
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 13 ![]() |
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 |
|
|
|
|
|
|
|
|
#7 |
|
Member
Join Date: Oct 2016
Posts: 31
Rep Power: 11 ![]() |
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? |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |