Re: Black results from Aperture plugin
Re: Black results from Aperture plugin
- Subject: Re: Black results from Aperture plugin
- From: Garrick Meeker <email@hidden>
- Date: Thu, 16 Jun 2011 13:27:30 -0700
It's not quite as simple as memory issues. One customer reported that the image looked black in the overview, but he could reopen Aperture and export it again (without touching the picture) and it looked okay but the overview still shows garbage even after running a repair of the database.
A recent customer reports that after installing and using our plugin, the mail button in Aperture exports black. All other plugins export black too. He had to delete the preferences files in the Aperture folder.
I'm starting to suspect that there's a problem in the user defaults API. None of the examples use it but we do this:
[editManager setUserDefaultsValue:[NSNumber numberWithDouble:v] forKey:[NSString stringWithUTF8String:keyStr]];
id prop = [host->editManager() userDefaultsObjectForKey:[NSString stringWithUTF8String:i->keyStr]];
Is there an issue with reference counts in setUserDefaultsValue? I'm not sure what else we could be doing to corrupt Aperture so badly.
On Jun 16, 2011, at 10:14 AM, Darrin Cardani wrote:
>
> On Jun 16, 2011, at 9:10 AM, Darrin Cardani wrote:
>
>> On Jun 16, 2011, at 12:50 AM, Jim Tierney wrote:
>>
>>> Both of our Aperture plugins are, on a few customer's systems, returning a
>>> solid black image. We've been unable to reproduce it on any of our systems
>>> so we're stumped. One of the plugins mostly seems to do it on non-English
>>> systems. Weird. (yeah, I tried switching our test machines to German for a
>>> day or two, but still couldn't reproduce it)
>>>
>>> Has anyone had similar problems? Any ideas? The plugin seems to work fine,
>>> previews the results within the plugin fine, but the image it kicks back out
>>> to Aperture is black.
>>
>>
>> Jim,
>>
>> Is anything written to their console that might help give us a clue? Also, do they have Final Cut Studio installed in addition to Aperture? There have been some issues with the PluginManager.framework in the past when both are installed.
>
>
> Some further questions from the Aperture team:
>
>> I would look into how they are writing the image back out to disk.
>>
>> He should be able to ask the customer to look at the image they write back to disk. If that image is correct, then we'll have to look at possible Aperture issues.
>>
>> Is their preview 1:1? If it is a smaller preview, then maybe they are working fine at lower resolution but then failing to write the full resolution?
>>
>> Are the failures happening while running in 32 bit or 64 bit?
>>
>> Black images often mean memory issues.
>
> Darrin
> --
> Darrin Cardani
> email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden