Jump to content

[FIXED] JavaScript ERROR: simulation/components/GuiInterface.js line 94


lulo
 Share

Recommended Posts


slawek@slawek-ubuntu:~/Games/0AD/0ad$ ./rebuild.sh
Updating '.':
U binaries/system/pyrogenesis.exe
U binaries/system/pyrogenesis.pdb
U binaries/data/mods/public/simulation/helpers/InitGame.js
U binaries/data/mods/public/simulation/helpers/Commands.js
U binaries/data/mods/public/simulation/components/GuiInterface.js
D binaries/data/mods/public/simulation/components/interfaces/TechnologyTemplateManager.js
U binaries/data/mods/public/simulation/components/TechnologyManager.js
U binaries/data/mods/public/simulation/components/AIInterface.js
A binaries/data/mods/public/simulation/ai/common-api-v3
A binaries/data/mods/public/simulation/ai/common-api-v3/class.js
A binaries/data/mods/public/simulation/ai/common-api-v3/terrain-analysis.js
A binaries/data/mods/public/simulation/ai/common-api-v3/shared.js
A binaries/data/mods/public/simulation/ai/common-api-v3/terrain-analysis-pathfinder.js
A binaries/data/mods/public/simulation/ai/common-api-v3/entitycollection.js
A binaries/data/mods/public/simulation/ai/common-api-v3/filters.js
A binaries/data/mods/public/simulation/ai/common-api-v3/base.js
A binaries/data/mods/public/simulation/ai/common-api-v3/gamestate.js
A binaries/data/mods/public/simulation/ai/common-api-v3/resources.js
A binaries/data/mods/public/simulation/ai/common-api-v3/technology.js
A binaries/data/mods/public/simulation/ai/common-api-v3/entity.js
A binaries/data/mods/public/simulation/ai/common-api-v3/map-module.js
A binaries/data/mods/public/simulation/ai/common-api-v3/utils.js
U binaries/data/mods/public/simulation/ai/qbot/data.json
D binaries/data/mods/public/simulation/ai/qbot-wc/attackMoveToCC.js
D binaries/data/mods/public/simulation/ai/qbot-wc/walkToCC.js
D binaries/data/mods/public/simulation/ai/qbot-wc/gamestate.js
D binaries/data/mods/public/simulation/ai/qbot-wc/resources.js
D binaries/data/mods/public/simulation/ai/qbot-wc/housing.js
D binaries/data/mods/public/simulation/ai/qbot-wc/terrain-analysis.js
D binaries/data/mods/public/simulation/ai/qbot-wc/attackMoveToLocation.js
D binaries/data/mods/public/simulation/ai/qbot-wc/filters-extend.js
D binaries/data/mods/public/simulation/ai/qbot-wc/readme.txt
U binaries/data/mods/public/simulation/ai/qbot-wc/config.js
U binaries/data/mods/public/simulation/ai/qbot-wc/qbot.js
U binaries/data/mods/public/simulation/ai/qbot-wc/data.json
U binaries/data/mods/public/simulation/ai/qbot-wc/enemy-watcher.js
U binaries/data/mods/public/simulation/ai/qbot-wc/economy.js
U binaries/data/mods/public/simulation/ai/qbot-wc/worker.js
U binaries/data/mods/public/simulation/ai/qbot-wc/entitycollection-extend.js
U binaries/data/mods/public/simulation/ai/qbot-wc/timer.js
U binaries/data/mods/public/simulation/ai/qbot-wc/attack_plan.js
A binaries/data/mods/public/simulation/ai/qbot-wc/plan-research.js
U binaries/data/mods/public/simulation/ai/qbot-wc/queue.js
U binaries/data/mods/public/simulation/ai/qbot-wc/plan-building.js
U binaries/data/mods/public/simulation/ai/qbot-wc/defence.js
U binaries/data/mods/public/simulation/ai/qbot-wc/military.js
U binaries/data/mods/public/simulation/ai/qbot-wc/queue-manager.js
A binaries/data/mods/public/simulation/ai/qbot-wc/_Read Me.txt
U binaries/data/mods/public/simulation/ai/qbot-wc/map-module.js
U binaries/data/mods/public/simulation/ai/qbot-wc/entity-extend.js
U binaries/data/mods/public/simulation/ai/qbot-wc/_init.js
U binaries/data/mods/public/simulation/ai/qbot-wc/plan-training.js
U binaries/data/mods/public/simulation/data/technologies/siege_bolt_accuracy.json
U binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_ballista.xml
U binaries/data/mods/public/art/textures/ui/session/portraits/technologies/fist_spear.png
A binaries/data/mods/public/art/textures/ui/session/portraits/technologies/accuracy_bolt.png
A binaries/data/mods/public/art/textures/ui/session/portraits/technologies/clenched_fist.png
U source/simulation2/TypeList.h
A source/simulation2/components/ICmpTechnologyTemplateManager.cpp
U source/simulation2/components/ICmpPosition.h
U source/simulation2/components/ICmpAIInterface.h
U source/simulation2/components/CCmpVisualActor.cpp
U source/simulation2/components/ICmpPosition.cpp
U source/simulation2/components/ICmpAIInterface.cpp
U source/simulation2/components/tests/test_RangeManager.h
U source/simulation2/components/ICmpAIManager.h
U source/simulation2/components/CCmpPosition.cpp
A source/simulation2/components/ICmpTechnologyTemplateManager.h
U source/simulation2/components/CCmpAIManager.cpp
U source/simulation2/components/ICmpAIManager.cpp
U source/simulation2/Simulation2.cpp
Uaktualniono do wersji 13227.
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...
...
...
...
slawek@slawek-ubuntu:~/Games/0AD/0ad$ binaries/system/test
Running 284 tests.................................................................................................................................................................................................................ERROR: JavaScript error: simulation/components/GuiInterface.js line 94
TypeError: cmpTechnologyManager.GetQueuedResearch is not a function
()@simulation/components/GuiInterface.js:94
()@simulation/components/tests/test_GuiInterface.js:163

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 284 tests
Success rate: 99%
slawek@slawek-ubuntu:~/Games/0AD/0ad$

