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

OBO-Dashboard gets stuck with NCIT - independent of memory #45

Open
matentzn opened this issue May 13, 2021 · 2 comments
Open

OBO-Dashboard gets stuck with NCIT - independent of memory #45

matentzn opened this issue May 13, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@matentzn
Copy link
Contributor

No description provided.

@matentzn matentzn self-assigned this May 13, 2021
@matentzn matentzn added the bug Something isn't working label May 16, 2021
@matentzn
Copy link
Contributor Author

@jamesaoverton suggested this may have to do with the gateway not closing or closing too slowly.. Maybe adding a bit of sleeping time fixes the issue?

@matentzn
Copy link
Contributor Author

Started here:

    py4j.java_gateway.launch_gateway(
        jarpath=robot_jar, classpath='org.obolibrary.robot.PythonOperation', die_on_exit=True, port=25333)

....
robot_gateway = gateway.jvm.org.obolibrary.robot

Closed like this:

try:
        gateway.close()
    except Exception:
        pass

    sys.exit(0)

@beckyjackson do you have any better idea than sleeping?

@anitacaron anitacaron assigned anitacaron and unassigned matentzn Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants