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

Error while running backend image #46

Open
juliopovedacs opened this issue Apr 29, 2020 · 1 comment
Open

Error while running backend image #46

juliopovedacs opened this issue Apr 29, 2020 · 1 comment

Comments

@juliopovedacs
Copy link

Hello,

I am trying to run the OpenMTC backend image, but the following error appears:

Screen Shot 2020-04-29 at 6 43 03 PM

It seems that gevent.signal is not being interpreted as a function.

Can someone help me please?

Thank you.

@juliopovedacs
Copy link
Author

Hello,

I was able to "solve" the error by replacing gevent.signal with signal.signal, but I am not sure if this is the best way to fix it. I also added the following lines at the top of the OpenMTC/openmtc-gevent/src/openmtc_gevent/main.py file:

import signal
from signal import SIGTERM, SIGINT

I hope this can be helpful to someone.

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

1 participant