gnustep-dev
[Top][All Lists]
Advanced

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

Re: NIB loader problem


From: Luboš Doležel
Subject: Re: NIB loader problem
Date: Tue, 11 Dec 2012 20:18:22 +0100
User-agent: K-9 Mail for Android

Awesome, thanks a lot!

Gregory Casamento <address@hidden> napsal(a):
Part of the issue is that nib files are now "compiled" resources.   The source of this nib is a xib file of the same name which you, unfortunately, don't have access to. 

I need to make the necessary changes in Gorm and GNUstep to read .nib files which have been compiled and that has not been done yet.  The changes aren't extensive as this is just what used to the "objects.nib" file with the name of the xib and without a directory wrapper.

I am a little concerned over the assertion failure, though, I will take a look into that once I've made the changes to load the nib file.  

Thanks for your patience,
Greg


On Tue, Dec 11, 2012 at 8:16 AM, Luboš Doležel <address@hidden> wrote:
Hi,

as part of my OS X loader, I'm not trying out various Cocoa apps, one of them being Bayon.

https://itunes.apple.com/us/app/bayon/id532348700?mt=12

When starting the application under GNUstep/Linux, I get the following error:

2012-11-06 12:57:34.728 Bayon[10234] NSView.m:4685  Assertion failed in NSSplitView(instance), method initWithCoder:. NSInternalInconsistencyException
2012-11-06 12:57:34.729 Bayon[10234] Exception occured while loading model: NSView.m:4685  Assertion failed in NSSplitView(instance), method initWithCoder:.  NSInternalInconsistencyException
2012-11-06 12:57:34.729 Bayon[10234] Failed to load Nib
2012-11-06 12:57:34.730 Bayon[10234] BNMainWindowController: could not load nib named BNMainWindowController.nib

The assertion in question is: [sub class] != [NSCustomView class]

The problematic .nib file is attached. For obvious reasons, I can mail the whole commercial app here.

I can't absolutely rule out a bug in my loader (I do have unit tests though), but Gorm not being able to load the file either hints at a possible bug in GNUstep.

Could someone in the know please quickly take a look at it?

Thanks a lot!
--
Luboš Doležel

_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev




--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com

--
Luboš Doležel
reply via email to

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