You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What is error code -49

When I try to export my movie in iMovie 11 (9.0.4) I get the message that the operation cannot be performed "error code -49" . Can any one tell me what this is and how do I get round it?

MAcBook Pro

Posted on Oct 25, 2011 12:18 AM

Reply
34 replies

Nov 1, 2011 6:00 AM in response to NickJohnson9501

I am having the same problem. My movies imported from iphone4 macbook pro i7 8GB HD 750 GB more tham 500 GB free.

Have perian, flip for mac instaled. Had quicktime 7 Pro instaled but since migration to lion it does not work To.

Since Lion I can't export in 720p format. Only optimized format. Tried everything like this post

https://discussions.apple.com/thread/3398814?answerId=16474163022#16474163022

No results.

Please. If somebody knows how to solve the problem help.

Thanks,

Oct 25, 2011 12:34 AM in response to Gyppy101

Gyppy101 wrote:

... "error code -49" . Can any one tell me what this is and how do I get round it?

it means

opWrErr = -49, /*file already open with with write permission*/


I assume, you're using music stored on some NAS/external drive as iTunes-'Server' …?


workaround:

copy tracks needed for iM onto your local, internal harddrive, use this version.-

Oct 25, 2011 10:37 AM in response to Karsten Schlüter

I am having the same issue.
I am using iMovie 11 on a macbook pro with the latestest version and update of LION.


My videos shot on my new iphone 4s and imported into iPhoto the way I have done with every other iphone before this one for years. I have never had a problem at all. ever. Till today.


and when I built the project using the clips from my iphoto library and go to export to send to youtube in HD 720, it runs for 39 mins THEN gives me this error:


The project could not be prepared for publishing because an error occurred. (File already open with with write permission)


I really do not see how it could be a permission issue since it is a file in my harddrive from an apple phone to my apple iphoto used by my apple imovie...


and until today it worked perfectly... ARRRRRGGGGGHHH!


~jeff

Oct 30, 2011 1:56 PM in response to JCornett

Can someone please let me know what to do to fix this error. I have removed any network connections, rebooted to make sure nothing was working in the background but no luck. It just started doing this the other day. I thought it was because I converted a video to use but this is straight from the camera with no extra music only chapter markers and titles.


Help

Oct 31, 2011 7:18 PM in response to Gyppy101

I'm having the same issue with video directly imported from my Sony Handycam. I have been importing the video, creating projects, and exporting these projects using quicktime to my desktop for a month or two now. All of the sudden I was getting errors when trying to import video, they said clip failed to import. After retrying multiple time i finally got all the clips onto my macbook pro. Now when i try to export them I get the error. I have also deleted and re-imported the clips. I will try rebooting, and then export it again to somewhere other than my desktop.

Nov 1, 2011 4:01 PM in response to Gyppy101

OK,

I found a way to turn around.

1- download Houdini

2- start imovie and let the project ready

3- start movie encode

4- with Houdini and erase all quicktime hidden files on desktop, documents and movie folders. There were big files bigger than 6 GB, I erased all.


Tried this way to times and everything goes ok. I could export my movies complete in HD 720p !!!

I hope it works for you to.


Lets wait apple launch a definitive solution.

Nov 8, 2011 11:38 AM in response to Gyppy101

The Same issue, installed Lion to a clean Hard Drive, not upgrade, the system is fully updated, its a macbookpro 13 inch mid 2009 with imovie 2011.


I have imported the video directly from my iphone 4

edited as normally, no fancy effects

exported to 720p and i get the -49 error.


firt time exported to movies folder

second time to desktop

same result, error -49

i've also checked file permissions to write&read for everyone


Hope it get solved soon, any one with this config?

Nov 10, 2011 3:57 PM in response to Gyppy101

It seems like there's a number of these being posted all around the iMovie Discussion Group. So the solution posted most recently that seems to work for the largest number of people is this:


This requires using the Terminal app, in your Applications/Utilities folder


To turn off Time Machine snapshots type in the following command:


sudo tmutil disablelocal


The Mac will likely ask for your password, so type it in and hit the return key. The type the word, exit and hit return. Quit Terminal.

Mar 15, 2012 5:48 AM in response to Karsten Schlüter

Hello Karsten

you seem like you know what's up.


can you please help me with a problem... i am exporting a video made in Imovie and I have never had an issue ... that is until tonight


The error message reads as follows:


The project could not be prepared for publishing because an error occurred. (-50)



Could you please give me some advice? Or anyone ?


i would appreciate any help

thanks
Sue

Sep 12, 2012 9:00 AM in response to samwob

It's because Time Machine (on the MacBook only) tries to create something called a local backup, at the same time that iMovie is trying to export the movie. This locks the file so that iMovie can't write to it, so the export fails.


You don't have to turn off Time Machine, just disable the local backup feature, which is useless

anyway.


http://osxdaily.com/2011/09/28/disable-time-machine-local-backups-in-mac-os-x-li on/

What is error code -49

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.