Multiprocessing module broken in Python 2.7

Bug #673826 reported by Assad Khan
16
This bug affects 3 people
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.parse_line(line)
  File "slapbot.py", line 155, in parse_line
    messages[line[1]](line)
  File "slapbot.py", line 421, in parse_cmd
    commands[cmd[0].lower()](cmd_data)
  File "slapbot.py", line 827, in cmd_metar
    q = multiprocessing.Queue()
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 212, in Queue
    from multiprocessing.queues import Queue
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 22, in <module>
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
  File "/usr/lib/python2.7/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.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python2.7 2.7-6
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
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

Revision history for this message
Assad Khan (assadk) wrote :
Revision history for this message
Eugen Pyvovarov (bsn.dev) wrote :

see the same bug when trying to use celery(http://celeryproject.org/)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python2.7 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.