discuss-gnustep
[Top][All Lists]
Advanced

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

Re: TextEdit : critical error prevents loading


From: Patrick CARDONA
Subject: Re: TextEdit : critical error prevents loading
Date: Mon, 09 Jul 2018 15:47:48 +0200
User-agent: GNUMail (Version 1.2.3)

On 2018-07-08 23:14:13 +0200 Yavor Doganov <yavor@gnu.org> wrote:

Hi Davor,

I answer in the flow of your message :

> В Sun, 08 Jul 2018 18:08:09 +0200, Patrick CARDONA написа:
> 
>> When I try to start TextEdit, a critical error message is shown :
>> 
>> "NSInvalidArgumentException: Tried to add nil to array"
> 
> You didn't specify the version of TextEdit, I assume it is 5.0-2?
In "Info-gnustep.plist", I got this :
> ApplicationRelease = 5; (it is not exactly 5.0-2)

> Does it happen if you move ~/GNUstep/Defaults/TextEdit.plist away?
When I rename "Info-gnustep.plist" to "Info-gnustep.plist.back", I get these 
messages :

> patrick@patrick-Macmini1:/usr/lib/GNUstep/Applications/TextEdit.app/Resources$
>  
> ls
> accessories-text-editor_128x128x32.png  DocumentWindow.nib  Info-gnustep.plist
> accessories-text-editor.icns            English.lproj
> patrick@patrick-Macmini1:/usr/lib/GNUstep/Applications/TextEdit.app/Resources$
>  
> sudo mv Info-gnustep.plist Info-gnustep.plist.back
> [sudo] Mot de passe de patrick :
> patrick@patrick-Macmini1:/usr/lib/GNUstep/Applications/TextEdit.app/Resources$
>  
> openapp TextEdit
> 2018-07-09 14:36:52.540 TextEdit[3330:3330] Bad application class '(null)' 
> specified
> 2018-07-09 14:36:52.864 TextEdit[3330:3330] styleoffsets ... guessing offsets
> 2018-07-09 14:36:52.864 TextEdit[3330:3330] styleoffsets ... guessing offsets

And then the app nether shows up, like it happens to the print panel  within 
Ink.

>  If it 
> doesn't, it is a bug that I attempted to fix (migrating some defaults to the 
> new types) but apparently the fix is not complete.
> 
> If you still get the exception, 

Well, no more exception thrown, but no app at all.

this could be related to your printing 
> problem since TextEdit does setup printing on startup (unlike Ink). Could you 
> please install gdb, libgnustep-base1.25-dbgsym, libgnustep-gui0.26-
> dbgsym, textedit.app-dbgsym, libobjc4-dbg and run the app like this (in a 
> terminal):

I have already gdb installed, but I could not install the *.dbg neither 
*.dbgsym because there seem not available within Ubuntu :
This is the list of available packages which begin with "libgnustep-" :
libgnustep-base1.25  libgnustep-dl2-0d    libgnustep-gui0.26
libgnustep-base-dev  libgnustep-dl2-dev   libgnustep-gui-dev

So these steps are not avaible until now in my context.
> $ gdb TextEdit
> (gdb) break -[NSException raise]
> ...Answer "y" to the question...
> (gdb) r
> 
> When you get back to the gdb prompt, type "bt" and send the output.
> Thanks.

Where Could I find the symbols files ?

Bye!
Patrick




reply via email to

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