Re: Weird Obj-c runtime problems
Re: Weird Obj-c runtime problems
- Subject: Re: Weird Obj-c runtime problems
- From: June Van Dyke <email@hidden>
- Date: Mon, 10 Feb 2003 15:27:45 -0500
On 2/10/03 2:09 AM, "Pierre-Olivier Latour" <email@hidden> wrote:
<snip>
>
when I launch iTunes, I get these messages in the console
>
>
Feb 9 22:54:16 iBook600 /Applications/iTunes.app/Contents/MacOS/iTunes:
>
objc: Both /Volumes/PolDisk/Library/iTunes/iTunes
>
Plug-ins/Goa.bundle/Contents/MacOS/Goa and
>
Library/Frameworks/PixelShoxEngine.framework/Versions/A/PixelShoxEngine have
>
implementations of class TextEditor.
>
<snip>
>
>
Feb 9 22:55:31 iBook600 /Applications/iTunes.app/Contents/MacOS/iTunes:
>
objc: thread is already initializing this class!
>
>
I don't understand this message... It happens even when I just launch iTunes
>
and I try the plug-in right away (without running the other plug-in first
>
for example, which would have initialized the classes).
>
The other plug-in, the one that links to the framework, runs fine though.
>
>
The weird thing is that if I move of the 2 plug-ins to:
>
~/iTunes/Plug-Ins/
>
Leaving the other in:
>
~/iTunes/Plug-Ins/Visual Plug-Ins
>
>
I still get the errors at launch in the console, but now both plug-ins work
>
fine and no more "thread is already initializing this class" error...
>
>
So is there any trick to improve this situation given I need to have both
>
the framework and the embedded versions of the engine?
My guess is that the first message causes the second. It says, "Loading
plugins... I have two plugins with the same class... Printing warning...
Plugins loaded."
Then, you select the first one, "Initializing first plugin... Ok; ready."
and it works. However, when you select the second one, you get,
"Initializing second plugin... Class name has already been init'ed in that
subfolder! Printing error...". But it seems that the error message is
misleading.
(A bad dramatization, but you get the point.)
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[[world currentLeaders] assassinate];
[[world citizens] terrorize];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.