• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to Identify a "Phantom" Write Operation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Identify a "Phantom" Write Operation


  • Subject: Re: How to Identify a "Phantom" Write Operation
  • From: douglas welton <email@hidden>
  • Date: Wed, 05 Sep 2012 14:51:38 -0400

Graham,

I reconfigured my code to load the cached copy of the user-selected movie with the QTMovieResolveDataRefsAttribute set to "NO.

I don't get any new/additional messages sent to the console.  In your experience, is this an indication that i am *not* writing to the source QT file (via some mysterious effort to resolve the data reference)?

curiously,

douglas

On Sep 4, 2012, at 6:47 PM, Graham Cox wrote:

>
> On 05/09/2012, at 8:17 AM, douglas welton <email@hidden> wrote:
>
>> 2) I copy the selected file to the ~/Library/Caches folder within my sand box container (using NSFileManager's -movieItemAtURL: method).
>
>
> Well, that's not actually copying the file. Not sure if that makes a difference though.
>
> QT files can sometimes contain references to other media on the disk. I've noticed that can fall foul of sandboxing, so you need to open the QT file without resolving references. The message sandboxd writes to the console in this case will tell you if that is the issue.
>
> --Graham
>
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to Identify a "Phantom" Write Operation
      • From: "Stephen J. Butler" <email@hidden>
    • Re: How to Identify a "Phantom" Write Operation
      • From: Graham Cox <email@hidden>
References: 
 >How to Identify a "Phantom" Write Operation (From: douglas welton <email@hidden>)
 >Re: How to Identify a "Phantom" Write Operation (From: Graham Cox <email@hidden>)

  • Prev by Date: NSButton Action Binding with "self"
  • Next by Date: Re: Best data source for table view in document window
  • Previous by thread: Re: How to Identify a "Phantom" Write Operation
  • Next by thread: Re: How to Identify a "Phantom" Write Operation
  • Index(es):
    • Date
    • Thread