Page 1 of 1

Latest.log and [oxp-standards.deprecated]

Posted: Sat Aug 01, 2015 10:44 pm
by Lone_Wolf
Using a developer build my latest.log tends to have lots of [oxp-standards.deprecated] messages.

Some are related to oxps i maintain but haven't updated yet, others to oxps without active maintainers.

Wiki suggests you can use logcontrol.plist to suppress such messages, but logcontrol.plist has many settings and i haven't found an explanation of them.

How can i suppress [oxp-standards.deprecated] globally, per OXP or per script ?

Edit :

/usr/share/oolite/Resources/Config/logcontrol.plist has this :

Code: Select all

	$oxpDevelopment             = no;       // Warnings useful to OXP writers but not in general play
That doesn't make oxp-standards messages go away though.
i build oolite from source using make -f Makefile release to get a developer build .

Re: Latest.log and [oxp-standards.deprecated]

Posted: Sat Aug 01, 2015 11:28 pm
by Norby
You can set enforce-oxp-standards to 0 in ~/GNUstep/Defaults/.GNUstepDefaults within the oolite section.

Re: Latest.log and [oxp-standards.deprecated]

Posted: Sun Aug 02, 2015 10:58 am
by Lone_Wolf
In ~/GNUstep/Defaults/.GNUstepDefaults that setting has no effect.

However, if i put it in ~/GNUstep/Defaults/oolite.plist it DOES work.

Either Oolite has changed where those settings are stored/read , or a change in gnustep caused this.

Re: Latest.log and [oxp-standards.deprecated]

Posted: Sun Aug 02, 2015 1:54 pm
by Norby
Lone_Wolf wrote:
In ~/GNUstep/Defaults/.GNUstepDefaults that setting has no effect.
In my Debian box this is the place where the key is working. The relevant content (note placed within the oolite dict):

Code: Select all

<plist version="0.9">
<dict>
    <key>oolite</key>
    <dict>
        <key>enforce-oxp-standards</key>
        <integer>0</integer>
    </dict>
</dict>
</plist>

Re: Latest.log and [oxp-standards.deprecated]

Posted: Mon Aug 03, 2015 2:06 pm
by Lone_Wolf
That is what i tried and didn't have any effect.

I do remember having my oolite joystick settings in .GNUstepDefaults and loosing them some time ago, although they were still in the file.
I re-configured the joystick settings from within oolite, and found they were now in oolite.plist in ~/GNUstep/Defaults .

Do you have an oolite.plist file in that folder on debian ?

Re: Latest.log and [oxp-standards.deprecated]

Posted: Mon Aug 03, 2015 7:00 pm
by Norby
Lone_Wolf wrote:
Do you have an oolite.plist file in that folder on debian ?
No, and no effect if I create and put keys into. I guess the configuration of your GNUstep somewhat different than mine, and you was lucky enough to found your solution.

Re: Latest.log and [oxp-standards.deprecated]

Posted: Mon Aug 03, 2015 10:23 pm
by Lone_Wolf
Ok, that clarifies things.

Some research is needed to verify if oolite code changes where settings are stored depending on gnustep versions, or if this is a gnustep change.

Once that's clear, i'll prob open a bug report to alert oolite devs of this and get the wiki changed .