Public bug reported:

Binary package hint: python3.1

Just upgraded to 10.10beta.

Python3.1 programs trying to use multiprocessing.Pool exit with the
following error message:

Traceback (most recent call last):
  File "/usr/lib/python3.1/multiprocessing/synchronize.py", line 28, in <module>
    from _multiprocessing import SemLock
ImportError: cannot import name SemLock
...
pool = Pool(processes = options.num_processes)
  File "/usr/lib/python3.1/multiprocessing/pool.py", line 84, in __init__
    self._setup_queues()
  File "/usr/lib/python3.1/multiprocessing/pool.py", line 133, in _setup_queues
    from .queues import SimpleQueue
  File "/usr/lib/python3.1/multiprocessing/queues.py", line 22, in <module>
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, 
Condition
  File "/usr/lib/python3.1/multiprocessing/synchronize.py", line 33, in <module>
    " 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-1ubuntu1
  Candidate: 3.1.2+20100707-1ubuntu1
  Version table:
 *** 3.1.2+20100707-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: python3.1 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Support for multiprocessing broken in python3.1
https://bugs.launchpad.net/bugs/630511
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to