Quote:
Originally Posted by arty-fishL
I worked out what was wrong, its fixed.
Its updated and definitely works now, I tested it on a non-modified Alice.
|
Quote:
Error during simulation.
Alice version: 2.2 02/10/2011
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.iOTool.write_line.__Unnamed0__]]", line 1, in ?
File "<string>", line 153, in writeline
IndexError: index out of range: -1
|
Bbbbububbuubuubbubut...
At least this time, it didn't happen until I tried to write a variable to line 1.
EDIT: And hey, it works when I overwrite the entire file with text rather than one line! And it works when I load that file!
EDIT2: And this is my 600th post!