Skip to main content
Participant
February 3, 2014
Question

always an error getting AIUserSuite, even in HelloWorlds and samples (OSX 10.9)

  • February 3, 2014
  • 2 replies
  • 846 views

Has anyone else come across this. I'm trying to get the samples and HelloWorld working from the documentation. On Xcode 5.0.2 and 4.6.3 on OSX 10.9 Mavericks.


I can build the plugins successfully without errors, but whenever a plugin tries to retrieve the AIUserSuite I get an error returned. All the other suites seem to load successfully, so if I remove the call to that suite, everything else seems to work, unless the plugin attempts to use the suite particular.


From the HelloWorld example the following returns the error:

error = sSPBasic->AcquireSuite(kAIUserSuite, kAIUserSuiteVersion, (const void**) &sAIUser);


The error i get is 1394689636 / ‘dF!S’, I’ve searched the headers and docs for a reference to this error code but found nothing. An internet search seems to pull up a bunch of stuff that users have experienced around user preferences with inbuilt plugins. I’ve tried deleting prefs and doing the things that generally solved user problems, but still the same issue. And I don’t have an issue with other plugins only ones I build.


Any suggestions where else to look? Is there something I need to include or link against to retrieve that suite? I wouldn’t expect it to have a dependancy on something in the plugin but it does contain access to UI controls so maybe…!?


Any pointers would be appreciated.

This topic has been closed for replies.

2 replies

Inspiring
June 12, 2014

I was able to resolve this by changing the suite version to 11 in AIUser.h

Participant
February 19, 2014

Did you made any progress on the dF!S error.  I'm seeing the exact same error when using Xcode 4.6.3 on Mavericks 10.9.  However on my plugin it gets past AIUserSuite without an error.  The error (dF!S) comes up when I try to load AIPathConstructionSuite.

mbrenAuthor
Participant
February 20, 2014

Didn't find a fix. But it appears to be an issue with the version number of the suite. I don't have the 17.0 SDK to confirm my suspicions but I think they maybe increased some of the verision numbers for the 17.1 update. The User suite problem I ignored as I didn't need it at the time or so far in my development, but I have had issues on Windows with some suites giving the same error, and I found decrementing the version number by 1 fixed it.

I'm guessing their plan is to only have one SDK available for CC as Adobe will keep their naive hat on as usual thinking everyone will update on the day its released. But when you've got a truck load of client work on your plate you never update a mission critical Application. To many people  have been burnt in the past.

If anyone has the old 17.0 sdk it would be great if they could confirm if any of the suite versions have changed between 17.0 and 17.1. The changes document only documents changes between 16-17.1.

So for your problem just try decreaisng the version number for the AIPathConstructionSuite and see if that help. What version of AI are you using if you are using 17.0.x then thats likely to be the problem as theres a chance the new rounded corner tool would have bumped the PathConstructionSuite.

I wrote a small wrapper round the suite loader that logs all versions that pokes around to see what other versions are available, and logs it. Can remove some of the mystery of a plugin just failing.

Inspiring
February 20, 2014

> I don't have the 17.0 SDK to confirm my suspicions but I think they maybe increased some of the verision numbers for the 17.1 update

  I have the 17.0 SDK and can email it to you if you like.

Just send me your email.  Brendon brendon@hotdoor.com