Now i can run ./TestSerial.py as well after i do this step.
- change PYTHON_VERSION=2.5  or your current python version
in /opt/tinyos-2.x-contrib/csm/tos/lib/tossim/sim-sf.extra
 
- make micaz again by  make micaz sim-sf
 
- run ./TestSerial.py  again

 
 
////////
Mr.Thanakorn Prasansri

 



From: [email protected]
To: [email protected]
Subject: could you please help me about NameError: name 'SerialForwarder' is 
not defined
Date: Tue, 28 Jun 2011 19:53:43 +0700





 
Hi,
 
i got error when i run ./TestSerial.py
i think SerialForwarder is not import to TestSerial.py yet.
Please help

 
# ./TestSerial.py
Traceback (most recent call last):
  File "./TestSerial.py", line 50, in <module>
    sf = SerialForwarder(9002)
NameError: name 'SerialForwarder' is not defined

Thank you
////////
Mr.Thanakorn Prasansri
Gd student khonkhen university Thailand

                                          
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to