Re: Console error message: failed to load window nib file
Re: Console error message: failed to load window nib file
- Subject: Re: Console error message: failed to load window nib file
- From: Tony Cate <email@hidden>
- Date: Sun, 11 Jun 2006 11:07:47 -0500
Thanks for the reply, Tommy. Please see below...
On Jun 11, 2006, at 10:19 AM, Tommy Nordgren wrote:
On 11 jun 2006, at 16.53, Tony Cate wrote:
I have a customer running an "original Titanium PowerBook G4 400
mHz with a gig of RAM...(with) the latest version of Tiger". He
reported a program hang at a point where a progress view displays
and then does nothing. The same progress view is used in a number
of spots so I made it a class and instantiate it when needed.
The implementation has be tested successfully on ppc Macs, Intel
Mac under Rosetta, and Intel Macs natively. Yet, this customer is
having problems and getting the failed to load console error message.
I searched the archives and found some suggestions:
* (is) The "File's Owner" of the nib is NSWindowController - Yes
* (is) The "File's Owner" has it's window outlet connected to the
window - Yes
* (is) The name of your nib file in the code is correct - Yes
There was also a note about a possible permissions issue. How
would I check that? And, how would I fix it if that is the problem?
Any other suggestions on how to diagnose and or fix this problem
would be greatly appreciated.
Tony
3 Cats And A Mac
If your progress window is shown, then I think the nib that fails
loading is another of your nibs.
Have your custumer send you the actual log text.
Sorry, I should have posted this with the original message: -
[ProgressViewController loadWindow]: failed to load window nib file
(and a path).
The nib is present. And, of course, there's the oddity that the
window is actually displayed.
As far as permissions are concerned, check that owner group ant
other all have read perimission
for your nib and therein nested files, and that your top level nib
(WHICH IS ACTUALLY A DIRECTORY)
have execute permission for all users. to check , assuming
Untitled.nib in your desktop,
give these commands in terminal:
ls ~/Desktop | grep Untitled.nib
drwxr-xr-x 5 emac emac 170 Jun 11 17:08 Untitled.nib
ls ~/Desktop/Untitled.nib
-rw-r--r-- 1 emac emac 110 Jun 11 17:08 classes.nib
-rw-r--r-- 1 emac emac 586 Jun 11 17:08 info.nib
-rw-r--r-- 1 emac emac 13804 Jun 11 17:08 keyedobjects.nib
The permissions all check out.
Tony
3 Cats And A Mac
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden