Simple Storage

6 views
Skip to first unread message

Elliot Conte

unread,
Aug 10, 2011, 2:40:28 PM8/10/11
to 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

unread,
Aug 10, 2011, 7:30:55 PM8/10/11
to 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

Reply all
Reply to author
Forward
0 new messages