Hello all,
I have tried running "packets.py" using the command "python packets.py" in
cygwin shell.
But it is giving TypeError which says 'str' object not callable.
Here are the lines appeared in shell.
[EMAIL PROTECTED] /cygdrive/c/tinyos/cygwin/opt/tinyos-2.x/apps/radiocounttoleds
$ python packets.py
DEBUG (0): RadioCountToLedsC: timer fired, counter is 1.
DEBUG (0): RadioCountToLedsC: packet sent.
DEBUG (1): RadioCountToLedsC: timer fired, counter is 1.
DEBUG (1): RadioCountToLedsC: packet sent.
DEBUG (0): RadioCountToLedsC: timer fired, counter is 2.
DEBUG (0): RadioCountToLedsC: packet sent.
DEBUG (1): RadioCountToLedsC: timer fired, counter is 2.
DEBUG (1): RadioCountToLedsC: packet sent.
DEBUG (0): RadioCountToLedsC: timer fired, counter is 3.
DEBUG (0): RadioCountToLedsC: packet sent.
Traceback (most recent call last):
File "packets.py", line 47, in <module>
print "Delivering " + str(msg)+ " to 0 at " + str(t.time() + 3);
TypeError: 'str' object is not callable
Could anyone please suggest me how to get rid of this error.
Thanks in advance,
VJ.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help