Jump to content

ERROR: JavaScript error: simulation/components/GuiInterface.js line 46


lulo
 Share

Recommended Posts

slawek@lulojs-ubuntu:~/0.A.D./0ad$ ./rebuild.sh

U binaries/data/mods/public/maps/random/new_rms_test.js

U binaries/data/mods/public/maps/random/latium.js

U binaries/data/mods/public/maps/random/islands.js

U binaries/data/mods/public/maps/random/rmgen/library.js

U binaries/data/mods/public/maps/random/neareastern_badlands.js

U binaries/data/mods/public/maps/random/cantabrian_highlands.js

U binaries/data/mods/public/simulation/components/GuiInterface.js # ???

U binaries/data/mods/public/simulation/components/BuildLimits.js

U binaries/data/mods/public/simulation/ai/jubot/gamestate.js

U binaries/data/mods/public/simulation/ai/testbot/gamestate.js

U source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.h

U source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp

U source/tools/atlas/GameInterface/Messages.h

U source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp

Uaktualniono do wersji 10417.

Cleaning bundled third-party dependencies...

Cleaning Premake4

Cleaning build output...

Done. Try running update-workspaces.sh again now.

Updating bundled third-party dependencies...

...

==== Building ActorEditor (release) ====

Creating obj/ActorEditor_Release

ActorEditor.cpp

Linking ActorEditor

precompiled.cpp

test_setup.cpp

Linking test

slawek@lulojs-ubuntu:~/0.A.D./0ad$ ./binaries/system/test

Running 253 tests.............................................ERROR: JavaScript error: simulation/components/GuiInterface.js line 46 # ???

ReferenceError: IID_BuildLimits is not defined

()@simulation/components/GuiInterface.js:46

()@simulation/components/tests/test_GuiInterface.js:125

In TestComponentScripts::test_scripts:

../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Test failed: L"Running script simulation/components/tests/test_GuiInterface.js"

../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Assertion failed: scriptInterface.LoadScript(pathname, wcontent)

...............................................................................................................................................................................................................

Failed 1 of 253 tests

Success rate: 99%

slawek@lulojs-ubuntu:~/0.A.D./0ad$

~/.config/0ad = http://www.wupload.com/file/636688971/0ad.tar.bz2

full log build = http://www.wupload.com/file/636756341/full_log_build_from_gnome-terminal.txt.tar.bz2

System: Ubuntu 11.10 x86_64

Edited by lulo
Link to comment
Share on other sites

I don't have your error, but another one, while:


==== Building AtlasUI (release) ====


amd64.cpp
CCmpPathfinder_Tile.cpp
MiniPatch.cpp
Atlas.cpp
msr.cpp
XeroXMB.cpp
x86_x64.cpp
QuickTextCtrl.cpp
QuickFileCtrl.cpp
ObjectManager.cpp
XMLWriter.cpp
apic.cpp
FieldEditCtrl.cpp
../../../source/lib/sysdep/arch/x86_x64/apic.cpp: In function 'ApicId ApicIdFromProcessor(size_t)':
../../../source/lib/sysdep/arch/x86_x64/apic.cpp:134:53: error: expected '}' at end of input
GameView.cpp
make[1]: *** [obj/lowlevel_Release/apic.o] Error 1
make: *** [lowlevel] Error 2
make: *** Waiting for unfinished jobs....
Xeromyces.cpp
RelaxNG.cpp
SoundGroup.cpp

I never got this one before, but the last time I rebuild 0ad was a couple of weeks ago.

If I now want to start the game:


./binaries/system/pyrogenesis: No such file or directory

edit: I tried to upload the complete build process cmd output as a text-file with UTF-8, but I was not permitted?! wtf? :blink:

Edited by Almin
Link to comment
Share on other sites

edit: I tried to upload the complete build process cmd output as a text-file with UTF-8, but I was not permitted?! wtf? :blink:

What was the file extension? .txt should be allowed, not sure if UTF-8 encoding should have any effect, but could you try saving the file as plain ASCII which should get around any such issues?

EDIT: Also, please create a new topic when you have another error than the one described in the first post :)

Link to comment
Share on other sites

Running 253 tests.............................................ERROR: JavaScript error: simulation/components/GuiInterface.js line 46 # ???

ReferenceError: IID_BuildLimits is not defined

()@simulation/components/GuiInterface.js:46

()@simulation/components/tests/test_GuiInterface.js:125

In TestComponentScripts::test_scripts:

../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Test failed: L"Running script simulation/components/tests/test_GuiInterface.js"

../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Assertion failed: scriptInterface.LoadScript(pathname, wcontent)

...............................................................................................................................................................................................................

Failed 1 of 253 tests

Success rate: 99%

That would be my fault, since I changed GUIInterface but did not update the test :P

Link to comment
Share on other sites

That would be my fault, since I changed GUIInterface but did not update the test :P

slawek@lulojs-ubuntu:~/0.A.D./0ad$ ./rebuild.sh
U binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js
Uaktualniono do wersji 10418.
Cleaning bundled third-party dependencies...
Cleaning Premake4
Cleaning build output...

Done. Try running update-workspaces.sh again now.
Updating bundled third-party dependencies...
...
...
...
precompiled.cpp
test_setup.cpp
Linking test
slawek@lulojs-ubuntu:~/0.A.D./0ad$ ./binaries/system/test
Running 253 tests...............................................................................................................................................................................OK!
slawek@lulojs-ubuntu:~/0.A.D./0ad$

http://trac.wildfire...changeset/10418 dziękuję :D:victory:(y):P

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