Latest.log and [oxp-standards.deprecated]

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Latest.log and [oxp-standards.deprecated]

Post 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 .
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

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

Post by Norby »

You can set enforce-oxp-standards to 0 in ~/GNUstep/Defaults/.GNUstepDefaults within the oolite section.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

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

Post 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.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

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

Post 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>
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

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

Post 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 ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

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

Post 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.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

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

Post 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 .
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
Post Reply