• 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: really weird move file problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: really weird move file problem


  • Subject: Re: really weird move file problem
  • From: Murat Konar <email@hidden>
  • Date: Fri, 21 Sep 2007 11:49:34 -0700

shot in the dark: any "peculiar" characters in the paths? Can you move the file from the command line? In the Finder?

Does the failure occur if you don't modify the file? If you don't even open it?

_murat

On Sep 21, 2007, at 11:03 AM, Jon Hendry wrote:


Is there anything weird about the destination file pathname? Unusual characters? Spaces?


Does it happen with files of any size?

On Friday, September 21, 2007, at 12:11PM, "Jaime Magiera" <email@hidden> wrote:
Hi folks,

Very strange scenario: I'm modifying .mov files at the Atom level,
then moving the modded file out of /tmp and into user space with ...

	NSAssert([[NSFileManager defaultManager] movePath:workingFilePath
                                                   toPath:[self
resultFilePath]
                                                  handler: nil],
@"could not move the media file");	


On a certain machine, when moving to a second partition, or a connected firewire device, the file move freaks out and just runs and runs and runs, with no errors thrown. There is a tmp file in the final location (the usual "ADFSDL-DUDTYDSHSO" type generated name). I have to force quit my app. The resulting file is, of course, unusable. There are no errors in the log. If I select a location on the same partition for the final file, the move works fine.

At this point, it only appears to happen on one machine -- a MacBook
Pro with HFS+ using GUID partition table. (However, code works fine
on my MacBook Pro with the same formatting)

Can anyone think of possible reasons for this? Any way of
troubleshooting? I'm stumped.

Jaime Magiera
Sensory Research
http://www.sensoryresearch.net




_______________________________________________

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


_______________________________________________

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
_______________________________________________

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


References: 
 >really weird move file problem (From: Jaime Magiera <email@hidden>)
 >Re: really weird move file problem (From: Jon Hendry <email@hidden>)

  • Prev by Date: Re: really weird move file problem
  • Next by Date: Re: really weird move file problem
  • Previous by thread: Re: really weird move file problem
  • Next by thread: Re: really weird move file problem
  • Index(es):
    • Date
    • Thread