Opened 3 days ago

Closed 28 hours ago

#20297 closed defect (not a bug)

Cannot save movie frames

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

Description

The following bug report has been submitted:
Platform:        macOS-15.5-arm64-arm-64bit
ChimeraX Version: 1.12rc202605052234 (2026-05-05 22:34:16 UTC)
Description
Replace this text with list of actions that caused this problem to occur

Log:
UCSF ChimeraX version: 1.12rc202605052234 (2026-05-05)  
© 2016-2026 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/yankaituo/work/SAP11-TCP正交系统突变设计/TCP_SAP11_swapped.pdb

Chain information for TCP_SAP11_swapped.pdb #1  
---  
Chain | Description  
A | No description available  
B | No description available  
  
Computing secondary structure  

> ui tool show Toolbar

> ui dockable true Toolbar

> ui tool show "Model Panel"

You can double click a model's Name or ID in the model panel to edit those
fields  

> hide #1 models

> show #1 models

> open
> /Users/yankaituo/work/SAP11-TCP正交系统突变设计/mutation_TCP_mutation_SAP11/collected_models/mutation_tcp_mutation_sap11_19_fold_mutation_tcp_mutation_sap11_19_model_0.cif

Chain information for
mutation_tcp_mutation_sap11_19_fold_mutation_tcp_mutation_sap11_19_model_0.cif
#2  
---  
Chain | Description  
A | .  
B | .  
  
Computing secondary structure  

> ui mousemode right "translate selected models"

[Repeated 1 time(s)]

> ui mousemode right "rotate selected models"

> hide #1 models

> show #1 models

> hide #1 models

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> view matrix models
> #2,0.31272,0.025361,-0.94951,-7.6866,0.15695,0.98452,0.077988,1.5206,0.93679,-0.17341,0.3039,7.1129

> show #1 models

> ui mousemode right "translate selected models"

> view matrix models
> #2,0.31272,0.025361,-0.94951,-2.6537,0.15695,0.98452,0.077988,20.954,0.93679,-0.17341,0.3039,9.557

> view matrix models
> #2,0.31272,0.025361,-0.94951,5.0693,0.15695,0.98452,0.077988,0.1838,0.93679,-0.17341,0.3039,27.622

> view matrix models
> #2,0.31272,0.025361,-0.94951,33.175,0.15695,0.98452,0.077988,-8.0547,0.93679,-0.17341,0.3039,33.062

> ui mousemode right "rotate selected models"

[Repeated 1 time(s)]

> select subtract #2

Nothing selected  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> select subtract #2

Nothing selected  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> select subtract #2

Nothing selected  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> view matrix models
> #2,0.54519,0.60123,-0.5842,36.155,-0.57566,0.77509,0.26046,-14.397,0.60941,0.1943,0.76868,31.103

> view matrix models
> #2,0.73599,0.53174,-0.41901,38.093,-0.18845,0.75538,0.6276,-10.347,0.65023,-0.38294,0.65616,30.978

> view matrix models
> #2,-0.16094,-0.43938,0.88376,31.739,0.77191,0.50195,0.39013,-2.3071,-0.61503,0.74497,0.25838,19.628

> view matrix models
> #2,-0.11241,-0.65586,0.74646,31.831,0.9917,-0.12122,0.042831,-1.248,0.062397,0.74508,0.66404,26.341

> view matrix models
> #2,-0.080947,-0.65042,0.75525,32.129,0.99569,-0.018332,0.09093,-1.0789,-0.045298,0.75935,0.6491,25.363

> view matrix models
> #2,-0.076371,-0.6296,0.77316,32.21,0.99598,-0.011714,0.088842,-1.0764,-0.046878,0.77683,0.62796,25.323

> ui mousemode right "translate selected models"

> view matrix models
> #2,-0.076371,-0.6296,0.77316,63.143,0.99598,-0.011714,0.088842,-5.5422,-0.046878,0.77683,0.62796,21.559

> view matrix models
> #2,-0.076371,-0.6296,0.77316,63.81,0.99598,-0.011714,0.088842,-8.3468,-0.046878,0.77683,0.62796,23.026

> view matrix models
> #2,-0.076371,-0.6296,0.77316,69.498,0.99598,-0.011714,0.088842,-0.75829,-0.046878,0.77683,0.62796,18.26

