Opened 6 years ago

Closed 6 years ago

#2612 closed defect (can't reproduce)

Side view: self.view.render is None

Reported by: chimerax-bug-report@… Owned by: greg
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-4.4.0-169-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.91 (2019-06-29)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.91 (2019-06-29)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /data/disk3/modeling/gp10/Figure4-20191123.cxs

opened ChimeraX session  

> hide #!14 models

> show #!14 models

> select #16

76410 atoms, 77460 bonds, 3 models selected  

> hide selAtoms surfaces

> hide selAtoms

> show selAtoms ribbons

> hide #!16 models

> show #!16 models

> hide #!13 models

> show #!13 models

> hide #!13 models

> show #!13 models

> hide #!31 models

> select clear

> save session /data/disk3/modeling/gp10/Figure4-20191123.cxs

> show #!11 models

> select #11

2 models selected  

> ~select #11

Nothing selected  

> select #13

25470 atoms, 25820 bonds, 3 models selected  

> show selAtoms surfaces

> hide selAtoms ribbons

> hide #!10 models

> show #!10 models

> lighting soft

> hide selAtoms surfaces

> hide #!11 models

> hide #!14.1 models

> hide #!14 models

> hide #!15.1 models

> hide #!15 models

> hide #!14.2 models

> show #!30 models

> select #30

12735 atoms, 12910 bonds, 1 model selected  

> select clear

> save session /data/disk3/modeling/gp10/Figure4-20191123.cxs

> hide #!30 models

> show #!30 models

> hide #!30 models

> show #!30 models

> hide #!30 models

> show #!30 models

> open /data/disk3/modeling/gp10/A.pdb

A.pdb title:  
Capsid expansion mechanism of bacteriophage T7 revealed by multi-state atomic
models derived from cryo-em reconstructions [more info...]  
  
Chain information for A.pdb #18  
---  
Chain | Description  
G | major capsid protein 10A  
  

> hide #!30 models

> show #!30 models

> matchmaker #18 to #30

Parameters  
---  
Chain pairing | bb  
Alignment algorithm | Needleman-Wunsch  
Similarity matrix | BLOSUM-62  
SS fraction | 0.3  
Gap open (HH/SS/other) | 18/18/6  
Gap extend | 1  
SS matrix |  |  | H | S | O  
---|---|---|---  
H | 6 | -9 | -6  
S |  | 6 | -6  
O |  |  | 4  
Iteration cutoff | 2  
  
Matchmaker 3j7w-C5-pentamer.pdb, chain A (#30) with A.pdb, chain G (#18),
sequence alignment score = 1700  
RMSD between 343 pruned atom pairs is 0.001 angstroms; (across all 343 pairs:
0.001)  
  

> hide #!30 models

> hide #!16 models

> select #13

25470 atoms, 25820 bonds, 3 models selected  

> hide selAtoms surfaces

> show selAtoms ribbons

> select clear

> hide #!18 models

> save session /data/disk3/modeling/gp10/Figure4-20191123.cxs

> show #!18 models

> hide #!18 models

> show #!29 models

> hide #!29 models

> show #!29 models

> show #!30 models

> hide #!29 models

> show #!10.2 models

> hide #!16.1 models

> hide #!16.2 models

> show #!16.2 models

> show #!16.1 models

> transparency #10.2 50

> transparency #10.2 70

> transparency #10.2 90

> transparency #10.2 70

> lighting soft

> hide #!16 models

> hide #!13 models

> show #!16 models

> hide #!10 models

> show #!10 models

> transparency #10.2 30

> lighting simple

> lighting soft

> lighting flat

> lighting soft

> lighting shadows true intensity 0.5

> lighting flat

> lighting full

> lighting soft

> lighting simple

> lighting soft

Expected a keyword  

> surface dust #10.2 size 30

> surface dust #10.2 size 80

> transparency #10.2 80

> lighting soft

> transparency #10.2 100

> hide #!16 models

> show #!16 models

> hide #!10 models

> show #!10 models

> hide #!10 models

> lighting simple

> lighting full

> lighting flat

> lighting soft

> lighting soft

> lighting flat

> show #!10 models

> lighting soft

> show #!17 models

> hide #!17 models

> hide #!16 models

> show #!16 models

> view name test

> view Figure2a

Expected an objects specifier or a view name or a keyword  

> view Figure2b

> view Figure2c

> select #10

4 models selected  

> ~select #10

Nothing selected  

> hide #!10 models

> show #!10 models

> transparency #10.2 0

> hide #!16 models

> hide #!30 models

> show #!30 models

> select #30

12735 atoms, 12910 bonds, 1 model selected  

> show selAtoms surfaces

> hide selAtoms

> show selAtoms surfaces

> hide selAtoms ribbons

> select clear

> hide #!13.1 models

> hide #!13.2 models

> hide #!10 models

> show #!16 models

> select #16

76410 atoms, 77460 bonds, 3 models selected  

> show selAtoms surfaces

> select clear

> toolshed show "Side View"

> hide #!15.2 models

> hide #!16 models

> show #!16 models

> view cofr false

> show #!10 models

> hide #!16.2 models

> show #!16.2 models

> transparency #10.2 30

> transparency #10.2 20

> transparency #10.2 60

> transparency #10.2 50

> view name Figure2a

> save image /data/disk3/Paper-use/n1Figure2a.tif pixelSize 1 supersample 9
transparentBackground true

> save image /data/disk3/Paper-use/n1Figure2a.tif pixelSize 1 supersample 9
transparentBackground true

> save image /data/disk3/Paper-use/n1Figure4a.tif pixelSize 1 supersample 9
transparentBackground true

Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/sideview/tool.py", line 116, in exposeEvent  
self.render()  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/sideview/tool.py", line 139, in render  
mvwin = self.view.render.use_shared_context(self, width, height)  
AttributeError: 'NoneType' object has no attribute 'use_shared_context'  
  
AttributeError: 'NoneType' object has no attribute 'use_shared_context'  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/sideview/tool.py", line 139, in render  
mvwin = self.view.render.use_shared_context(self, width, height)  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/sideview/tool.py", line 116, in exposeEvent  
self.render()  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/sideview/tool.py", line 139, in render  
mvwin = self.view.render.use_shared_context(self, width, height)  
AttributeError: 'NoneType' object has no attribute 'use_shared_context'  
  
AttributeError: 'NoneType' object has no attribute 'use_shared_context'  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/sideview/tool.py", line 139, in render  
mvwin = self.view.render.use_shared_context(self, width, height)  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 384.130
OpenGL renderer: Quadro K2200/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Cc: Tom Goddard added
Component: UnassignedGeneral Controls
Owner: set to greg
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSide view: self.view.render is None

comment:2 by Greg Couch, 6 years ago

Resolution: can't reproduce
Status: assignedclosed

Unable to reproduce with current code. OpenGL context management has changed since then, so maybe it was fixed.

Note: See TracTickets for help on using tickets.