kfira / python-multiprocessing

Automatically exported from code.google.com/p/python-multiprocessing
Other
0 stars 0 forks source link

run fail: OSError [Errno 78] Function not implemented #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make
2. make test --> error!!

I can import multiprocessing fine and use other functions, but sleeping and
self._wlock.release() from queues.py cause a not implemented error.

What is the expected output? 

successful use.

What do you see instead?

$ make test
find Lib/ \( -name '*.py[co]' -or -name '*.so' \) -exec rm {} \;
rm -rf build/sphinx
python2.5 setup.py build_ext -i
running build_ext
copying build/lib.macosx-10.5-i386-2.5/multiprocessing/_multiprocessing.so
-> Lib/multiprocessing
PYTHONPATH="Lib/" python2.5 -tt -c "from multiprocessing.tests import main;
main()"
test_array (multiprocessing.tests.WithProcessesTestArray) ... ok
test_getobj_getlock_obj (multiprocessing.tests.WithProcessesTestArray) ... ok
test_rawarray (multiprocessing.tests.WithProcessesTestArray) ... ok
test_notify (multiprocessing.tests.WithProcessesTestCondition) ...
Exception in thread Thread-9:
Traceback (most recent call last):
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threa
ding.py",
line 486, in __bootstrap_inner
    self.run()
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threa
ding.py",
line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/Users/lucy/ExtProjects/python-multiprocessing/Lib/multiprocessing/tests.py",
line 613, in f
    sleeping.release()
OSError: [Errno 78] Function not implemented

What version of the product are you using? On what operating system?

2.6.1.1 r61

mac os 10.5.7 leopard

python 2.5

Please provide any additional information below.

Original issue reported on code.google.com by a.downy....@gmail.com on 7 Jul 2009 at 2:13