> view matrix models
> #2,-0.076371,-0.6296,0.77316,65.931,0.99598,-0.011714,0.088842,2.6826,-0.046878,0.77683,0.62796,19.73

> view matrix models
> #2,-0.076371,-0.6296,0.77316,67.229,0.99598,-0.011714,0.088842,7.0706,-0.046878,0.77683,0.62796,19.173

> ui mousemode right "rotate selected models"

> view matrix models
> #2,-0.19761,-0.97178,0.12886,64.902,0.92492,-0.14128,0.35294,6.8056,-0.32477,0.18893,0.92673,16.88

> view matrix models
> #2,-0.062204,-0.66301,-0.74602,64.825,0.79198,-0.48766,0.36736,5.4621,-0.60737,-0.56798,0.55543,13.349

> view matrix models
> #2,0.43154,0.66181,-0.613,70.144,0.75933,-0.63336,-0.14924,4.2402,-0.48702,-0.40107,-0.77586,12.308

> view matrix models
> #2,0.47085,0.79919,-0.37363,70.962,0.78373,-0.57337,-0.23878,4.3411,-0.40506,-0.18039,-0.89632,12.956

> view matrix models
> #2,0.14948,0.54199,-0.82698,67.212,0.83288,-0.51978,-0.19011,4.8881,-0.53289,-0.66036,-0.52911,12.171

> view matrix models
> #2,0.36015,0.56983,-0.73864,69.251,0.85678,-0.51529,0.020233,5.4515,-0.36908,-0.64013,-0.6738,13.404

> ui mousemode right "translate selected models"

> view matrix models
> #2,0.36015,0.56983,-0.73864,64.509,0.85678,-0.51529,0.020233,13.71,-0.36908,-0.64013,-0.6738,32.057

> ui mousemode right "rotate selected models"

> view matrix models
> #2,0.4645,0.54974,-0.69428,65.503,0.81599,-0.57032,0.094334,13.44,-0.3441,-0.61034,-0.7135,32.23

> view matrix models
> #2,0.081181,-0.38708,-0.91847,61.222,0.94425,-0.26514,0.1952,14.911,-0.31907,-0.88311,0.34397,34.059

> ui mousemode right "translate selected models"

> view matrix models
> #2,0.081181,-0.38708,-0.91847,62.976,0.94425,-0.26514,0.1952,14.047,-0.31907,-0.88311,0.34397,29.305

> view matrix models
> #2,0.081181,-0.38708,-0.91847,70.318,0.94425,-0.26514,0.1952,7.5072,-0.31907,-0.88311,0.34397,29.879

> view matrix models
> #2,0.081181,-0.38708,-0.91847,69.454,0.94425,-0.26514,0.1952,6.238,-0.31907,-0.88311,0.34397,30.139

> view matrix models
> #2,0.081181,-0.38708,-0.91847,66.922,0.94425,-0.26514,0.1952,3.1705,-0.31907,-0.88311,0.34397,31.167

> view matrix models
> #2,0.081181,-0.38708,-0.91847,71.62,0.94425,-0.26514,0.1952,6.4024,-0.31907,-0.88311,0.34397,33.884

> view matrix models
> #2,0.081181,-0.38708,-0.91847,69.928,0.94425,-0.26514,0.1952,7.0873,-0.31907,-0.88311,0.34397,34.646

> view matrix models
> #2,0.081181,-0.38708,-0.91847,70.661,0.94425,-0.26514,0.1952,8.3806,-0.31907,-0.88311,0.34397,34.877

> view matrix models
> #2,0.081181,-0.38708,-0.91847,46.762,0.94425,-0.26514,0.1952,8.3698,-0.31907,-0.88311,0.34397,55.136

> view matrix models
> #2,0.081181,-0.38708,-0.91847,42.383,0.94425,-0.26514,0.1952,9.58,-0.31907,-0.88311,0.34397,59.118

> view matrix models
> #2,0.081181,-0.38708,-0.91847,40.923,0.94425,-0.26514,0.1952,9.3208,-0.31907,-0.88311,0.34397,57.242

> set bgColor white

> preset silhouettes

Using preset: Overall Look / Publication 1 (Silhouettes)  
Preset expands to these ChimeraX commands:

    
    
    set bg white
    graphics silhouettes t
    lighting depthCue f

  

> color bychain

> view matrix models
> #2,0.081181,-0.38708,-0.91847,38.383,0.94425,-0.26514,0.1952,9.7816,-0.31907,-0.88311,0.34397,59.51

