{"action":"closed","issue":{"url":"https://api.github.com/repos/mottosso/maya-capture/issues/29","repository_url":"https://api.github.com/repos/mottosso/maya-capture","labels_url":"https://api.github.com/repos/mottosso/maya-capture/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/mottosso/maya-capture/issues/29/comments","events_url":"https://api.github.com/repos/mottosso/maya-capture/issues/29/events","html_url":"https://github.com/mottosso/maya-capture/issues/29","id":134200137,"number":29,"title":"RuntimeError: Unable to create movie file","user":{"login":"BigRoy","id":2439881,"avatar_url":"https://avatars.githubusercontent.com/u/2439881?v=3","gravatar_id":"","url":"https://api.github.com/users/BigRoy","html_url":"https://github.com/BigRoy","followers_url":"https://api.github.com/users/BigRoy/followers","following_url":"https://api.github.com/users/BigRoy/following{/other_user}","gists_url":"https://api.github.com/users/BigRoy/gists{/gist_id}","starred_url":"https://api.github.com/users/BigRoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigRoy/subscriptions","organizations_url":"https://api.github.com/users/BigRoy/orgs","repos_url":"https://api.github.com/users/BigRoy/repos","events_url":"https://api.github.com/users/BigRoy/events{/privacy}","received_events_url":"https://api.github.com/users/BigRoy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-17T07:08:38Z","updated_at":"2016-02-17T22:16:35Z","closed_at":"2016-02-17T22:16:35Z","body":"I'm getting an error when running capture's default settings.\r\n\r\n```python\r\nimport capture\r\ncapture.capture()\r\n```\r\n\r\nThis results in an error like:\r\n\r\n```\r\n# Error: Unable to create a movie file. It may be open by another application.\r\n# Unable to copy the video to its final destination. Check if the path is accessible.\r\n# Traceback (most recent call last):\r\n#   File \"<maya console>\", line 6, in <module>\r\n#   File \"C:\\Work\\pipeline\\dev\\git\\maya-capture\\capture.py\", line 159, in capture\r\n#     **playblast_kwargs)\r\n# RuntimeError: Unable to create a movie file. It may be open by another application.\r\n# Unable to copy the video to its final destination. Check if the path is accessible. # \r\n```\r\n\r\nI'm assuming this is a permissiong thing. I've seen this happen before when rendering to a Quicktime format from Maya. Some things that were the problems then:\r\n\r\n- Quicktime is not available on your system. Install Quicktime.\r\n- Quicktime renders into your %TMP% folder after which it copies the file. As such ensure that the `%TMP%` is correctly set up in your environment variables to a folder to which your user (that started Maya) has access and permissions. (Not sure whether Quicktime used `%TEMP%` or `%TMP%`)\r\n\r\nWill have a look if one of the above fixes it on my laptop.\r\nPosting this here so it can also be found by others (even if I happen to fix this quickly).\r\n\r\n---\r\n\r\nWindows 10\r\nMaya 2016"}}