Simple Storage

瀏覽次數:2 次
跳到第一則未讀訊息

Elliot Conte

未讀,
2011年8月10日 下午2:40:282011/8/10
收件者:emerso...@googlegroups.com
Getting the following error on startup of cppoh.

TypeError: Cannot call method 'toString' of undefined

var presName = presToRestore.toString();

This prints out like ten times or so.  About 60% of the time the graphical interface never opens and it never prints "Initializing ogregraphics'.  But it sometimes does work.  

Ewen Cheslack-Postava

未讀,
2011年8月10日 晚上7:30:552011/8/10
收件者:emerso...@googlegroups.com
This sounds a lot like a race that I fixed on Monday (unfortunately
right after building the release on Sunday). The commit that fixed it
is here:

https://github.com/sirikata/sirikata/commit/e2ebc112e45a8994a6f158bbf8c28e86b9200130

and you could just grab this version of
std/shim/restore/simpleStorage.em and it should fix the problem:

https://raw.github.com/sirikata/sirikata/e2ebc112e45a8994a6f158bbf8c28e86b9200130/liboh/plugins/js/scripts/std/shim/restore/simpleStorage.em

-Ewen

回覆所有人
回覆作者
轉寄
0 則新訊息