> view matrix models
> #2,0.081181,-0.38708,-0.91847,40.216,0.94425,-0.26514,0.1952,11.273,-0.31907,-0.88311,0.34397,59.386

> select subtract #2

Nothing selected  

> preset publication

Multiple preset names match 'publication': publication 1 (silhouettes);
publication 2 (depth-cued)  

> preset publication1

No preset name matches 'publication1'  

> preset publication 1

Using preset: Overall Look / Publication 1 (Silhouettes)  
Preset expands to these ChimeraX commands:

    
    
    set bg white
    graphics silhouettes t
    lighting depthCue f

  

> select #1,2

1541 atoms, 1559 bonds, 182 residues, 2 models selected  

> cofr sel

> ~select

Nothing selected  

> graphics shadows true

Expected a keyword  

> lighting shadows true

> movie record directory /Users/yankaituo/Desktop/my_movie

Directory /Users/yankaituo/Desktop/my_movie does not exist  

> mkdir ~/Desktop/my_movie

Unknown command: mkdir ~/Desktop/my_movie  

> movie record directory /Users/yankaituo/Desktop/my_movie

> roll y 1 360

> roll y 1 360 center individual

Invalid "center" argument: Expected 3 floats or object specifier  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> view matrix models
> #2,0.081181,-0.38708,-0.91847,40.211,0.94425,-0.26514,0.1952,12.005,-0.31907,-0.88311,0.34397,59.376

> select subtract #2

Nothing selected  

> select add #1

776 atoms, 787 bonds, 91 residues, 1 model selected  

> view matrix models #1,1,0,0,-0.38656,0,1,0,-3.65,0,0,1,0.49805

> view matrix models #1,1,0,0,-0.35283,0,1,0,-3.5804,0,0,1,0.47065

> ui mousemode right "rotate selected models"

> view matrix models
> #1,0.99624,0.018654,0.084626,-3.2299,-0.016663,0.99957,-0.024175,-1.4755,-0.08504,0.022674,0.99612,6.7665

> view matrix models
> #1,0.98739,0.035313,0.15429,-5.1839,-0.0288,0.99861,-0.044244,0.14863,-0.15564,0.039243,0.98703,12.207

> select subtract #1

Nothing selected  

> select add #1

776 atoms, 787 bonds, 91 residues, 1 model selected  

> select subtract #1

Nothing selected  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> view matrix models
> #2,0.06309,-0.45618,-0.88765,40.064,0.9414,-0.26807,0.20468,11.994,-0.33133,-0.84855,0.41254,59.398

> view matrix models
> #2,0.048858,-0.49995,-0.86468,39.952,0.94158,-0.26577,0.20687,12,-0.33323,-0.82427,0.45776,59.469

> view matrix models
> #2,0.0081655,-0.47197,-0.88158,39.576,0.92411,-0.33326,0.18698,11.776,-0.38204,-0.8162,0.43343,58.997

> view matrix models
> #2,0.074977,-0.44372,-0.89302,40.168,0.92087,-0.31278,0.23273,11.833,-0.38259,-0.83981,0.38516,58.9

> select subtract #2

Nothing selected  

> roll y 1 360 center #1,2

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

> wait 360

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2 wait 360

Expected a keyword  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> select subtract #2

Nothing selected  

> select add #2

765 atoms, 772 bonds, 91 residues, 1 model selected  

> select subtract #2

Nothing selected  

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2 wait

Expected a keyword  

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

> wait 360

> movie encode output /Users/yankaituo/Desktop/SAP11_TCP_SelfSpin.mp4 quality
> high

Movie encoding failed because no images were recorded.  

> view #1, 2

> movie record directory /Users/yankaituo/Desktop/SAP11_TCP_Movie

Directory /Users/yankaituo/Desktop/SAP11_TCP_Movie does not exist  

> movie record directory /Users/yankaituo/Desktop/SAP11_TCP_Movie

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/core/triggerset.py", line 149, in invoke  
return self._func(self._name, data)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/movie/movie.py", line 177, in capture_image  
i.save(save_path, self.img_fmt)  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04109.ppm'  
  
Error processing trigger "frame drawn":  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04109.ppm'  
  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  
See log for complete Python traceback.  
  

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

> wait 3602

> wait 360

> movie encode output
> /Users/yankaituo/Desktop/SAP11_TCP_Individual_Rotation.mp4 quality high

