• 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: Trying to get my head around an NSGenericException/Apple Event error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to get my head around an NSGenericException/Apple Event error


  • Subject: Re: Trying to get my head around an NSGenericException/Apple Event error
  • From: has <email@hidden>
  • Date: Sun, 23 Dec 2007 20:58:33 +0000

email@hidden wrote:

I cannot reproduce this problem myself, but I've been getting a lot of bug
reports lately that all boils down to the same thing: an
NSGenericException raised by an Apple Event returning an -1708 error. The
Apple event is sent to iTunes using ScriptingBridge.
[...]
Similar exceptions are thrown for other operations as well, for example when
retrieving user playlists, so it's not just the search part causing
problems.


I would suggest narrowing down the list of possible causes by sending said users an AppleScript that performs the same operation as your ObjC code and asking them to check if it works or not. That should tell you if the problem lies with iTunes or with Scripting Bridge. If it's the former, ask for help on the AppleScript-users list, as that's where the most experienced application scripters tend to hang. If it's the latter, file a bug report and/or try another API; e.g. objc- appscript, AEBuildAppleEvent.

Also ask for Mac OS and iTunes versions if you haven't already done so, just in case there's a pattern there.

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________

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


  • Prev by Date: Re: MyRecorder example - compressing video
  • Next by Date: Re: NSHTTPCookieStorage notification troubles
  • Previous by thread: Custom view flashes when resizing frame
  • Next by thread: MySQL
  • Index(es):
    • Date
    • Thread