Add support for IronPython
Opened this issue · 0 comments
tcalmant commented
- The OS utilities for Windows currently rely on PyWin32: an IronPython specific version could rely on the .NET framework.
- There is an HTTP service binding error under IronPython (see trace 1)
Trace 1:
$ 2014-12-09 10:30:57,226:ERROR:InstanceManager-cohorte-forker-watcher: Component 'cohorte-forker-watcher' : error calling callback method for event VALIDATE
Traceback (most recent call last):
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\ipopo-0.5.8-py2.7.egg\pelix\ipopo\instance.py", line 489, in _StoredInstance__safe_callback
return self.__callback(event, *args, **kwargs)
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\ipopo-0.5.8-py2.7.egg\pelix\ipopo\instance.py", line 439, in _StoredInstance__callback
result = comp_callback(self.instance, *args, **kwargs)
File "C:\Users\Thomas\Documents\Git\cohorte-platforms\repo\cohorte\forker\watchers.py", line 105, in _validate
self._utils = cohorte.utils.get_os_utils()
File "C:\Users\Thomas\Documents\Git\cohorte-platforms\repo\cohorte\utils\__init__.py", line 55, in get_os_utils
raise ImportError("Can't import Utilities for OS : %s (%s) - %s"
ImportError: Can't import Utilities for OS : nt (cohorte.utils.nt) - No module named pywintypes
2014-12-09 10:30:57,529:ERROR:InstanceManager-pelix-http-service: Component 'pelix-http-service' : error calling callback method for event VALIDATE
Traceback (most recent call last):
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\ipopo-0.5.8-py2.7.egg\pelix\ipopo\instance.py", line 489, in _StoredInstance__safe_callback
return self.__callback(event, *args, **kwargs)
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\ipopo-0.5.8-py2.7.egg\pelix\ipopo\instance.py", line 439, in _StoredInstance__callback
result = comp_callback(self.instance, *args, **kwargs)
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\ipopo-0.5.8-py2.7.egg\pelix\http\basic.py", line 776, in validate
self._server = _HttpServerFamily((self._address, self._port),
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\ipopo-0.5.8-py2.7.egg\pelix\http\basic.py", line 337, in __init__
addr_info = socket.getaddrinfo(server_address[0], server_address[1],
ValueError: L'adresse IPv4 0.0.0.0 et l'adresse IPv6 ::0 sont des adresses non spécifiées qui ne peuvent pas être utilisées comme adresses cibles.
Nom du paramètre : hostNameOrAddress