Opened 8 years ago
Closed 8 years ago
#1073 closed defect (fixed)
ChimeraX bug | No such file or directory | Desktop/
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
Hi First time trying ChimeraX here, version 0.5, on Linux. It seems ChimeraX presumes that a Desktop/ directory exists when attempting to record a spin movie. I do not have a Directory/ folder (intentionally). This leads to an error: Opened mmCIF data containing 3192 atoms and 3121 bonds Traceback (most recent call last): File "/home/rmagno/dwl/chimerax/chimerax/lib/python3.6/site-packages/chimerax/shortcuts/tool.py", line 47, in button_press_cb ks.run_shortcut(keys) File "/home/rmagno/dwl/chimerax/chimerax/lib/python3.6/site-packages/chimerax/shortcuts/shortcuts.py", line 373, in run_shortcut sc.run(self.session) File "/home/rmagno/dwl/chimerax/chimerax/lib/python3.6/site-packages/chimerax/shortcuts/shortcuts.py", line 292, in run f(s) File "/home/rmagno/dwl/chimerax/chimerax/lib/python3.6/site-packages/chimerax/shortcuts/shortcuts.py", line 1010, in save_spin_movie cmd = 'movie record ; turn y 2 180 ; wait 180 ; movie encode %s' % unused_file_name(basepath, suffix) File "/home/rmagno/dwl/chimerax/chimerax/lib/python3.6/site-packages/chimerax/shortcuts/shortcuts.py", line 1022, in unused_file_name files = listdir(dir) FileNotFoundError: [Errno 2] No such file or directory: '/home/rmagno/Desktop' Many thanks! Sincerely, Ramiro Magno
Change History (3)
comment:1 by , 8 years ago
Component: | Unassigned → Input/Output |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed.
Image save and movie save toolbar buttons will save in current working directory if ~/Desktop does not exist.
Note:
See TracTickets
for help on using tickets.
Alright, I'll see about making the spin movie toolbar button place the movie in your current directory if ~/Desktop does not exist.