help-gnustep
[Top][All Lists]
Advanced

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

Re: weird way to change backend now


From: Richard Frith-Macdonald
Subject: Re: weird way to change backend now
Date: Sun, 28 Dec 2008 11:17:30 +0000


On 27 Dec 2008, at 10:40, Antoine Jacoutot wrote:

Hi.

(it seems my last mail never wetn through, so here it goes again; sorry
for any dup).


Since last GNUstep update (make, back, gui, base) I have the following
"problem".
Before, I could change my gnustep backend using:
$ defaults write NSGlobalDomain GSBackend back
Now, I need to use:
$ defaults write NSGlobalDomain GSBackend libgnustep-back-016

Otherwize, I get the following error:
2008-12-26 16:21:29.840 Calculator[6895] Did not find correct version of backend, falling back to std. 2008-12-26 16:21:29.842 Calculator[6895] NSApplication.m:286 Assertion
failed in initialize_gnustep_backend.  Unable to find backend back
Calculator: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:286 Assertion failed in initialize_gnustep_backend. Unable to find backend back

That's odd, because I would expect either of those two settings to work since, looking through the code, I see that the GSBackend value normally has 'libgnustep-' prepended if it's not already there and tries both with '-016' appended (if you are using version 0.16 of the library) and not appended.

So, for a setting of 'back' the code looks like it tries 'libgnustep- back-016' and 'libgnustep-back', while for a setting of 'libgnustep- back-016' the code should be trying 'libgnustep-back-016-016' and 'libgnustep-back-016'


If the second setting works and the first doesn't, it would seem to imply that the bundle has actually been called 'libgnustep- back-016-016', which seems very unlikely.

Perhaps your best bet is to run under gdb and set breakpoints in initialize_gnustep_backend and gnustep_backend_bundle and try stepping thriough those functions to see what is actually going on.




reply via email to

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