discuss-gnustep
[Top][All Lists]
Advanced

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

Re: .gorm vs .gmodel


From: Stephen Brandon
Subject: Re: .gorm vs .gmodel
Date: Mon, 11 Feb 2002 15:45:52 +0000

On Monday 11 Feb 2002 10:26 am, Richard wrote:

> > So what I am asking is if GNUstep is able to natively use gorm and
> > gmodel
> > files as nib replacements.
>
> Yes.

OK, great, thanks. I have now tried to convert some nibs from SndKit and use 
them in GNUstep, but so far no success. GNUstep is certainly picking up the 
right gmodel file and is trying to read it, but evidentally coming up against 
errors or something.

[there's also a bug in gui/NSBundleAdditions.m which for *some* examples 
tries to load a gmodel as a nib (gorm?) and fails - I'll send patch to 
bug-gnustep]

What's the best way to debug this? I have tried knocking out large chunks of 
the gmodel file until I find the bit that seems to be choked on, but there 
does not seem to be any rhyme or reason to what these things are - the lines 
in question appear for other objects above the one that gets choked on, but 
seem to be parsed ok the first time.

Is this an example of the sort of editing that other people have to do to 
converted gmodel files, or is this just buggy behaviour?

(gdb) run
Starting program: 
/disk3/sbrandon/MusicStuff/sndkit/SndKit/Applications/TwoWaves/TwoWaves.app/ix86/linux-gnu/gnu-gnu-gnu/TwoWaves
Feb 11 15:37:34 TwoWaves[24986] loading model file 
/disk3/sbrandon/MusicStuff/sndkit/SndKit/Applications/TwoWaves/TwoWaves.app/Resources/English.lproj/TwoWaves.gmodel...
.:1: error: Extra content at the end of the document
 
^
Feb 11 15:37:34 TwoWaves[24986] not a property list - failed to parse as XML
Feb 11 15:37:34 TwoWaves[24986] Cannot load the main model file 'TwoWaves'

(I can provide full examples if anyone wants them, but you'll also need the 
MusicKit and SndKit frameworks, available on CVS)

Stephen Brandon



reply via email to

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