Re: [Tinyos-help] tossim-sf - import TestSerialMsg

2008-06-07 Thread Paul Stickney
You need to set PYTHONPATH appropriately. In my setup: export PYTHONPATH=$TOSROOT/support/sdk/python HTH, Paul On Fri, Jun 6, 2008 at 12:34 PM, Daniel Pereira [EMAIL PROTECTED] wrote: Paul, you are right, I had not included the mig-generated line in the Makefile. But now, when I try import

[Tinyos-help] tossim-sf - import TestSerialMsg

2008-06-06 Thread Daniel Pereira
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,

Re: [Tinyos-help] tossim-sf - import TestSerialMsg

2008-06-06 Thread Paul Stickney
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

Re: [Tinyos-help] tossim-sf - import TestSerialMsg

2008-06-06 Thread Daniel Pereira
Paul, you are right, I had not included the mig-generated line in the Makefile. But now, when I try import the file I have received another message: import sys from TOSSIM import * from TestSerialMsg import * Traceback (most recent call last): File stdin, line 1, in module File