[Tinyos-help] tossim help

Moni GV tamuzija at yahoo.es
Tue Mar 17 03:14:22 PDT 2009


Hi!
I got a similar error, just make sure you put the same identation on your file

regards,

MONICA
--- El lun, 16/3/09, Roy Shea <royshea at gmail.com> escribió:
De: Roy Shea <royshea at gmail.com>
Asunto: Re: [Tinyos-help] tossim help
Para: "arjun subu" <ajsubu.desk at gmail.com>
CC: tinyos-help at millennium.berkeley.edu
Fecha: lunes, 16 marzo, 2009 5:54

Hello,

> this is requesting help regarding the tossim tutorial given on your
> site

Guessing you are talking about http://docs.tinyos.net/index.php/TOSSIM?

> i recieve an error at the line
> s=line.split()
> that is an identation error
> stating a missin identated block

Python code is white space sensitive.  Blocks have to be properly
indented for the script to execute.  While I don't know the precise code
that you are trying to run, my guess is that you've incorrect leading
white space.  Even mixing tabs and spaces can throw it off.  I recommend
reading through:

http://docs.python.org/tutorial/

that provides a great introduction to the very cool python langague.
Then go back to the script that you copied and try cleaning up the
leading white space.

Best of luck,
-Roy
_______________________________________________
Tinyos-help mailing list
Tinyos-help at millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090317/293a2f1f/attachment.htm 


More information about the Tinyos-help mailing list