[Bug 673826] Re: Multiprocessing module broken in Python 2.7

Launchpad Bug Tracker 673826 at bugs.launchpad.net
Thu Jan 26 03:20:29 UTC 2012


*** This bug is a duplicate of bug 672209 ***
    https://bugs.launchpad.net/bugs/672209

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

** Changed in: python2.7 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/673826

Title:
  Multiprocessing module broken in Python 2.7

Status in “python2.7” package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/673826/+subscriptions




More information about the foundations-bugs mailing list