Multiprocessing module broken in Python 2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python2.7
Attempting to use the multiprocessing module to create a queue with Python 2.7-6 on AMD64 Maverick raises an ImportError exception. The same code works fine in Python 2.6.6-2ubuntu1 and I can provide it if necessary.
Issue 3770 was about a compilation error - is the python2.7 package being built differently than python in Maverick?
Traceback (most recent call last):
File "slapbot.py", line 893, in <module>
main()
File "slapbot.py", line 879, in main
protocol.
File "slapbot.py", line 155, in parse_line
messages[
File "slapbot.py", line 421, in parse_cmd
commands[
File "slapbot.py", line 827, in cmd_metar
q = multiprocessing
File "/usr/lib/
from multiprocessing
File "/usr/lib/
from multiprocessing
File "/usr/lib/
" function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python2.7 2.7-6
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Wed Nov 10 17:19:43 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: python2.7
see the same bug when trying to use celery(http:// celeryproject. org/)