• 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
NSFileManager copyItemAtPath:toPath:error: error on 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileManager copyItemAtPath:toPath:error: error on 10.6


  • Subject: NSFileManager copyItemAtPath:toPath:error: error on 10.6
  • From: Gideon King <email@hidden>
  • Date: Tue, 15 May 2012 13:42:38 +1000

Hi, I am having a problem with using NSFileManager's copyItemAtPath:toPath:error: in OSX 10.6 - this does not cause a problem on 10.7. The code being executed is part of the current version of Sparkle. The following logs show items successfully copied:

copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/.com.apple.timemachine.supported to: /Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/.com.apple.timemachine.supported
copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/.DS_Store to: /Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/.DS_Store
copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/.fseventsd to: /Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/.fseventsd
copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/.vbt5 to:/Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/.vbt5
copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/Applications to:/Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/Applications
copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/DMG_background.png to:/Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/DMG_background.png

Then it gets to this one:
copy from: /Volumes/E010E195-C798-4CF5-9D87-F29B33E4481F/NovaMind5.app to: /Users/gideon/Library/Application Support/NovaMind 5/NovaMind 5 5.3.0/NovaMind5.app

which fails with this error:
Error Domain=NSPOSIXErrorDomain Code=7 UserInfo=0x11bdc61f0 "The operation couldn’t be completed. Argument list too long"


I have used previous versions of Sparkle with no issues, and have not changed my method of producing the disk image that is being installed. I'm not clear as to what the argument list is that could be too long.

Any suggestions as to what could be going wrong?


TIA

Gideon








_______________________________________________

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: NSFileManager copyItemAtPath:toPath:error: error on 10.6
      • From: Gideon King <email@hidden>
  • Prev by Date: Re: Bottom-edge constraint not enforced in IB but is in runtime?
  • Next by Date: Pinching an iPad
  • Previous by thread: Re: Thread Deadlock
  • Next by thread: Re: NSFileManager copyItemAtPath:toPath:error: error on 10.6
  • Index(es):
    • Date
    • Thread