Smivs is currently recovering from a tummy bug, but I'm sure he'll be squashing this bug soon..
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Hi Halfhand,
I don't think this is an error in the OXP. The requires.plist simply specifies the version of Oolite that an OXP will work under - Clippers has a version of 1.75.3 specified, so will work with that or any subsequent versions. What version of Oolite are you currently using? The current version is 1.77, so if you have an earlier version you should update.
Commander Smivs, the friendliest Gourd this side of Riedquat.
I don't think this is an error in the OXP. The requires.plist simply specifies the version of Oolite that an OXP will work under -.
No, the log clearly shows it is not able to load the plist in the first place, so it can't evaluate the content. The read/write privileges are indeed a bit unusual. r/w for the user, but no access for the system. That probably means on the mac that if you put the oxp in the program folder and use an account that has no full access to the program folder, you might have similar issues. I always put my oxps in the user area and my account has full access to the program folder, so I can't easy verify if these privileges also could affect a mac system.
Normally the privileges are read only for the system and everyone else as stated in the first post.
Eh, sorry but you've lost me with all this mac-speak! Could somebody please clarify if there is an error in my OXP causing this (and if so what the solution is) or whether it was an installation issue.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Eh, sorry but you've lost me with all this mac-speak! Could somebody please clarify if there is an error in my OXP causing this (and if so what the solution is) or whether it was an installation issue.
The original report was by Halfhand and I think he is on Linux. Both Linux and the Mac are based on Unix and there privileges are important. I would expect this to be the same for windows, but apparently not. It is definitely an oxp error that the file has non-standard privileges.
On unix systems there is a clear difference between files that are accessible by everybody, or only by selected people or a selected group. I have no idea how privileges are set on windows systems. I know that on the mac it is advised for safety reasons to never do your normal work on an account with administrator privileges. The same will be true for Linux. So, you install the oxp with an account that has administrator privileges. Than you leave your account and log in with your normal account. Than, when playing Oolite, this oxp will bug because lack of privileges.
Last edited by Eric Walch on Tue Jan 22, 2013 2:34 pm, edited 1 time in total.
Well I'm a Linux user! Ubuntu 10.10 with a system-wide install, and of course it works fine here.
The requires.plist is in the .oxp folder and in its entirety looks like this
Smivs.. the problem isn't the file's contents.. it's the files permissions.. its' attributes.
Right-click the requires.plist and select 'Properties'. Now change to the Permissions tab. Can you see that nobody except the owner of the file is allowed to read it? If the owner happens to be 'root', (as can happen with system-wide install, but not necessarily, as it depends where the AddOns folder is located) Then Oolite will not have permission to read the file. When that happens, Oolite reports unable to open AddOns/ClippersV1.3.1.oxp/requires.plist.
Look at the picture below. Do you see the difference in permissions between equipment.plist and requires.plist? In this instance, I'm the owner of the files. But if root was the owner, neither Oolite nor I would be able to open the requires.plist file.. Group and Others have no permissions. They need to be changed to Read-only.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Ah, thanks Dizzie. Yes, it's 'none' where it should be 'read only'. What a PITA! How does that happen then?! <mumbles and grumbles a lot>.
I'll have to check all my OXPs I suppose and sort out this and any others.
Watch this space...
Commander Smivs, the friendliest Gourd this side of Riedquat.