[Debichem-devel] Bug#560412: png does not work as expected anymore with batch mode

Vincent Fourmond fourmond at debian.org
Thu Dec 10 23:18:33 UTC 2009

Package: pymol
Version: 1.2r1-3
Severity: important


  The png command (or the -g command-line argument) does not work
anymore when used in batch mode.

  Let's say I have a file structured this way: 

# (drawing commands)

ray 200,200
png save.png

  If I launch it using 

pymol -d '@ file.pml'

  I get a nice save.png file of a 200x200 ray-traced picture of my
nice protein. However, if I run:

pymol -c -d '@ file.pml'

  save.png is 640x480 and is rebuilt at the time of the png
command. That is really painful, since it stops me from using all my
pymol scripts (I can't afford to run them all by hand).

  I guess the graphics context is wrong somehow in command-line mode,
but I don't know more than this.

  It was working fine with the 1.1 version.

  Many thanks,


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages pymol depends on:
ii  freeglut3              2.4.0-8           OpenGL Utility Toolkit
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libgl1-mesa-glx [libgl 7.6.1~rc2-1       A free implementation of the OpenG
ii  libglu1-mesa [libglu1] 7.6.1~rc2-1       The OpenGL utility library (GLU)
ii  libpng12-0             1.2.41-1          PNG library - runtime
ii  libstdc++6             4.4.2-3           The GNU Standard C++ Library v3
ii  python                 2.5.4-2           An interactive high-level object-o
ii  python-pmw             1.3.2-3           Pmw -- Python MegaWidgets
ii  python-support         1.0.6             automated rebuilding support for P
ii  python-tk              2.5.2-1.1         Tkinter - Writing Tk applications 
ii  zlib1g                 1: compression library - runtime

Versions of packages pymol recommends:
ii  apbs                          1.1.0-1    Adaptive Poisson Boltzmann Solver

pymol suggests no packages.

-- no debconf information

More information about the Debichem-devel mailing list