Movie encoding failed because no images were recorded.  

> turn y 1 360 center #1 models #1

> turn y 1 360 center #2 models #2

> wait 3602

> wait 360

> movie encode output /Users/yankaituo/Desktop/SAP11_TCP_Final.mp4 quality
> high

Movie encoding failed because no images were recorded.  

> movie record

> turn y 2 180

> wait 180

Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/core/triggerset.py", line 149, in invoke  
return self._func(self._name, data)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/movie/movie.py", line 177, in capture_image  
i.save(save_path, self.img_fmt)  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04110.ppm'  
  
Error processing trigger "frame drawn":  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04110.ppm'  
  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  
See log for complete Python traceback.  
  

> movie encode /Users/yankaituo/Desktop/protein_spin_3s.mp4 framerate 60
> quality high

Movie encoding failed because no images were recorded.  

> movie record

> turn #1 y 2 180 center #1 ; turn #2 y 2 180 center #2 ; wait 180 ; movie
> encode ~/Desktop/independent_spin_3s.mp4 framerate 60 quality high

Expected an axis vector or a keyword  

> cofr models #1 #2

Expected 3-tuple of numbers or a keyword  

> cofr model #1 #2

Expected 3-tuple of numbers or a keyword  

> movie record

Already recording a movie  

> movie stop

> movie abort

Not currently encoding  

> movie record

> turn #1 0,1,0 2 180 center #1 ; turn #2 0,1,0 2 180 center #2 ; wait 180 ;
> movie encode ~/Desktop/independent_spin_3s.mp4 framerate 60 quality high

Expected an axis vector or a keyword  

> movie record

Already recording a movie  

> movie record

Already recording a movie  

> movie stop

[Repeated 1 time(s)]Not currently recording  

> movie record

> turn #1 0,1,0 2 180 center #1 ; turn #2 0,1,0 2 180 center #2 ; wait 180 ;
> movie encode ~/Desktop/independent_spin_3s.mp4 framerate 60 quality high

Expected an axis vector or a keyword  

> movie record

Already recording a movie  

> movie stop

> movie record

> roll #1 y 2 180 center #1 ; roll #2 y 2 180 center #2 ; wait 180 ; movie
> encode ~/Desktop/independent_spin_3s.mp4 framerate 60 quality high

Expected an axis vector or a keyword  

> movie record

Already recording a movie  

> movie stop

> movie record

> roll #1 y 2 180 center #1 ; roll #2 y 2 180 center #2 ; wait 180 ; movie
> encode ~/Desktop/independent_spin_3s.mp4 framerate 60 quality high

Expected an axis vector or a keyword  
Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/core/triggerset.py", line 149, in invoke  
return self._func(self._name, data)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/movie/movie.py", line 177, in capture_image  
i.save(save_path, self.img_fmt)  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04111.ppm'  
  
Error processing trigger "frame drawn":  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04111.ppm'  
  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  
See log for complete Python traceback.  
  

> hide #2 models

> movie record

Already recording a movie  

> movie stop

> movie record

> turn y 2 180

> wait 180

Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/core/triggerset.py", line 149, in invoke  
return self._func(self._name, data)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/movie/movie.py", line 177, in capture_image  
i.save(save_path, self.img_fmt)  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04112.ppm'  
  
Error processing trigger "frame drawn":  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04112.ppm'  
  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  
See log for complete Python traceback.  
  

> movie encode /Users/yankaituo/Desktop/protein_spin_3s.mp4 framerate 60
> quality high

Movie encoding failed because no images were recorded.  

> movie stop

Not currently recording  

> movie record

> turn y 2 180

> wait 180

Traceback (most recent call last):  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/core/triggerset.py", line 149, in invoke  
return self._func(self._name, data)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/movie/movie.py", line 177, in capture_image  
i.save(save_path, self.img_fmt)  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04113.ppm'  
  
Error processing trigger "frame drawn":  
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/yankaituo/Desktop/my_movie/chimovie_Mtx7-04113.ppm'  
  
File
"/Applications/ChimeraX-1.12-rc2026.05.06.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/PIL/Image.py", line 2583, in save  
fp = builtins.open(filename, "w+b")  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
  
See log for complete Python traceback.  
  

> movie encode /Users/yankaituo/Desktop/protein_spin_3s.mp4 framerate 60
> quality high

Movie encoding failed because no images were recorded.  