ubuntu x86_64 12.10 and actual updates,

basic spec.comp.: MOBO=MSI 990FXA-GD80, GPU=NVIDIA GTX260, CPU=AMD FX™-8150, RAM=8 GB DDR3-1600, etc.

Edited by lulo
Link to comment
Share on other sites


slawek@slawek-ubuntu:~/Games/0AD/0ad$ ./rebuild.sh
Updating '.':
U binaries/data/mods/public/maps/random/oasis.js
A binaries/data/mods/public/audio/music/Cisalpine_Gaul.ogg
A binaries/data/mods/public/audio/music/Land_between_the_two_Seas.ogg
U binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js
U binaries/data/mods/public/simulation/ai/common-api-v3/terrain-analysis.js
U binaries/data/mods/public/simulation/ai/common-api-v3/terrain-analysis-pathfinder.js
U binaries/data/mods/public/simulation/ai/common-api-v3/filters.js
U binaries/data/mods/public/simulation/ai/common-api-v3/entity.js
U binaries/data/mods/public/simulation/ai/qbot-wc/config.js
U binaries/data/mods/public/simulation/ai/qbot-wc/qbot.js
U binaries/data/mods/public/simulation/ai/qbot-wc/economy.js
U binaries/data/mods/public/simulation/ai/qbot-wc/attack_plan.js
U binaries/data/mods/public/simulation/ai/qbot-wc/plan-building.js
U binaries/data/mods/public/simulation/ai/qbot-wc/military.js
U binaries/data/mods/public/simulation/templates/template_structure_wonder.xml
A binaries/data/mods/public/art/textures/ui/session/portraits/structures/wonder.png
U source/simulation2/components/CCmpAIManager.cpp
Uaktualniono do wersji 13234.
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...
...
...
...
Linking test
slawek@slawek-ubuntu:~/Games/0AD/0ad$ binaries/system/test
Running 284 tests............................................................................................................................................................................................................................................................................................OK!
slawek@slawek-ubuntu:~/Games/0AD/0ad$

Thx...its all ok...build properly...no any errors from test...

:thumbsup::nod::victory::thumbup:

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...