TestSerialMsg.py is not in your PYTHONPATH. Find it and add it :) Or start python in the correctly relative directory. [Maybe it has not been mig-generated yet?]
HTH, Paul On Fri, Jun 6, 2008 at 6:41 AM, Daniel Pereira <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to use tossim-sf with TestSerial > (tinyos-2.x/apps/tests/TestSerial) application. So I compile it using: > make micaz sim-sf. > > Next, when I start with Python, I can not import TestSerialMsg. > > [EMAIL PROTECTED]:~/tinyos-2.x/apps/tests/TestSerial$ python > Python 2.5.1 (r251:54863, Mar 7 2008, 03:41:45) > [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import sys >>>> import time >>>> from TOSSIM import * >>>> from TestSerialMsg import * > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named TestSerialMsg > > What is the problem? > > Thanks all > Daniel Patrick > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
