|
From: | David Relson |
Subject: | Problem with NSImage |
Date: | Sun, 21 Jul 2002 12:00:48 -0400 |
Greetings,Recently I ran across references to GNUMail and GMines and decided to resurrect my GNUstep installation. I did a cvs update of GNUstep to get the latest code, downloaded GNUMail and GMines, and rebuilt everything. Both programs start up and generate a variety of logging messages. The most common is:
NSImage: composite failed due to NSInvalidArgumentException: Couldn't find encoding type for selector scaleBy::.
I've added some NSLog() statements to learn more about what's going on. Here's a summary:
-[NSImage bestRepresentationForDevice:] iterates through [self representations] and selects an NSBitmapImageRep, which it returns. -[NSImage size] invokes method size for this NSBitmapImageRep and NSImage's instance variable _size is assigned width and height values of 0 and 1078984704. These values are used by -[NSImage _doImageCache] in a call to function NSMakeRect and nil is returned for the new rectangle.
Anybody have a fix??? Thanks. David
[Prev in Thread] | Current Thread | [Next in Thread] |