discuss-gnustep
[Top][All Lists]
Advanced

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

base-1.5.1 cannot load XML gmodel file? (RE: how to load .gmodel file?)


From: Naomaru Itoi
Subject: base-1.5.1 cannot load XML gmodel file? (RE: how to load .gmodel file?)
Date: Tue, 3 Dec 2002 16:08:11 -0800

Hi, everyone,

> > > So what I have IS a .gmodel file ... Great.
> > > Now it brings me to the next question ...
> > >
> > > How to load the .gmodel file (MainMenu.gmodel)? 
> > > I have put a line NSMainNibFile = "MainMenu" in
> > > CurrencyConverter.app/Resources/Info-gnustep.plist.
> > > The application tries to read the file, and fails.
> > "NSGenericException:
> > > Parse failed at line 1 (char 2) - unexpected character in
> > string".  Then
> > > "Cannot load the main model file 'MainMenu'".
> > > The first line of MainMenu.gmodel looks like:
> > > <?xml version="1.0 encoding="UTF-8"?>
> > >
> > > So it doesn't like "?" mark ??
> > >
> > > Am I loading .gmodel in a wrong way?
> >
> > Hmmm...  not sure why that's there.   Could you send me a
> > copy of the .gmodel
> > file??
>
> Sure.  Please see attached.
> I have been using base-1.4.1.  Adam has pointed out that (not
> up-to-date base) may be a problem. 

I have updated my environment to the newest releases:
make 1.5.1
base 1.5.1
gui 0.8.3
back 0.8.3

But I still encounter the same problem when my program tries to load the attached .gmodel file.

"Loading model file /export/home/naomaru/src/gnustep/CurrencyConverter/CurrencyConverter.app/Resources/MainMenu.gmodel..."

"Critical Error in CurrencyConverter.  NSGenericException: Parse failed at line 1 (char 2) - unexpected character in string."

"Cannot load the main model file 'MainMenu'"

Now, what should I do?
We would like to develop an application on both MacOSX-Cocoa and Solaris-GNUstep, so nib2gmodel is essential ...

Thanks.

 

Attachment: MainMenu.gmodel
Description: Binary data


reply via email to

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