bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSBundle patches breaks some app


From: Quentin Mathé
Subject: Re: NSBundle patches breaks some app
Date: Wed, 10 May 2006 13:15:27 +0200

Le 7 mai 06 à 15:20, Richard Frith-Macdonald a écrit :

On 7 May 2006, at 09:04, Richard Frith-Macdonald wrote:

On 7 May 2006, at 07:37, Charles Philip Chan wrote:

The problem is with loading the main nib file. For example when
starting EdenMath, I get:

2006-05-07 02:28:41.189 EdenMath[23153] Cannot load the main model
file 'MainMenu'

Rolling back to a SVN version of base earlier than 2006-05-05 solves
the problem.

I have no problem with loading the main nib file ... The app starts without warning messages, the menu displays, and a main window (calculator panel with a single line text field, three radio buttons, and a load of other buttons) displays.

I just tried building the latest GNUstep from SVN on windows (mingw windows-xp), then building/running EdenMath there. I had to create a missing variable 'signgam'' to get the code to compile, but once I had done that, the application ran without difficulty. So the current svn code appears to be fine on both my GNU/Linux system and on windowsxp/mingw32

Perhaps you can run under gdb and find where the bundle loading process is failing on your system?

I have observed the same problem yesterday with Ubuntu Linux (Dapper Drake) on ppc. However bizarrely when I compile the application with 'debug=yes', the main model file loads fine when I launch the application.

I can reproduce the problem with any applications by simply compile it with 'make' and trying to run it. I just got the error reported by Charles each time. The only exception is Gorm that loads fine with or without 'debug=yes'

I cannot debug the problem because GDB doesn't work on ppc with Objective-C except for stack trace, not really helpful here because no exception is thrown.

Quentin.

--
Quentin Mathé
qmathe@club-internet.fr





reply via email to

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