[Gmsh] Bug report (Print in batch mode)

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Aug 28 10:45:32 CEST 2015


> On 27 Aug 2015, at 09:28, Nitskiy A. <nitskiy.a at gmail.com> wrote:
> 
> Hello,
>  
> First of all thank you for your excellent mesh tool!
>  
> There is a problem with printing jpg in batch mode  (gmsh with default settings, except OSMesa is turned ON).
>  
> Here is the info on my build:
>  
> Version          : 2.10.1
> License          : GNU General Public License
> Build OS         : Linux
> Build date       : 20150827
> Build host       : gallifrey
> Build options    : 64Bit Ann Bamg Bfgs Blas(Generic) Blossom Chaco 
> DIntegration Dlopen Fltk Gmm Jpeg Kbipack Lapack(Generic) LinuxJoystick MPI 
> MathEx Med Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB 
> ONELABMetamodel OSMesa OpenCascade OpenGL OptHom Parser Plugins Png Post 
> RTree Salome Solver Tetgen(1.5) Voro3D Zlib
> FLTK version     : 1.3.0
> OCC version: 6.5.2
> Packaged by      : u2
> Web site         : http://www.geuz.org/gmsh/
> Mailing list     : gmsh at geuz.org
>  
> I used Debian wheezy.
>  
> When I type the command:
> $gmsh print.geo
> the gmsh's window opens and closes -> the "view.jpg" file is created.
> When I try to do the same in non-interactive mode:
> $gmsh print.geo -
> "view.jpg" is not created.

Hi Antony - Indeed, we haven't tested this in a long time. Could you try removing 

      if(!FlGui::available()) break;

on line 391 of Common/CreateFile.cpp and let us know what happens?

Christophe

>  
> Antony Nitsky
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info