Hello,

I have used powertossim2 under cygwin, and now I changed to Ubuntu9.10. What
makes me confused is that when I run make mica2-sim-energy, the application
is successfully compiled, But the execution fails i.e. when I run /.test.py,
I have the following output:
w...@wafa-desktop:
/opt/tinyos-2.0.2/tinyos-2.x-contrib/cedt/apps/tests/testMCU$python test.py
Traceback (most recent call last):
File"test.py", line7, in <module>
em=t.newEnergyEstimator();
File
"/opt/tinyos-2.0.2/tinyos-2.x-contrib/cedt/apps/tests/TestMCU/Tossim.py",
line 269, in <lambda>
_getattr_=lambda self, name:_swig_getattr(self,Tossim,name)
File"/opt/tinyos-2.0.2/tinyos-2.x-contrib/cedt/apps/tests/TestMCU/Tossim.py",
line 19, in _swig_getattr
raise AttributeError, name
AttributeError:newEnergyEstimator

This indicates that the error is also related to the file TOSSIM.py
What should I have to do,?
I have also  joigned test.py, and TOSSIM.py.

Your suggestions are very appreciated,

Thanks,

-- 

Best Regards,
Wafa Ben Jaballah

Attachment: TOSSIM.py
Description: Binary data

Attachment: test.py
Description: Binary data

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

Reply via email to