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
Running gipc on FreeBSD fails #10
Comments
Original comment by Jan-Philip Gehrcke (Bitbucket: jgehrcke, GitHub: jgehrcke): Thanks for reporting, this is interesting. I will have a deeper look soon. Until then, can you please check if the Python versions you are using have actually been built on or at least specifically for the system you are using them on? I am asking because Python's signal module is built upon compile time from https://github.com/python/cpython/blob/2.7/Modules/signalmodule.c, which includes the system's signal header file via |
Original comment by bra (Bitbucket: bra, GitHub: bra): Of course, it's built on the same system I use it on (from ports). |
Original comment by Jan-Philip Gehrcke (Bitbucket: jgehrcke, GitHub: jgehrcke): Regarding gipc, I think just ignoring a Background:
They were officially supported from FreeBSD 7.0 on: They are still there now, with the same numerical values:
Depending on >>> signal.NSIG
65
>>> signal.SIGRTMAX
64
>>> signal.SIGRTMIN
34 The first realtime-related signal on FreeBSD is actually Two things are to be clarified, I think:
|
Original comment by Jan-Philip Gehrcke (Bitbucket: jgehrcke, GitHub: jgehrcke): It's not really about 'this method for messing with signals'. This fails on FreeBSD: >>> signal.signal(signal.SIGRTMAX, lambda *a: None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: signal number out of range No feedback so far in http://bugs.python.org/issue20584. For fixing this in gipc, I would just add a manual check for the error condition. Agree? |
Originally reported by: bra (Bitbucket: bra, GitHub: bra)
Hi,
Running the serverclient.py on FreeBSD 10 (gevent 1.0, python 2.7.6 - it also fails with the same on FreeBSD 9 and python 2.7.3, so it seems it's nothing new) gives:
Using this:
yields:
The text was updated successfully, but these errors were encountered: