Jump to content

[FIXED] 12.04 LTS - ERROR: JavaScript error: simulation/components/GuiInterface.js


lulo
 Share

Recommended Posts


23:29:54 segoda@slawek-ubuntu ~/Gry/0ad $ ./rebuild.sh
U binaries/system/pyrogenesis.exe
U binaries/system/pyrogenesis.pdb
U binaries/data/mods/public/maps/random/gear.js
U binaries/data/mods/public/maps/random/gulf_of_bothnia.js
U binaries/data/mods/public/maps/random/kerala.js
U binaries/data/mods/public/maps/random/hyrcanian_shores.js
U binaries/data/mods/public/maps/random/guadalquivir_river.js
U binaries/data/mods/public/maps/random/latium.js
U binaries/data/mods/public/maps/random/fortress.js
U binaries/data/mods/public/maps/random/lake.js
U binaries/data/mods/public/maps/random/islands.js
U binaries/data/mods/public/gui/session/messages.js
U binaries/data/mods/public/gui/session/placement.js
U binaries/data/mods/public/gui/session/selection_details.js
U binaries/data/mods/public/gui/session/utility_functions.js
U binaries/data/mods/public/gui/session/input.js
U binaries/data/mods/public/simulation/helpers/Cheat.js
U binaries/data/mods/public/simulation/helpers/InitGame.js
U binaries/data/mods/public/simulation/components/GuiInterface.js
U binaries/data/mods/public/simulation/components/BuildingAI.js
U binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js
U binaries/data/mods/public/simulation/components/UnitAI.js
U binaries/data/mods/public/simulation/components/Player.js
U binaries/data/mods/public/simulation/components/Attack.js
D binaries/data/mods/public/simulation/data/cheats.json
A binaries/data/mods/public/simulation/data/cheats
A binaries/data/mods/public/simulation/data/cheats/food.json
A binaries/data/mods/public/simulation/data/cheats/stone.json
A binaries/data/mods/public/simulation/data/cheats/wood.json
A binaries/data/mods/public/simulation/data/cheats/revealMap.json
A binaries/data/mods/public/simulation/data/cheats/fastActions.json
A binaries/data/mods/public/simulation/data/cheats/killUnits.json
A binaries/data/mods/public/simulation/data/cheats/convertUnit.json
A binaries/data/mods/public/simulation/data/cheats/maxPopulation.json
A binaries/data/mods/public/simulation/data/cheats/metal.json
A binaries/data/mods/public/simulation/data/cheats/createPlane.json
A binaries/data/mods/public/simulation/data/cheats/createHeros.json
A binaries/data/mods/public/simulation/data/cheats/defeatPlayer.json
A binaries/data/mods/public/simulation/data/cheats/changeMaxPopulation.json
A binaries/data/mods/public/simulation/data/cheats/createUnits.json
U binaries/data/mods/public/simulation/templates/template_structure_defense_defense_tower.xml
U binaries/data/mods/public/simulation/templates/structures/pers_wall.xml
U binaries/data/mods/public/simulation/templates/structures/pers_fortress.xml
U binaries/data/mods/public/simulation/templates/structures/maur_blacksmith.xml
U binaries/data/mods/public/simulation/templates/structures/pers_wallset_stone.xml
U binaries/data/mods/public/simulation/templates/structures/pers_field.xml
U binaries/data/mods/public/simulation/templates/structures/pers_defense_tower.xml
U binaries/data/mods/public/simulation/templates/structures/pers_house.xml
U binaries/data/mods/public/simulation/templates/structures/pers_wall_long.xml
U binaries/data/mods/public/simulation/templates/structures/pers_wall_short.xml
U binaries/data/mods/public/simulation/templates/structures/pers_wall_tower.xml
U binaries/data/mods/public/simulation/templates/structures/pers_stables.xml
U binaries/data/mods/public/simulation/templates/structures/pers_corral.xml
U binaries/data/mods/public/simulation/templates/structures/pers_wall_medium.xml
U binaries/data/mods/public/simulation/templates/structures/pers_civil_centre.xml
U binaries/data/mods/public/simulation/templates/structures/pers_blacksmith.xml
U binaries/data/mods/public/simulation/templates/structures/pers_market.xml
U binaries/data/mods/public/simulation/templates/structures/pers_farmstead.xml
U binaries/data/mods/public/simulation/templates/structures/pers_dock.xml
U binaries/data/mods/public/simulation/templates/units/pers_infantry_archer_b.xml
A binaries/data/mods/public/art/textures/skins/props/hele_decor_spec.png
A binaries/data/mods/public/art/textures/skins/props/hele_decor_norm.png
A binaries/data/mods/public/art/textures/skins/props/hele_tile_b_spec.png
A binaries/data/mods/public/art/textures/skins/props/hele_tile_b_norm.png
A binaries/data/mods/public/art/textures/skins/props/hele_props_a_spec.png
A binaries/data/mods/public/art/textures/skins/props/hele_props_a_norm.png
U binaries/data/mods/public/art/textures/skins/props/hele_decor.png
A binaries/data/mods/public/art/textures/skins/structural/hele_struct_spec.png
A binaries/data/mods/public/art/textures/skins/structural/hele_struct_norm.png
A binaries/data/mods/public/art/textures/skins/structural/ao/athen_civic_centre.png
U binaries/data/mods/public/art/meshes/structural/athen_cc_shields.dae
U binaries/data/mods/public/art/meshes/structural/athen_cc_decor.dae
U binaries/data/mods/public/art/meshes/structural/athen_cc_round_roof.dae
U binaries/data/mods/public/art/meshes/structural/athen_cc_struct.dae
U binaries/data/mods/public/art/meshes/structural/athen_cc_tiles_b.dae
U binaries/data/mods/public/art/meshes/structural/athen_cc_trees.dae
U binaries/data/mods/public/art/meshes/structural/athen_cc_propsa.dae
U binaries/data/mods/public/art/actors/props/structures/athenians/civic_centre_props_a.xml
U binaries/data/mods/public/art/actors/props/structures/athenians/civic_centre_decor.xml
U binaries/data/mods/public/art/actors/props/structures/athenians/civic_centre_tiles.xml
U binaries/data/mods/public/art/actors/structures/athenians/civic_centre_new.xml
U binaries/data/config/keys.txt
U source/ps/KeyName.cpp
U source/scriptinterface/ScriptInterface.h
U source/simulation2/system/InterfaceScripted.h
U source/simulation2/components/ICmpRangeManager.cpp
U source/simulation2/components/ICmpRangeManager.h
U source/simulation2/components/CCmpRangeManager.cpp
U libraries/source/fcollada/src/FCollada/FCDocument/FCDGeometryPolygonsTools.cpp
U libraries/source/fcollada/src/FCollada/FUtils/FUDebug.cpp
U libraries/source/fcollada/src/FCollada/FUtils/FUFileManager.cpp
U libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FArchiveXML.cpp
U libraries/source/fcollada/src/Makefile
Uaktualniono do wersji 13631.
Cleaning bundled third-party dependencies...
Cleaning Premake4
Cleaning Premake4
Cleaning Premake4
Cleaning build output...
Done. Try running update-workspaces.sh again now.
Updating bundled third-party dependencies...
...
...
...
test_AtlasObjectXML.cpp
precompiled.cpp
test_setup.cpp
test_root.cpp
Linking test
23:35:47 segoda@slawek-ubuntu ~/Gry/0ad $ binaries/system/test
Running 287 tests.......................................................................................................................................................................................................................ERROR: JavaScript error: simulation/components/GuiInterface.js line 177
TypeError: cmpPosition.GetRotation is not a function
(-1,10)@simulation/components/GuiInterface.js:177
()@simulation/components/tests/test_GuiInterface.js:398
In TestComponentScripts::test_scripts:
../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:43: Error: Test failed: L"Running script simulation/components/tests/test_GuiInterface.js"
../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:43: Error: Assertion failed: scriptInterface.LoadScript(pathname, content)
.......................................................................
Failed 1 of 287 tests
Success rate: 99%
23:36:31 segoda@slawek-ubuntu ~/Gry/0ad $

Using tipical, recomended rebuild.sh. Using this "tips":


Premake args: --with-system-enet --with-system-nvtt --with-system-mozjs185 --collada --atlas

Ubuntu 12.04.1-LTS x86_64 - last default 3.2* kernel series and recomended update-currents nvidia drivier prioprietary ( v. 304.88 - stable and only this working for ubuntu, to this old kernel and not crashess). All libriaries, program, etc. is current and updates. Platforma: Bulldozer (AMD), 8 GB RAM, GTX260.

Edited by lulo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...