Various log errors/warnings in Trunk

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Various log errors/warnings in Trunk

Post by JazHaz »

Just played a short session with 1.77.0.5587, and got the following errors/warnings in my log:

Code: Select all

23:54:06.337 [setup.ship.badEntry.subentities]: Failed to set up entity iguanaspike-port
23:54:06.337 [setup.ship.badEntry.subentities]: Failed to set up entity iguanaspike-stbd

Code: Select all

23:54:09.359 [debugTCP.disconnect]: No connection to debug console: "Connection to debug console failed: 'No connection could be made because the target machine actively refused it.

' (outStream status: 7, inStream status: 7)."
23:54:09.359 [debugTCP.send.warning]: Error sending packet header, retrying.
23:54:09.384 [debugTCP.send.error]: The following packet could not be sent: {"Oolite version" = 1.77; "packet type" = "Request Connection"; "protocol version" = 65792; }
23:54:09.441 [debugTCP.disconnect]: No connection to debug console: "Connection to debug console failed: 'bad stream.' (outStream status: 0, inStream status: 0)."
23:54:09.441 [debugTCP.connect.failed]: Failed to connect to debug console at address 127.0.0.1:8563.

Code: Select all

23:54:16.019 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (zygo_traffic 0.1): Error: System.legacy_addShipsAtPrecisely: Invalid arguments ("trader", 0.35087515699298355, "abs", (-61073.2, 81470, 427622)) -- expected role, positive count no greater than 64, coordinate scheme and coordinates.

Code: Select all

23:54:25.990 [ship.setup.docks]: No docks set up for <StationEntity 0x7b3e5410>{"Navigation Buoy" "Navigation Buoy" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT}, making virtual dock
23:54:25.994 [ship.setup.docks]: No docks set up for <StationEntity 0x7b3e6c28>{"Navigation Buoy" "Navigation Buoy" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT}, making virtual dock
Note, I have the Deep Horizons nav buoy OXP installed, but not the Deep Horizons Systems OXP (as that is currently causing a CTD, hopefully to be fixed in the next nightly).

Code: Select all

23:58:12.648 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (commodityMarkets 0.1): Error: Station.setMarketPrice: Invalid arguments ("luxuries", 1043.8485269035375) -- expected Price must be between 0 and 1020 decicredits.
Note, I have the Beta Commodity Markets OXP v0.1 installed.

Code: Select all

00:02:35.831 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (oolite-random-hits-hunter 2.1): Unknown expansion key [%N] in string.
00:02:35.831 [script.javaScript.stackTrace]:  0 (oolite-random-hits-hunter.js:32) <anonymous function>
00:02:35.832 [script.javaScript.stackTrace]:     this: [Script "oolite-random-hits-hunter" version 2.1]
00:02:35.832 [script.javaScript.stackTrace]:     i: undefined
00:02:35.832 [script.javaScript.stackTrace]:     count: undefined
00:02:35.832 [script.javaScript.stackTrace]:     name: ""
00:02:35.832 [script.javaScript.stackTrace]:     level: 2
Note, this might be because I had two copies of Random Hits installed, versions 1.4.12 and 1.4.14. Have now deleted .12.

Code: Select all

00:02:47.834 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (zygo_traffic 0.1): TypeError: this.ZygotrafficTimer is undefined
Last edited by JazHaz on Tue Dec 25, 2012 11:31 am, edited 1 time in total.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Various log errors/warnings in Trunk 5587

Post by Eric Walch »

Code: Select all

JavaScript warning (oolite-random-hits-hunter 2.1): Unknown expansion key [%N] in string.
This error is because this type of double expansion is no longer allowed in trunk. Many oxp's might be affected. I started to fix that in 1.4.15 but missed e few occasions. It should be fully fixed in version 1.4.16, but I am not sure if I already uploaded that version. :wink:
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Various log errors/warnings in Trunk 5587

Post by Thargoid »

JazHaz wrote:

Code: Select all

23:54:25.990 [ship.setup.docks]: No docks set up for <StationEntity 0x7b3e5410>{"Navigation Buoy" "Navigation Buoy" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT}, making virtual dock
23:54:25.994 [ship.setup.docks]: No docks set up for <StationEntity 0x7b3e6c28>{"Navigation Buoy" "Navigation Buoy" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT}, making virtual dock
Note, I have the Deep Horizons nav buoy OXP installed, but not the Deep Horizons Systems OXP (as that is currently causing a CTD, hopefully to be fixed in the next nightly).
That's a notification that the buoy seems to have docking defined for it, but does not have a specific dock entity defined so the game is adding one. It's a notice rather than an error, although quite why a buoy is dockable is another question entirely.
JazHaz wrote:

Code: Select all

23:58:12.648 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (commodityMarkets 0.1): Error: Station.setMarketPrice: Invalid arguments ("luxuries", 1043.8485269035375) -- expected Price must be between 0 and 1020 decicredits.
Note, I have the Beta Commodity Markets OXP v0.1 installed.
This is a bug in the OXP which I thought I'd fixed, but looking on box I may have forgotten to upload it. I'll have a look later and sort it out. It's fairly minor, just when the random adjustment is made on the price, in this case it's pushing it slightly above the maximum allowed (1043.blahblah vs 1020).
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Various log errors/warnings in Trunk 5588

Post by JazHaz »

Now running trunk 5588, got the following dock warnings:

Code: Select all

09:40:47.724 [ship.setup.docks]: No docks set up for <StationEntity 0x691aa9f8>{"Academy Orbital Station" "Academy Orbital Station" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT}, making virtual dock

09:41:32.711 [ship.setup.docks]: No docks set up for <StationEntity 0x68d53ce0>{"Super Hub" "Super Hub" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT}, making virtual dock
So Lave Academy and Super Hub OXPs need updating.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Various log errors/warnings in Trunk 5587

Post by Thargoid »

The update for LA is on my hard disk. But as it won't be backward compatible with 1.76.x, launching it now would be a little premature ;) Plus as they're only warnings and the entity itself works fine with the virtual docks, really no update would actually be needed in this case (although I am doing so as I'm going to add some more 1.77 stuff to it).

Editted to add - Just uploaded the revised version of Commodity Markets and also the Lave Academy beta to box. Details in my trunk beta thread in the OXP forum.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Various log errors/warnings in Trunk 5587

Post by Diziet Sma »

Eric Walch wrote:

Code: Select all

JavaScript warning (oolite-random-hits-hunter 2.1): Unknown expansion key [%N] in string.
This error is because this type of double expansion is no longer allowed in trunk. Many oxp's might be affected. I started to fix that in 1.4.15 but missed e few occasions. It should be fully fixed in version 1.4.16, but I am not sure if I already uploaded that version. :wink:
1.4.16 with trunk is OK except for the level 3 missions. The problem is only with the mission-offer screens. Once accepted, everything displays correctly.

Image
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
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Various log errors/warnings in Trunk 5587

Post by Eric Walch »

Thanks Diziet Sma,

Both expansions were always defined wrong, but apparently they expanded correctly because of the order the brackets [] were removed. The stuff inside the [] does not make sense, and the [] were just removed. After that, the result expands correctly. With the new string expansion in trunk, it still does not makes sense, but now the brackets were not removed for the cases it could not expand.

I think this problem in RH was already reported elsewhere (or I found it myself) Anyhow, it was already corrected on my computer. :wink:
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Re: Various log errors/warnings in Trunk 5587

Post by Lestradae »

Eric Walch wrote:
... Anyhow, it was already corrected on my computer. :wink:
Well ... and how? :D
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Various log errors/warnings in Trunk 5587

Post by Diziet Sma »

Lestradae wrote:
Eric Walch wrote:
... Anyhow, it was already corrected on my computer. :wink:
Well ... and how? :D
And when do we get to play with it? :)
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
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Various log errors/warnings in Trunk 5587

Post by Eric Walch »

Diziet Sma wrote:
And when do we get to play with it? :)
As soon as I am convinced there are no other problems with trunk. And with 1.76 there are no problems, so for normal users there is no need to have a fixed version. :)
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Various log errors/warnings in Trunk 5587

Post by JazHaz »

I spotted this exception today:

Code: Select all

10:54:11.689 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (zygo_traffic 0.1): TypeError: this.ZygotrafficTimer is undefined
Also this one, though I don't know what its from:

Code: Select all

11:16:33.634 [script.javaScript.exception.notFunction]: ***** JavaScript exception (<unidentified script>): TypeError: entity.hasRole is not a function
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Various log errors/warnings in Trunk

Post by JazHaz »

