Created
May 4, 2011 23:44
-
-
Save cscotta/956256 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cscotta@tacobot:~$ python | |
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) | |
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from multiprocessing import Queue | |
>>> q = Queue(maxsize=32768) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/__init__.py", line 212, in Queue | |
return Queue(maxsize) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/queues.py", line 43, in __init__ | |
self._sem = BoundedSemaphore(maxsize) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/synchronize.py", line 100, in __init__ | |
SemLock.__init__(self, SEMAPHORE, value, value) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/synchronize.py", line 49, in __init__ | |
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) | |
OSError: [Errno 22] Invalid argument | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. I have exactly the same issue.
Do you know how to fix it?
Thanks.