View Single Post
Old
Chuma
Junior Member
 
Status: Offline
Posts: 4
Join Date: Mar 2010
Default 03-26-2010, 02:44 PM

I've looked at that as well, but it didn't make much sense to me. Let's see if it makes sense to you.

The script-defined method reads:

def scriptmethod():
world.othermethod()

The debugger info says:

Error during simulation.
Alice version: 2.2 8/01/2009
Throwable that caused the error:
Traceback (innermost last):
File "edu.cmu.cs.stage3.alice.core.property.ScriptPrope rty[name=script,owner=edu.cmu.cs.stage3.alice.core.res ponse.ScriptResponse[world.my first method.__Unnamed1__]]", line 1, in ?
File "edu.cmu.cs.stage3.alice.core.property.ScriptPrope rty[name=script,owner=edu.cmu.cs.stage3.alice.core.Wor ld[world]]", line 12, in scriptmethod
AttributeError: othermethod


There's also another small problem: About 90% of the time, when I try to start Alice, it resets the properties file, thus disabling scripting again. Also slightly annoying.
________
MAZDA MILLENIA
________
EXPERT INSURANCE

Last edited by Chuma; 05-11-2011 at 07:47 PM.
   
Reply With Quote