On Oct 12, 2006, at 9:33 AM, Manish M. Kochhal wrote:
Dear TinyOS users,
Hi.
I am having problems running the packets.py script for
RadioCountToLeds mentioned in the TOSSIM tutorial for tinyos-2.x
The RadioCountMsg.java generated by the migs is already available
in compiled form. Also, the source file extends
net.tinyos.message.Message ... So, I have compiled the java files
in tinyos-2.x/support/java/* ...
The class path is also set to point to tinyos.jar
I am just wondering what else am I missing here ... Why is it that
when I run python packets.py, I get
Traceback (most recent call last):
File "packets.py", line 3, in ?
from RadioCountMsg import *
File "/opt/tinyos-2.x/apps/RadioCountToLeds/RadioCountMsg.py",
line 7, in ?
import tinyos.message.Message
ImportError: No module named tinyos.message.Message
Please help.
Your PYTHONPATH variable needs to point to tinyos-2.x/support/sdk/
python.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help