OpenGL version: 4.1 Metal - 89.4
OpenGL renderer: Apple M3
OpenGL vendor: Apple

Python: 3.11.9
Locale: en_US.UTF-8
Qt version: PyQt6 6.10.2, Qt 6.10.0
Qt runtime version: 6.10.1
Qt platform: cocoa
Hardware:

    Hardware Overview:

      Model Name: MacBook Air
      Model Identifier: Mac15,12
      Model Number: MXCU3CH/A
      Chip: Apple M3
      Total Number of Cores: 8 (4 performance and 4 efficiency)
      Memory: 16 GB
      System Firmware Version: 11881.121.1
      OS Loader Version: 11881.121.1

Software:

    System Software Overview:

      System Version: macOS 15.5 (24F74)
      Kernel Version: Darwin 24.5.0
      Time since boot: 4天22小时9分钟

Graphics/Displays:

    Apple M3:

      Chipset Model: Apple M3
      Type: GPU
      Bus: Built-In
      Total Number of Cores: 10
      Vendor: Apple (0x106b)
      Metal Support: Metal 3
      Displays:
        Color LCD:
          Display Type: Built-in Liquid Retina Display
          Resolution: 2560 x 1664 Retina
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Automatically Adjust Brightness: No
          Connection Type: Internal


Installed Packages:
    accessible-pygments: 0.0.5
    aiohappyeyeballs: 2.6.1
    aiohttp: 3.13.1
    aiosignal: 1.4.0
    alabaster: 1.0.0
    annotated-types: 0.7.0
    anyio: 4.13.0
    appdirs: 1.4.4
    appnope: 0.1.4
    asttokens: 3.0.1
    attrs: 26.1.0
    babel: 2.18.0
    beautifulsoup4: 4.13.5
    blockdiag: 3.0.0
    blosc2: 4.1.2
    bs4: 0.0.2
    build: 1.3.0
    certifi: 2025.7.14
    cftime: 1.6.5
    charset-normalizer: 3.4.7
    ChimeraX-AddCharge: 1.5.20
    ChimeraX-AddH: 2.2.8
    ChimeraX-AlignmentAlgorithms: 2.0.2
    ChimeraX-AlignmentHdrs: 3.6.2
    ChimeraX-AlignmentMatrices: 2.1
    ChimeraX-Alignments: 3.2
    ChimeraX-AlphaFold: 1.0.1
    ChimeraX-AltlocExplorer: 1.2
    ChimeraX-AmberInfo: 1.0
    ChimeraX-Animations: 1.0
    ChimeraX-Aniso: 1.3.2
    ChimeraX-Arrays: 1.1
    ChimeraX-Atomic: 1.67.1
    ChimeraX-AtomicLibrary: 14.4
    ChimeraX-AtomSearch: 2.0.1
    ChimeraX-AxesPlanes: 2.4
    ChimeraX-BasicActions: 1.1.3
    ChimeraX-BILD: 1.0
    ChimeraX-BlastProtein: 3.0.0
    ChimeraX-Boltz: 1.1
    ChimeraX-BondRot: 2.0.4
    ChimeraX-BugReporter: 1.0.2
    ChimeraX-BuildStructure: 2.13.1
    ChimeraX-Bumps: 1.0
    ChimeraX-BundleBuilder: 1.6.0
    ChimeraX-ButtonPanel: 1.0.1
    ChimeraX-CageBuilder: 1.0.1
    ChimeraX-CellPack: 1.0
    ChimeraX-Centroids: 1.4.1
    ChimeraX-ChangeChains: 1.1
    ChimeraX-CheckWaters: 1.5
    ChimeraX-ChemGroup: 2.0.2
    ChimeraX-Clashes: 2.4
    ChimeraX-Cluster: 1.0
    ChimeraX-ColorActions: 1.0.5
    ChimeraX-ColorGlobe: 1.0
    ChimeraX-ColorKey: 1.5.8
    ChimeraX-CommandLine: 1.3.1
    ChimeraX-ConnectStructure: 2.0.1
    ChimeraX-Contacts: 1.0.1
    ChimeraX-Core: 1.12rc202605052234
    ChimeraX-CoreFormats: 1.2
    ChimeraX-coulombic: 1.4.5
    ChimeraX-Crosslinks: 1.0
    ChimeraX-Crystal: 1.0
    ChimeraX-CrystalContacts: 1.0.1
    ChimeraX-DataFormats: 1.2.4
    ChimeraX-Dicom: 1.2.7
    ChimeraX-DistMonitor: 1.4.2
    ChimeraX-DockPrep: 1.2.1
    ChimeraX-Dssp: 2.0
    ChimeraX-EMDB-SFF: 1.0
    ChimeraX-ESMFold: 1.0
    ChimeraX-FileHistory: 1.0.1
    ChimeraX-FunctionKey: 1.0.1
    ChimeraX-Geometry: 1.3
    ChimeraX-gltf: 1.0
    ChimeraX-Graphics: 1.4.1
    ChimeraX-Hbonds: 2.5.3
    ChimeraX-Help: 1.3
    ChimeraX-HKCage: 1.3
    ChimeraX-IHM: 1.1
    ChimeraX-ImageFormats: 1.2
    ChimeraX-IMOD: 1.0
    ChimeraX-IO: 1.0.4
    ChimeraX-ItemsInspection: 1.0.1
    ChimeraX-IUPAC: 1.0
    ChimeraX-KVFinder: 1.8.2
    ChimeraX-Label: 1.5
    ChimeraX-LightingGUI: 1.0
    ChimeraX-ListInfo: 1.3.1
    ChimeraX-Log: 1.2.2
    ChimeraX-LookingGlass: 1.1
    ChimeraX-Maestro: 1.9.3
    ChimeraX-Map: 1.3
    ChimeraX-MapData: 2.0
    ChimeraX-MapEraser: 1.0.1
    ChimeraX-MapFilter: 2.0.1
    ChimeraX-MapFit: 2.0
    ChimeraX-MapSeries: 2.1.1
    ChimeraX-Markers: 1.0.1
    ChimeraX-Mask: 1.0.2
    ChimeraX-MatchAlign: 1.1
    ChimeraX-MatchMaker: 2.4
    ChimeraX-MCopy: 1.0
    ChimeraX-MCPServer: 0.2.0
    ChimeraX-MDcrds: 2.19
    ChimeraX-MedicalToolbar: 1.1
    ChimeraX-Meeting: 1.0.1
    ChimeraX-Minimize: 1.3.8
    ChimeraX-MLP: 1.1.1
    ChimeraX-mmCIF: 2.16
    ChimeraX-MMTF: 2.2
    ChimeraX-ModelArchive: 1.0
    ChimeraX-Modeller: 1.5.23
    ChimeraX-ModelPanel: 1.6.1
    ChimeraX-ModelSeries: 1.0.1
    ChimeraX-Mol2: 2.0.3
    ChimeraX-Mole: 1.0
    ChimeraX-Morph: 1.0.2
    ChimeraX-MouseModes: 1.2
    ChimeraX-Movie: 1.0.1
    ChimeraX-MutationScores: 1.0
    ChimeraX-Neuron: 1.0
    ChimeraX-Nifti: 1.2
    ChimeraX-NMRSTAR: 1.0.2
    ChimeraX-NRRD: 1.2
    ChimeraX-Nucleotides: 2.0.3
    ChimeraX-OpenCommand: 1.15.4
    ChimeraX-OpenFold: 1.0
    ChimeraX-OrthoPick: 1.0.1
    ChimeraX-PDB: 2.7.13
    ChimeraX-PDBBio: 1.0.1
    ChimeraX-PDBLibrary: 1.0.5
    ChimeraX-PDBMatrices: 1.0
    ChimeraX-PickBlobs: 1.0.1
    ChimeraX-Positions: 1.0
    ChimeraX-PresetMgr: 1.1.4
    ChimeraX-ProfileGrids: 1.6
    ChimeraX-PubChem: 2.2
    ChimeraX-ReadPbonds: 1.0.1
    ChimeraX-Registration: 1.1.2
    ChimeraX-RemoteControl: 1.0
    ChimeraX-RenderByAttr: 1.8.2
    ChimeraX-RenumberResidues: 1.1
    ChimeraX-ResidueFit: 1.0.1
    ChimeraX-RestServer: 1.3.3
    ChimeraX-RNALayout: 1.0
    ChimeraX-RotamerLibMgr: 4.0
    ChimeraX-RotamerLibsDunbrack: 2.0
    ChimeraX-RotamerLibsDynameomics: 2.0
    ChimeraX-RotamerLibsRichardson: 2.0
    ChimeraX-SaveCommand: 1.5.2
    ChimeraX-Scenes: 0.3.1
    ChimeraX-SchemeMgr: 1.0
    ChimeraX-SDF: 2.0.3
    ChimeraX-Segger: 1.0
    ChimeraX-Segment: 1.0.1
    ChimeraX-Segmentations: 3.5.12
    ChimeraX-SelInspector: 1.0
    ChimeraX-SeqView: 2.18
    ChimeraX-Shape: 1.1
    ChimeraX-Shell: 1.0.1
    ChimeraX-Shortcuts: 1.2.1
    ChimeraX-ShowSequences: 1.0.3
    ChimeraX-SideView: 1.0.1
    ChimeraX-SimilarStructures: 1.0.1
    ChimeraX-Smiles: 2.1.2
    ChimeraX-SmoothLines: 1.0
    ChimeraX-SNFG: 1.0
    ChimeraX-SpaceNavigator: 1.0
    ChimeraX-StdCommands: 1.19.3
    ChimeraX-STL: 1.0.1
    ChimeraX-Storm: 1.0
    ChimeraX-StructMeasure: 1.2.1
    ChimeraX-Struts: 1.0.1
    ChimeraX-Surface: 1.0.1
    ChimeraX-SwapAA: 2.0.1
    ChimeraX-SwapRes: 2.5.3
    ChimeraX-TapeMeasure: 1.0
    ChimeraX-TaskManager: 1.0
    ChimeraX-Test: 1.0
    ChimeraX-Toolbar: 1.2.4
    ChimeraX-ToolshedUtils: 1.2.4
    ChimeraX-Topography: 1.0
    ChimeraX-ToQuest: 1.0
    ChimeraX-Tug: 1.0.1
    ChimeraX-UI: 1.50.6
    ChimeraX-Umap: 1.0
    ChimeraX-uniprot: 2.3.2
    ChimeraX-UnitCell: 1.0.1
    ChimeraX-ViewDock: 1.6.2
    ChimeraX-VIPERdb: 1.0
    ChimeraX-Vive: 1.1
    ChimeraX-VolumeMenu: 1.0.1
    ChimeraX-vrml: 1.0
    ChimeraX-VTK: 1.0
    ChimeraX-WavefrontOBJ: 1.0
    ChimeraX-WebCam: 1.0.2
    ChimeraX-WebServices: 1.1.5
    ChimeraX-Zone: 1.0.1
    click: 8.3.3
    colorama: 0.4.6
    comm: 0.2.3
    contourpy: 1.3.3
    coverage: 7.13.5
    cxservices: 1.2.3
    cycler: 0.12.1
    Cython: 3.2.4
    debugpy: 1.8.20
    decorator: 5.2.1
    docutils: 0.21.2
    executing: 2.2.1
    filelock: 3.19.1
    fonttools: 4.62.1
    frozenlist: 1.8.0
    funcparserlib: 2.0.0a0
    glfw: 2.10.0
    grako: 3.16.5
    h11: 0.16.0
    h5py: 3.16.0
    html2text: 2025.4.15
    httpcore: 1.0.9
    httpx: 0.28.1
    httpx-sse: 0.4.3
    idna: 3.13
    ihm: 2.2
    imagecodecs: 2024.6.1
    imagesize: 2.0.0
    iniconfig: 2.3.0
    ipykernel: 7.1.0
    ipython: 9.9.0
    ipython_pygments_lexers: 1.1.1
    jedi: 0.19.2
    Jinja2: 3.1.6
    jsonschema: 4.26.0
    jsonschema-specifications: 2025.9.1
    jupyter_client: 8.8.0
    jupyter_core: 5.9.1
    kiwisolver: 1.5.0
    line_profiler: 5.0.0
    lxml: 6.0.2
    lz4: 4.3.2
    Markdown: 3.8.2
    MarkupSafe: 3.0.3
    matplotlib: 3.10.7
    matplotlib-inline: 0.2.1
    mcp: 1.18.0
    msgpack: 1.1.1
    multidict: 6.7.1
    narwhals: 2.20.0
    ndindex: 1.10.1
    nest-asyncio: 1.6.0
    netCDF4: 1.6.5
    networkx: 3.3
    nibabel: 5.2.0
    nptyping: 2.5.0
    numexpr: 2.14.1
    numpy: 1.26.4
    OpenMM: 8.4.0
    openvr: 1.26.701
    packaging: 25.0
    ParmEd: 4.2.2
    parso: 0.8.7
    pep517: 0.13.1
    pexpect: 4.9.0
    pickleshare: 0.7.5
    pillow: 11.3.0
    pip: 25.2
    pkginfo: 1.12.1.2
    platformdirs: 4.9.6
    plotly: 6.7.0
    pluggy: 1.6.0
    prompt_toolkit: 3.0.52
    propcache: 0.4.1
    psutil: 7.0.0
    ptyprocess: 0.7.0
    pure_eval: 0.2.3
    py-cpuinfo: 9.0.0
    pybind11: 3.0.1
    pycollada: 0.8
    pydantic: 2.13.3
    pydantic-settings: 2.14.0
    pydantic_core: 2.46.3
    pydata-sphinx-theme: 0.17.1
    pydicom: 2.4.4
    Pygments: 2.18.0
    pynmrstar: 3.5.1
    pynrrd: 1.0.0
    PyOpenGL: 3.1.10
    PyOpenGL-accelerate: 3.1.10
    pyopenxr: 1.1.4501
    pyparsing: 3.3.2
    pyproject_hooks: 1.2.0
    PyQt6-commercial: 6.10.2
    PyQt6-Qt6: 6.10.1
    PyQt6-WebEngine-commercial: 6.10.0
    PyQt6-WebEngine-Qt6: 6.10.1
    PyQt6_sip: 13.10.3
    pytest: 9.0.3
    pytest-cov: 7.1.0
    python-dateutil: 2.9.0.post0
    python-dotenv: 1.2.2
    python-multipart: 0.0.27
    pyzmq: 27.1.0
    qtconsole: 5.7.0
    QtPy: 2.4.3
    qtshim: 1.2.2
    RandomWords: 0.4.0
    referencing: 0.37.0
    requests: 2.32.5
    roman-numerals: 4.1.0
    rpds-py: 0.30.0
    scipy: 1.14.0
    setuptools: 80.9.0
    sfftk-rw: 0.8.1
    six: 1.17.0
    snowballstemmer: 3.0.1
    sortedcontainers: 2.4.0
    soupsieve: 2.8.3
    Sphinx: 9.0.4
    sphinx-autodoc-typehints: 3.6.1
    sphinxcontrib-applehelp: 2.0.0
    sphinxcontrib-blockdiag: 3.0.0
    sphinxcontrib-devhelp: 2.0.0
    sphinxcontrib-htmlhelp: 2.1.0
    sphinxcontrib-jsmath: 1.0.1
    sphinxcontrib-qthelp: 2.0.0
    sphinxcontrib-serializinghtml: 2.0.0
    sse-starlette: 3.4.1
    stack-data: 0.6.3
    starlette: 1.0.0
    superqt: 0.7.6
    tables: 3.10.2
    tcia_utils: 3.2.1
    tifffile: 2025.3.13
    tinyarray: 1.2.5
    tornado: 6.5.5
    tqdm: 4.67.3
    traitlets: 5.14.3
    typing-inspection: 0.4.2
    typing_extensions: 4.15.0
    Unidecode: 1.4.0
    urllib3: 2.6.3
    uvicorn: 0.46.0
    wcwidth: 0.7.0
    webcolors: 24.11.1
    wheel: 0.45.1
    wheel-filename: 1.4.2
    yarl: 1.23.0

Change History (3)

comment:1 by Eric Pettersen, 28 hours ago

Component: UnassignedInput/Output
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionCannot save movie frames

comment:2 by Tom Goddard, 28 hours ago

User is trying to record a movie bug does not know how to do it. The try encoding with no frames recorded. They try specifying the recording directory, but then apparently delete that directory so the recorded image files are missing. They try to use command "movie stop" then "movie record" but get a message that a movie is already being recorded. Isn't movie record allowed after movie stop? Need to check that.

comment:3 by Tom Goddard, 28 hours ago

Resolution: not a bug
Status: assignedclosed

Using movie record then recording some frames then movie stop then again doing movie record to record more frames then movie stop, then encoding worked fine in my test.

My guess is the root cause of the errors is that the user deleted the directory where the recording was done, then tried to encode which failed. But the failure did not reset the current recording which led to further errors.

I don't think it is worth the time to try to prevent the user from shooting themselves in the foot this way unless more users encounter it.

Note: See TracTickets for help on using tickets.