If your plugin has dynamic ports, you had a binding set up that its not re-creating/re-initialising on instantation. You have to make sure you handle the serializable keys.
if you plugin does not create dynamic ports, did you perhaps re-declare or re-name an output port, but the composition was saved in an earlier revision of your plugin? Now its has a serialized reference in the QTZ to connect a non existing output port. Test: Make a new comp, put an instance of your plugin patch in there. Save it. Re open it. Should be good. On Apr 27, 2010, at 1:51 AM, George Toledo wrote: > > > On Tue, Apr 27, 2010 at 1:32 AM, Rick Mann <[email protected]> wrote: > > > Macro Patch > Cannot create connection from ["outputState" @ "PlugInPatch_MyPlugIn_1"] to > ["Mission_State" @ "Patch_2"] > > I'm a little concerned at the "_1" after my plugin name. > > > The "_1" should just refer to the instance of the plugin in your composition > (if there were multiple, you would see _2, _3 and so on, if there were > connections that weren't restoring to them...). > > There's something weird, in that, it sounds like you had the output working > and connected in a previous build, and a new build doesn't have the output > going correctly? How did you get an output to input connection going to begin > with, in the qtz you're trying to re-open, if it's only the newer build that > you haven't been able to load yet, that actually has an output? > > I may have missed something in the rundown of the scenario... > > So, you've eradicated the plugin, at some point, definitely? > > You open some old qtz, and it doesn't restore? (The old plugin version that > you're attempting to erase?) > > At any point, have you tried seeing if it's in the patch list, instead of > having the opening of the old qtz be a litmus? Does it have the output you've > added? > > BTW, that kind of message doesn't get recorded in Console (probably at all), > but holding Option down while you select QC preferences should lead you to > the GFLogErrors, GFLogWarnings, and GFLogWindow options under (System). That > will lead you to a nifty cut and paste-able window that will usually have > whatever info pops up in exception window (and more). > > -George > > > > > Best, > > George Toledo > > > > On Tue, Apr 27, 2010 at 12:12 AM, Rick Mann <[email protected]> wrote: > > > > On Apr 26, 2010, at 20:44:37, vade wrote: > > > > > Are you making sure your plugin is compiling in both 32 and 64 bit? I've > > > seen XCode launch QC with a different architecture than what is selected > > > in the XCode get pulldown, vs what is selected in the get info pane on > > > QCs app. > > > > > > Also, are you using any frameworks in your QCPlugin that use @rpath > > > linker? I've also seen instances where XCode will load libraries that may > > > not load when you launch the app, do you get any other errors in the log > > > window, or in Console.app (Applications/Utilities/Console.app). > > > > Good suggestions, but I don't think that's it. Both Debug and Release > > configs are 64/32-bit universal, and in any case, I'm running the Debug > > build for both. > > > > I don't have any private frameworks. > > > > > > > > > > > > > > On Apr 26, 2010, at 11:26 PM, Rick Mann wrote: > > > > > >> I'm trying to verify that my QC custom patch runs correctly when > > >> launching QC directly, rather than as a result of "Debug" from within my > > >> patch's Xcode project. When I Debug, everything is fine. When I simply > > >> launch QC, it complains about not being able to restore the document, > > >> and you can see that the output I just added to my plugin isn't there, > > >> implying that an older version of the plugin is being fetched. > > >> > > >> But I've deleted every copy of my plugin that I can find, and it's still > > >> not working. I can see that the plugin in ~/Library/Graphics/Quartz > > >> Composer Plug-Ins gets replaced when I build, but I don't see any way to > > >> verify which plugin QC thinks it's using. > > >> > > >> Any suggestions? > > >> > > >> TIA, > > >> Rick > > >> > > >> _______________________________________________ > > >> Do not post admin requests to the list. They will be ignored. > > >> Quartzcomposer-dev mailing list ([email protected]) > > >> Help/Unsubscribe/Update your Subscription: > > >> http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com > > >> > > >> This email sent to [email protected] > > > > > > > _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Quartzcomposer-dev mailing list ([email protected]) > > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com > > > > This email sent to [email protected] > > > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

