when i run python 2.5 on qnx 6.4.0 and try to invoke a network service it crashes with the following error trace:
Traceback (most recent call last):
File “/usr/qnx640/host/qnx6/x86/usr/lib/python2.5/threading.py”, line 486, in __bootstrap_inner
self.run()
File “/root/ros_svn/ros/bin/rosmake”, line 89, in run
(pkg, build_count, total_pkgs) = self.build_queue.get_valid_package()
File “/root/ros_svn/ros/bin/rosmake”, line 148, in get_valid_package
for d in self.dependency_tracker.get_deps(p):
File “/root/ros_svn/ros/bin/rosmake”, line 73, in get_deps
self.deps[package] = roslib.scriptutil.rospack_depends(package)
File “/root/ros_svn/ros/core/roslib/src/roslib/scriptutil.py”, line 99, in rospack_depends
return rospackexec([‘deps’, pkg]).split()
File “/root/ros_svn/ros/core/roslib/src/roslib/scriptutil.py”, line 80, in rospackexec
val = (subprocess.Popen([‘rospack’] + args, stdout=subprocess.PIPE).communicate()[0] or ‘’).strip()
File “/usr/qnx640/host/qnx6/x86/usr/lib/python2.5/subprocess.py”, line 594, in init
errread, errwrite)
File “/usr/qnx640/host/qnx6/x86/usr/lib/python2.5/subprocess.py”, line 1011, in _execute_child
self.pid = os.fork()
OSError: [Errno 89] Function not implemented
i then tried to compile python 2.6.4 and realized during configuration that thread.h was not found (of which i think that it’s responsible for fork(), right?).
Does anybody has helpful comments on running python, especially functionality that is part of subprocess.py?