#264 closed defect (fixed)
ReferenceError: addGlobalHandler is not defined on Linux
Reported by: | cd311 | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | philip | Patch: |
Description
hi
i was building the game on a kubuntu 9.04 using the instructions on http://trac.wildfiregames.com/wiki/BuildInstructions however if i start the ./pyrogenesis_dbg all i get is
TIMER| InitVfs: 1.64816 ms TIMER| InitScripting: 55.6995 ms TIMER| CONFIG_Init: 30.1024 ms TIMER| write_sys_info: 1.48977 ms TIMER| ps_console: 12.7604 ms TIMER| ps_lang_hotkeys: 11.0896 ms TIMER| ps_gui_init: 45.814 us TIMER| ps_gui_setup_xml: 30.3468 ms TIMER| ps_gui_styles_xml: 4.25142 ms TIMER| ps_gui_sprite1_xml: 220.275 ms gui/test/functions_page_session.js(280): ReferenceError: addGlobalHandler is not defined ERROR: JavaScript Error (gui/test/functions_page_session.js, line 280): ReferenceError: addGlobalHandler is not defined terminate called after throwing an instance of 'PSERROR_Scripting_LoadFile_EvalErrors'
what(): Scripting_LoadFile_EvalErrors
Aborted
a windows pops up for a second and closes again.
did i do anything wrong? i even built the spidermonkey lib threadsafe for my system
cd311
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Cc: | added |
---|
hm, unfortunately we still don't have a solution for this. Looking at scriptglue.cpp, addGlobalHandler is registered just like other functions and doesn't work differently on Windows vs. Linux. It's possible that the exact version of SpiderMonkey is important; Philip/Ykkrosh was wanting to add a snapshot to SVN soon to rule out such problems.
comment:3 by , 15 years ago
Does this still happen after a 'make clean'? The SpiderMonkey source is now in SVN..
comment:4 by , 15 years ago
HI
I used to get this, and since spidermonkey was included it is fixed.
Cheers
PaulH
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Excellent :) (Please feel free to close/reopen tickets, I will do so now)
sorry for the bad format. here is a better on of the error msg.
TIMER| InitVfs: 1.64816 ms
TIMER| InitScripting: 55.6995 ms
TIMER| CONFIG_Init: 30.1024 ms
TIMER| write_sys_info: 1.48977 ms
TIMER| ps_console: 12.7604 ms
TIMER| ps_lang_hotkeys: 11.0896 ms
TIMER| ps_gui_init: 45.814 us
TIMER| ps_gui_setup_xml: 30.3468 ms
TIMER| ps_gui_styles_xml: 4.25142 ms
TIMER| ps_gui_sprite1_xml: 220.275 ms
gui/test/functions_page_session.js(280): ReferenceError: addGlobalHandler is not defined
ERROR: JavaScript Error (gui/test/functions_page_session.js, line 280):
ReferenceError: addGlobalHandler is not defined
terminate called after throwing an instance of 'PSERROR_Scripting_LoadFile_EvalErrors'
Aborted