Here's some more log errors/warnings from last night's 5595:

Code: Select all

14:03:27.491 [ship.sanityCheck.failed]: Ship <ShipEntity 0x49cf2080>{"Interdictor Mine" position: (3585.23, 7200.74, 544172) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} EQ_ARMOURY_INTERDICTOR_MINE with scanClass CLASS_NOT_SET; forced to CLASS_NEUTRAL.

Code: Select all

14:03:54.684 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (AsteroidStormBoulder 1.2): Ship.setMaterials: expected object instead of 'undefined'.
14:03:54.684 [script.javaScript.stackTrace]:  0 (AsteroidStormBoulder.js:9) <anonymous function>
14:03:54.684 [script.javaScript.stackTrace]:     this: [Script "AsteroidStormBoulder" version 1.2]
14:03:54.684 [script.javaScript.stackTrace]:     miner: undefined
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Various log errors/warnings in Trunk

Post by cim »

JazHaz wrote:

Code: Select all

14:03:27.491 [ship.sanityCheck.failed]: Ship <ShipEntity 0x49cf2080>{"Interdictor Mine" position: (3585.23, 7200.74, 544172) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} EQ_ARMOURY_INTERDICTOR_MINE with scanClass CLASS_NOT_SET; forced to CLASS_NEUTRAL.
Looks like a missile without scan_class = "CLASS_MISSILE" (or presumably "CLASS_MINE" in this case) in its shipdata, fired by an NPC. Missiles don't get an automatic scan class set (mines do, but only when fired by the player), so it needs to be set in shipdata: 1.77 warns in this situation but 1.76 doesn't. (Mostly) harmless in play, though.
JazHaz wrote:

Code: Select all

14:03:54.684 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (AsteroidStormBoulder 1.2): Ship.setMaterials: expected object instead of 'undefined'.
14:03:54.684 [script.javaScript.stackTrace]:  0 (AsteroidStormBoulder.js:9) <anonymous function>
14:03:54.684 [script.javaScript.stackTrace]:     this: [Script "AsteroidStormBoulder" version 1.2]
14:03:54.684 [script.javaScript.stackTrace]:     miner: undefined
Works for me without errors in Asteroid Storm 4.03 - are there any other errors related to the Asteroid Storm worldscript in the log?
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Various log errors/warnings in Trunk

Post by JazHaz »

cim wrote:
JazHaz wrote:

Code: Select all

14:03:54.684 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (AsteroidStormBoulder 1.2): Ship.setMaterials: expected object instead of 'undefined'.
14:03:54.684 [script.javaScript.stackTrace]:  0 (AsteroidStormBoulder.js:9) <anonymous function>
14:03:54.684 [script.javaScript.stackTrace]:     this: [Script "AsteroidStormBoulder" version 1.2]
14:03:54.684 [script.javaScript.stackTrace]:     miner: undefined
Works for me without errors in Asteroid Storm 4.03 - are there any other errors related to the Asteroid Storm worldscript in the log?
No other errors apart from the above. I'm also using v4.03 of the OXP. This came up when I encountered a large swarm of asteroids. I did interact with the swarm, blowing up a few of the larger asteroids that were between me and the planet. Note that I've done the mission, so the OXP is now just occasionally generating these swarms.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Various log errors/warnings in Trunk

Post by JazHaz »

Here's another one, this time from the Sunspots demo OXP:

Code: Select all

19:54:40.063 [vedemo_sunspot]: Removed: scriptinfo was undefined
Here's some warnings regarding The Feudal States OXP:

Code: Select all

20:13:44.315 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (feudal-challenge.js 8.0): Unknown expansion key [%H] in string.
20:13:44.315 [script.javaScript.stackTrace]:  0 (feudal-challenge.js:507) <anonymous function>
20:13:44.315 [script.javaScript.stackTrace]:     this: [Script "feudal-challenge.js" version 8.0]
20:13:44.315 [script.javaScript.stackTrace]:     currentLocationName: "Enbirare"
20:13:44.315 [script.javaScript.stackTrace]:     currentLocationNo: 254
20:13:44.315 [script.javaScript.stackTrace]:  1 (feudal-challenge.js:449) <anonymous function>
20:13:44.315 [script.javaScript.stackTrace]:     this: [Script "feudal-challenge.js" version 8.0]
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
Post Reply