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

SANG Junjun crabhit at gmail.com
Tue Jul 8 19:21:25 PDT 2008


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/20080709/f932a428/attachment.htm 


More information about the Tinyos-help mailing list