I tried changing PYTHONPATH from *'/../...../python'*    to  *
/../..../python/tinyos*
Now i get the following error

$ python
Python 2.3.4 (#1, Jun 13 2004, 11:21:03)
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
*from tossim import **
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "/opt/tinyos-2.x/support/sdk/python/tinyos/tossim/TossimApp.py", line
45,
in ?
   from tinyos.tossim.TossimNescDecls import *
ImportError: No module named tinyos.tossim.TossimNescDecls


Can someone please help me out?

Preeti

On 12/15/06, preeti k <[EMAIL PROTECTED]> wrote:

i changes 'from TOSSIM import *' to  'from tinyos.tossim import *' and it
seems to work but t=tossim([]) doesn't.
I tried various combinations of cases of Tossim but it doesn't seem to
work
*****************
$ python
Python 2.3.4 (#1, Jun 13 2004, 11:21:03)
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
*>>> from tinyos.tossim import *
*>>> t=*tossim*([])
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'tossim' is not defined
>>> t=*Tossim*([])
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'Tossim' is not defined
>>> t=*TOSSIM*([])
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'TOSSIM' is not defined
>>>
********************
Any sugestions as to whats happening please?

Preeti


On 12/15/06, preeti k <[EMAIL PROTECTED]> wrote:
>
> How do i find out where the segmentation fault occurs when i type
> >>> from TOSSIM import *
> Segmentation fault (core dumped)
>
> Any suggestions?
> Does this have to do anything with the compilation process?
>
> Preeti
>
>
>
> On 12/15/06, preeti k <[EMAIL PROTECTED] > wrote:
> >
> > Hi,
> > I successfully compiled tossim for the Blink application. But i am now
> > unable to run it. I get the error as follows when i run it using python
> >
> > ************************
> > $ python
> > Python 2.3.4 (#1, Jun 13 2004, 11:21:03)
> > [GCC 3.3.1 (cygming special)] on cygwin
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from TOSSIM import *
> > Segmentation fault (core dumped)
> > $
> > ************************
> > Can someone please help me?
> >
> > Preeti
> >
>
>

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

Reply via email to