[Tinyos-help] Can't use Python SDK in windows

Janos Sallai sallai at isis.vanderbilt.edu
Tue Jul 8 19:42:08 PDT 2008


Yes, you can. You need the cygwin version of python.

 

Janos

 

From: tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of SANG
Junjun
Sent: Tuesday, July 08, 2008 9:21 PM
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] Can't use Python SDK in windows

 

Because Watcher.py calls os.fork which is not supported in windows.

 

 

Traceback (most recent call last):
  File "E:\cygwin\opt\tinyos-2.x\apps\DataCollection\Python\example.py",
line 26, in <module>
    m = CNetwork()
  File "E:\cygwin\opt\tinyos-2.x\apps\DataCollection\Python\example.py",
line 12, in __init__
    self.mif = MoteIF.MoteIF()
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/message/MoteIF.py",
line 58, in __init__
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/utils/Singleton.py",
line 106, in getInstance
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/utils/Watcher.py",
line 53, in __init__
AttributeError: 'module' object has no attribute 'fork'

-- 
Best Regards,
SANG JUNJUN 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080708/79a93900/attachment.htm 


More information about the Tinyos-help mailing list