discuss-gnustep
[Top][All Lists]
Advanced

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

Re: ProjectCenter running or building


From: Fred Kiefer
Subject: Re: ProjectCenter running or building
Date: Sun, 29 Dec 2019 21:31:48 +0100

Thank you for your tests. I had a look into the NSBundle code in base and from 
that I think that we have an issue with frameworks here. Is clang supporting 
frameworks?
The code in base doesn’t have any log statements that we could use. So this 
means you will have to switch to a debugger and run ProjectCenter with a 
breakpoint on NSBundle.m:2280 and wait until we get around with the name 
„LogPanel“ and see whether the framework version gets added correctly.

Fred


> Am 29.12.2019 um 21:10 schrieb Patryk Laurent <plaurent@me.com>:
> 
> On Dec 29, 2019, at 11:16, Fred Kiefer <fredkiefer@gmx.de> wrote:
>>> ...
>> 
>> Looks like things go wrong earlier than I thought. Could you try with the 
>> argument „—GNU-Debug=NIB“ and only report back the results shortly before 
>> „PCLogController[init]: error loading NIB file!“?
>> 
> 
> Here is the NIB log:
> 
> 2019-12-29 19:58:04.303 ProjectCenter[20701:20701] Path for NIB file 
> ProjectCenter.gorm
> 2019-12-29 19:58:04.309 ProjectCenter[20701:20701] Did not find NIB resource 
> ProjectCenter.gorm
> 2019-12-29 19:58:04.313 ProjectCenter[20701:20701] Path for NIB file 
> ProjectCenter.gorm
> 2019-12-29 19:58:04.339 ProjectCenter[20701:20701] Path for NIB file LogPanel
> 2019-12-29 19:58:04.339 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.340 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.341 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.342 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.343 ProjectCenter[20701:20701] Did not find NIB resource 
> LogPanel
> 2019-12-29 19:58:04.343 ProjectCenter[20701:20701] Path for NIB file LogPanel
> 2019-12-29 19:58:04.344 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.344 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.345 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.346 ProjectCenter[20701:20701] Checking type LogPanel
> 2019-12-29 19:58:04.347 ProjectCenter[20701:20701] Did not find NIB resource 
> LogPanel
> 2019-12-29 19:58:04.347 ProjectCenter[20701:20701] PCLogController[init]: 
> error loading NIB file!
>> 
>> From looking at the code in NSBundleAdditions.m I would expect that the gore 
>> file isn’t found. For me that NIB file is located at 
>> „/usr/GNUstep/Local/Library/Frameworks/ProjectCenter.framework/Versions/0.6.2/Resources/English.lproj/LogPanel.gorm“.
>>  Perhaps you should check whether a directory exists there and what it 
>> contains.
> 
> 
> The directory is indeed there, and when I look inside that directory I find 
> the usual suspects (data.classes, data.info, and objects.gorm). But I don’t 
> see a definition for a “LogPanel” object in data.classes, it only contains 
> PCLogController — would we expect LogPanel to be in there?
> 
> patryk@pinebook:~/Desktop/gnustep-build/ubuntu-16.04-clang-9.0-runtime-2.0-ARM/GNUstep-build/apps-projectcenter/ProjectCenter.app$
>  ls -l 
> /usr/GNUstep/Local/Library/Frameworks/ProjectCenter.framework/Versions/0.6.2/Resources/English.lproj/LogPanel.gorm/
> total 12
> -rwxrwxr-x 1 patryk patryk  178 Dec 29 16:54 data.classes
> -rwxrwxr-x 1 patryk patryk  210 Dec 29 16:54 data.info
> -rwxrwxr-x 1 patryk patryk 2226 Dec 29 16:54 objects.gorm
> 
> patryk@pinebook:/usr/GNUstep/Local/Library/Frameworks/ProjectCenter.framework/Versions/0.6.2/Resources/English.lproj/LogPanel.gorm$
>  cat data.classes
> {
>    "## Comment" = "Do NOT change this file, Gorm maintains it";
>    PCLogController = {
>       Actions = (
>       );
>       Outlets = (
>           panel,
>           textView
>       );
>       Super = NSObject;
>    };
> }
> 
> Patryk
> 
> 
> 
> 
> 




reply via email to

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