discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: errors in Ink


From: Eric Wasylishen
Subject: Re: errors in Ink
Date: Wed, 25 Jan 2012 16:26:26 -0700

On 2012-01-25, at 4:14 PM, Germán Arias wrote:

> On 2012-01-25 16:28:49 -0600 Riccardo Mottola <riccardo.mottola@libero.it> 
> wrote:
> 
>> Hi,
>> I have Ink which is running with the WinClassic theme If I start Ink, no 
>> special error happens. However, I wanted to reverto to the standard theme 
>> and I open the Info menu. My console gets inundated by messages :
>> 2012-01-25 23:22:10.199 Ink[3054] 
>> [NSConstantString-stringByAppendingPathExtension:] cannot append extension 
>> 'tiff' to empty string
>> 2012-01-25 23:22:10.201 Ink[3054] 
>> [NSConstantString-stringByAppendingPathExtension:] cannot append extension 
>> 'tif' to empty string
>> 2012-01-25 23:22:10.203 Ink[3054] 
>> [NSConstantString-stringByAppendingPathExtension:] cannot append extension 
>> 'pnm' to empty string
>> 2012-01-25 23:22:10.205 Ink[3054] 
>> [NSConstantString-stringByAppendingPathExtension:] cannot append extension 
>> 'ppm' to empty string
>> 2012-01-25 23:22:10.206 Ink[3054] 
>> [NSConstantString-stringByAppendingPathExtension:] cannot append extension 
>> 'gif' to empty string
>> <... and many more...>
> 
> All this is caused by the change I did in GSInfoPanel.m. When 
> "ApplicationIcon" is not
> found. Is called [NSImage imageNamed: nil], and this cause all previous logs. 
> But If
> NSImage should display this logs messages, I don't know. However, this is not 
> related
> with the core dump you report.

I added a guard in +[NSImage imageNamed:] so it will not attempt to lookup a 
path if it is 
called with nil as the image name.

Eric

> 
>> if I then click on the theme to change it, I get a core dump.
>> Riccardo
>> _______________________________________________
>> Discuss-gnustep mailing list
>> Discuss-gnustep@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]