From: Charlie Moad <cwmoad@gm...> - 2007-02-26 01:58:13
On 2/21/07, Anand Patil <anand@...> wrote:
> From the matplotlib-devel list:
> >On 2/14/07, Michiel Jan Laurens de Hoon <mdehoon@...> wrote:
> >> Dear Charles,
> >> I was trying to use your cocoa-agg backend for matplotlib, but it seems
> >> to have a problem to read Matplotlib.nib. Opening this nib with
> >> Interface Builder also gives an error. It appears that the problem is
> >> caused by the file keyedobjects.nib in the Matplotlib.nib folder. If I
> >> run plutil on keyedobjects.nib, it crashes. The other two files in
> >> Matplotlib.nib look fine. So I was wondering if it is possible that the
> >> keyedobjects.nib file included in matplotlib is damaged. If so, do you
> >> have a valid copy of this file?
> >> Many thanks in advance,
> >> --Michiel de Hoon.
> >We recently moved the data files, and I think the nib files got
> >interpreted as text instead of binary files. I grabbed an old copy
> >from a previous source release and committed them as binary. They
> >should work now.
> >- Charlie
> I just downloaded
> /trunk/matplotlib/lib/matplotlib/backends/Matplotlib.nib, rev 3022 on
> svn. When I tried to use it, this happened:
> In : figure()
> 2007-02-21 15:00:51.611 Python *** NSThread: ignoring exception
> '*** -[NSKeyedUnarchiver decodeObjectForKey:]: missing class information
> for object' that raised during delayed perform of target 0x3b308c0 and
> selector 'startWithBundle:'
> I wasn't able to open the nib package with the interface builder, and
> plutil crashed on keyedobjects.nib (I don't know what plutil is supposed
> to do). I'm using a PPC G4 running OS X 10.4.
> Thanks much,
Sorry it took some time, but I tried committing fresh non-binary nibs.
Please try again now.