[chimerax-users] OpenGL error with nogui?
Fabian Glaser
fglaser at technion.ac.il
Sat Aug 1 01:41:25 PDT 2020
Dear gurus,
I am trying to produce a series of figures on the fly with chimeraX, using a python script of the following format (this is only a simple demo):
test.py:
#!/usr/bin/env python3
import sys
from chimerax.core.commands import run
run(session, "open 1d66")
run(session, "color red")
run (session, "save fig1.png”)
==
This works like a charm with the gui, but without the gui it gives the following error, stops and no figure is produced, we tried both in Mac and linux. We are interest in the —nogui option:
.../MacOS/ChimeraX --script "test.py 1d66" —nogui
Executing: surface sel-residues enclose sel-residues
Executing: transparency 0 ribbons
Set transparency of 542 residues
Executing: ~select
Nothing selected
Nothing selected
Executing: save fig1.jpg
Unable to save images because OpenGL rendering is not available
So is this solvable? How?
We tried also with the —offscreen, no luck either.
Best,
Fabian
Fabian Glaser PhD
Bioinformatics Knowledge Unit - BKU
The Lorry I. Lokey Center for Life Sciences and Engineering
Technion - Israel Institute of Technology, Haifa, Israel
Web https://lokey.technion.ac.il/bioinformatic-knowledge-unit/
Tel +972 (0) 4 8293701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200801/b3fcb074/attachment.html>
More information about the ChimeraX-users
mailing list