<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Ralph,<div class=""><br class=""></div><div class=""> The problem is that Microsoft OneDrive has decided to move your Desktop folder so ChimeraX cannot find it.</div><div class=""><br class=""></div><div class=""> So you get "Output directory does not exist" for C:/Users/r.loring/Desktop when you try to save your movie. I am not sure what you used to save that movie because it is doing a rock command and ChimeraX does not have any button to save a rocking movie, so you must have opened a script that explicitly listed that non-existent directory.</div><div class=""><br class=""></div><div class=""> Then it appears you tried the Snapshot toolbar button which tries to save an image on the desktop and it gave "Permission denied writing file: C:/Users/Public/Desktop/image1.png". That is because Chimera asked to save to "~/Desktop" and somehow OneDrive has made that turn into C:/Users/Public/Desktop which you are not allowed to write files to.</div><div class=""><br class=""></div><div class=""> Then you proceeded to try to save to various other directories that don't exist. From what I read online about OneDrive, if it is synchronizing your desktop icons to the cloud (which you can turn off) it will move your personal desktop to C:/Users/r.loring/OneDrive/Desktop. But I see from the commands you tested that gave an error that the folder does not exist. Then you tried "C:/Users/r.loring/OneDrive - Northeastern University/Desktop". Maybe that would have worked by you would have to use quotation marks in the ChimeraX command because it has spaces in the path.</div><div class=""><br class=""></div><div class=""> In short ChimeraX would have to have special code to figure out where OneDrive has put your Desktop directory to get the toolbar snapshot and "spin movie" icons to be able to write their output file. It doesn't have that. Searching online I was not able to find out how in Python you can figure out what OneDrive has done with your Desktop folder. If I do figure it out some day I can fix ChimeraX to use that. Here is the bug report from 9 months ago where I tried to figure out this OneDrive problem, but so far no solution.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/4567" class="">https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/4567</a></div><div class=""><br class=""></div><div class="">If anyone knows the Python magic to find the Desktop directory location even when OneDrive moves it somewhere, tell me and I can use that in ChimeraX.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 3, 2022, at 2:26 PM, Ralph Loring via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Elaine,</div><div class="">Great! That works! I can't easily get to my desktop on my office computer unless I go to OneDrive, but it works if I point to the Videos folder instead. I was trying to do that, but didn't know about the semicolons.<br class=""></div><div class="">Thanks so much!! Now if I can just generalize this as directions for the students without knowing much about their directory structures...</div><div class="">Ralph Loring<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 3, 2022 at 2:18 PM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ralph,<br class="">
I don't know of a solution to change the behavior of the icon (maybe one of the programmers can suggest something), but I see in the documentation<br class="">
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/tools/toolbar.html#home" rel="noreferrer" target="_blank" class="">https://rbvi.ucsf.edu/chimerax/docs/user/tools/toolbar.html#home</a>><br class="">
<br class="">
... that it runs a command like:<br class="">
<br class="">
movie record; turn y 2 180; wait; <br class="">
movie encode ~/Desktop/movieN.mp4<br class="">
<br class="">
(all on one line with multiple command separated by semicolons, where N is automatically incremented so that you can save multiple files instead overwriting). <br class="">
<br class="">
Thus one possibility is instead of clicking the icon, to issue that same set of 3 commands, again all in one line separated by semicolons, except change the output movie pathname "~/Desktop/movieN.mp4" to a different pathname. It should be a folder location that exists, and filename ending in ".mp4" ... also the whole pathname would need to be enclosed in quotation marks if it contains spaces. Maybe that is too difficult, but the only solution as a nonprogrammer that I can think of at this time.<br class="">
<br class="">
Sorry for the inconvenience.<br class="">
<br class="">
I hope this helps,<br class="">
Elaine<br class="">
-----<br class="">
Elaine C. Meng, Ph.D. <br class="">
UCSF Chimera(X) team<br class="">
Department of Pharmaceutical Chemistry<br class="">
University of California, San Francisco<br class="">
<br class="">
> On Feb 3, 2022, at 5:47 AM, Ralph Loring via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class="">
> <br class="">
> Hi,<br class="">
> I've given my students an assignment due on Monday which includes making a spin movie. About a third of the class tells me that they can see the molecule spinning while the movie is compiling, but that they can't find where the mp4 file goes. I have no trouble using my laptop, but if I use my office desktop computer, I have the same problem (see picture). The first two error messages were endogenously generated by ChimeraX, the last 3 were me trying to force the output directory. When I spoke to our IT people, they informed me that university computers are not allowed to save files to the public desktop, but prefer that it go to the user desktop in Onedrive. My question is whether there's a command that I can give before running a spin movie that specifies in what directory the output file should be put?<br class="">
> Thanks,<br class="">
> Ralph<br class="">
<br class="">
</blockquote></div>
_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></body></html>