Opened 6 years ago
Closed 6 years ago
#2029 closed defect (fixed)
"No such file or directory" when recording with roundtrip
Reported by: | 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: Darwin-18.6.0-x86_64-i386-64bit ChimeraX Version: 0.91 (2019-06-07) Description I get the attached error when attempting to encode a movie with "roundtrip true". The command used was: movie record supersample 4; perframe "hue_up protein" frames 30; wait 30; movie stop; movie encode roundtrip true where "hue_up" is an alias defined thusly: alias hue_up color modify $1 hue + 5 The same command without roundtrip true correctly records the movie. Cheers Oli Log: > camera ortho > cofr centerOfView > volume voxelLimit 100000 showPlane false limitVoxelCount false voxelLimitForOpen 10000 > alias crosshairs_on log text crosshairs_on: diaplays crosshairs at center of rotation and places cofr at center of view; cofr centerofview showpivot 5,0.2 > alias crosshairs_off cofr centerofview showpivot false > alias cootmode volume style mesh step 1 squaremesh false meshlighting true twosidedlighting false capfaces false; surface cap false; size stickradius 0.05; ~rib; color gold target a; color byhet; lighting flat; lighting depthcuestart 0.2 depthcueend 0.7; set silhouettes false; set subdivision 1; crosshairs_on; color #3333851effff target s; style stick; set bgcolor black > alias cootmode_white volume style mesh step 1 squaremesh false meshlighting true twosidedlighting false capfaces false; surface cap false; size stickradius 0.05; ~rib; color orange target a; color byhet; lighting flat; lighting depthcuestart 0.2 depthcueend 0.7; set silhouettes false; set subdivision 1; crosshairs_on; color #00000000cccc target s; style stick; set bgcolor white > alias carve surface zone #* nearatoms sel distance $1 maxcomponents 1 > alias uncarve surface unzone #* > alias focus view cofr false > alias saturation_down color modify $1 saturation - 10 > alias saturation_up color modify $1 saturation + 10 > alias lightness_up color modify $1 lightness + 5 > alias lightness_down color modify $1 lightness - 5 > alias hue_up color modify $1 hue + 5 > alias hue_down color modify $1 hue - 5 UCSF ChimeraX version: 0.91 (2019-06-07) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open /Users/oliverclarke/Dropbox/Downloads/for_isolde.updated.pdb Chain information for for_isolde.updated.pdb #1 --- Chain | Description A B | No description available C D | No description available > rainbow > lightness_up protein > lightness_up protein > lightness_up protein > lightness_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > saturation_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > rainbow chains > ~display Unknown command: gue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > hue_up protein > rainbow chains Unknown command: "hue_up protein" frames 60 > perframe "hue_up protein" frames 60 > perframe "hue_up protein" frames 60 > perframe "hue_up protein" frames 60 > movie record supersample 4 > perframe "hue_up protein" frames 60 > movie encode format h264 roundTrip true Movie encoding failed because no images were recorded. > movie record supersample 4 > perframe "hue_up protein" frames 60 > movie encode format h264 roundTrip true Movie encoding failed because no images were recorded. > movie record supersample 4 > perframe "hue_up protein" frames 60 > movie encode Movie encoding failed because no images were recorded. > movie record > perframe "hue_up protein" frames 60 > movie encode Movie encoding failed because no images were recorded. > movie record > perframe "hue_up protein" frames 60 > movie encode Movie encoding failed because no images were recorded. > movie record > perframe "hue_up protein" frames 60 > movie stop > movie encode Movie encoding failed because no images were recorded. > movie record supersample 3 > wait wait requires a frame count argument unless motion is in progress > movie record supersample 3 Already recording a movie > movie stop > movie reset > movie record supersample 3 > wait 1 > perframe "hue_up protein" frames 10 > wait 1 > movie stop > movie encode Movie saved to /Users/oliverclarke/Desktop/movie.mp4 > movie record supersample 3 > wait 60 > perframe "hue_up protein" frames 60 > movie stop > movie encode Movie saved to /Users/oliverclarke/Desktop/movie.mp4 > movie record supersample 3 > perframe "hue_up protein" frames 60 > movie stop > movie encode Movie encoding failed because no images were recorded. > movie record supersample 3 > perframe "hue_up protein" frames 60 > wait 60 > movie stop > movie encode Movie saved to /Users/oliverclarke/Desktop/movie.mp4 > rainbow > movie record supersample 4 > perframe "hue_up protein" frames 30 > wait 30 > movie stop > movie encode Movie saved to /Users/oliverclarke/Desktop/movie.mp4 > movie record supersample 4 > perframe "hue_up protein" frames 30 > wait 30 > movie stop > movie encode roundTrip true Traceback (most recent call last): File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/cmd_line/tool.py", line 254, in execute cmd.run(cmd_text) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/cli.py", line 2632, in run result = ci.function(session, **kw_args) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/moviecmd.py", line 189, in movie_encode framerate, round_trip, reset_mode, wait, verbose) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/moviecmd.py", line 243, in encode_op framerate, bit_rate, qual, round_trip, reset_mode) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/movie.py", line 307, in start_encoding self.verbose, self.session) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 66, in __init__ self.copy_frames_backwards() File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 148, in copy_frames_backwards copy(pat % (n-1-f), pto) FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00030.ppm' -> '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00031.ppm' FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00030.ppm' -> '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00031.ppm' File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 148, in copy_frames_backwards copy(pat % (n-1-f), pto) See log for complete Python traceback. > movie record supersample 4 > perframe "hue_up protein" frames 30 > wait 30 > movie stop > movie encode roundTrip true Traceback (most recent call last): File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/cmd_line/tool.py", line 254, in execute cmd.run(cmd_text) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/cli.py", line 2632, in run result = ci.function(session, **kw_args) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/moviecmd.py", line 189, in movie_encode framerate, round_trip, reset_mode, wait, verbose) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/moviecmd.py", line 243, in encode_op framerate, bit_rate, qual, round_trip, reset_mode) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/movie.py", line 307, in start_encoding self.verbose, self.session) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 66, in __init__ self.copy_frames_backwards() File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 148, in copy_frames_backwards copy(pat % (n-1-f), pto) FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00060.ppm' -> '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00061.ppm' FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00060.ppm' -> '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_Jmmy-00061.ppm' File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 148, in copy_frames_backwards copy(pat % (n-1-f), pto) See log for complete Python traceback. Unknown command: reset > movie reset > movie record supersample 4 > perframe "hue_up protein" frames 30 > wait 30 > movie stop > movie encode roundTrip true Traceback (most recent call last): File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/cmd_line/tool.py", line 254, in execute cmd.run(cmd_text) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/commands/cli.py", line 2632, in run result = ci.function(session, **kw_args) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/moviecmd.py", line 189, in movie_encode framerate, round_trip, reset_mode, wait, verbose) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/moviecmd.py", line 243, in encode_op framerate, bit_rate, qual, round_trip, reset_mode) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/movie.py", line 307, in start_encoding self.verbose, self.session) File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 66, in __init__ self.copy_frames_backwards() File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 148, in copy_frames_backwards copy(pat % (n-1-f), pto) FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_TNp1-00030.ppm' -> '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_TNp1-00031.ppm' FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_TNp1-00030.ppm' -> '/var/folders/rb/r_ltx5d13jd0hy_z393tk2g00000gp/T/chimovie_TNp1-00031.ppm' File "/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/movie/encode.py", line 148, in copy_frames_backwards copy(pat % (n-1-f), pto) See log for complete Python traceback. OpenGL version: 4.1 ATI-2.9.26 OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine OpenGL vendor: ATI Technologies Inc.
Change History (2)
comment:1 by , 6 years ago
Component: | Unassigned → Input/Output |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → "No such file or directory" when recording with roundtrip |
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed.
Looks like movie encoding thought there was one more recorded frame than there actually was. Not sure when that bug crept in.