Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: This platform lacks a functioning sem_open implementation #283

Closed
StefanSa opened this issue Dec 19, 2014 · 2 comments
Closed

Comments

@StefanSa
Copy link

Hi i get on FreeBSD 10.1 this error message:

[root@www1 /var/log/beaver]# beaver -c /usr/local/etc/beaver/beaver.conf
Traceback (most recent call last):
  File "/usr/local/bin/beaver", line 31, in <module>
    worker_run(args)
  File "/usr/local/lib/python2.7/site-packages/beaver/dispatcher/worker.py", line 24, in run
    queue = multiprocessing.Queue(beaver_config.get('max_queue_size'))
  File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 217, in Queue
    from multiprocessing.queues import Queue
  File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 48, in <module>
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 59, 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.

any helpe here ?

@josegonzalez
Copy link
Member

Use a real operating system ;)

Actually I can't really do anything about this, beaver requires that your OS support multiprocessing, so unless you want to PR a version that uses threads, I can't do much. Closing as this is a python implementation issue. Sorry.

@nbari
Copy link

nbari commented Feb 3, 2015

On a real operating system like FreeBSD, to avoid this error you should rebuild lang/python27 with SEM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants