Support for multiprocessing broken in python3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.1 (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Lucid |
Fix Released
|
Critical
|
Canonical Foundations Team | ||
Maverick |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Binary package hint: python3.1
Just upgraded to 10.10beta.
Python3.1 programs trying to use multiprocessing
Traceback (most recent call last):
File "/usr/lib/
from _multiprocessing import SemLock
ImportError: cannot import name SemLock
...
pool = Pool(processes = options.
File "/usr/lib/
self.
File "/usr/lib/
from .queues import SimpleQueue
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.
I was debugging my code (not the multiprocessing part, by the way) just while upgrading to 10.10beta.
Everything worked fine before, suddenly stopped working during the "packages installation" stage of the upgrade.
The problem seems to be related to a wrong build process for the package.
Output of "lsb_release -rd":
Description: Ubuntu maverick (development branch)
Release: 10.10
Output of "apt-cache policy python3.1":
python3.1:
Installed: 3.1.2+20100707-
Candidate: 3.1.2+20100707-
Version table:
*** 3.1.2+20100707-
500 http://
100 /var/lib/
Changed in python3.1 (Ubuntu Lucid): | |
status: | Triaged → In Progress |
Changed in python3.1 (Ubuntu Lucid): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
please recheck with 3.1.2+20100915- 0ubuntu1 when the package is built and in the archive