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

Ugly error when jedi package is not installed #3640

Open
devinrsmith opened this issue Mar 31, 2023 · 0 comments
Open

Ugly error when jedi package is not installed #3640

devinrsmith opened this issue Mar 31, 2023 · 0 comments
Assignees
Milestone

Comments

@devinrsmith
Copy link
Member

I could have sworn we've seen this before and had a fix to silent it.

10:13:27.391 ERROR qtp1628289406-54     | .c.ConsoleServiceGrpcImpl | Error trying to enable jedi autocompletejava.lang.RuntimeException: Error in Python interpreter:
Type: <class 'ModuleNotFoundError'>
Value: No module named 'jedi'
Line: 5
Namespace: <module>
File: /tmp/dh/lib64/python3.11/site-packages/deephaven_internal/auto_completer/_completer.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/dh/lib64/python3.11/site-packages/deephaven_internal/auto_completer/__init__.py", line 19, in <module>
  File "/tmp/dh/lib64/python3.11/site-packages/deephaven_internal/auto_completer/_completer.py", line 5, in <module>

        at org.jpy.PyLib.executeCode(PyLib.java:-2)
        at org.jpy.PyObject.executeCode(PyObject.java:138)
        at io.deephaven.engine.util.PythonEvaluatorJpy.evalScript(PythonEvaluatorJpy.java:73)
        at io.deephaven.integrations.python.PythonDeephavenSession.lambda$evaluate$1(PythonDeephavenSession.java:183)
        at io.deephaven.util.locks.FunctionalLock.doLockedInterruptibly(FunctionalLock.java:51)
        at io.deephaven.integrations.python.PythonDeephavenSession.evaluate(PythonDeephavenSession.java:182)
        at io.deephaven.engine.util.AbstractScriptSession.lambda$evaluateScript$1(AbstractScriptSession.java:145)
        at io.deephaven.engine.context.ExecutionContext.lambda$apply$0(ExecutionContext.java:129)
        at io.deephaven.engine.context.ExecutionContext.apply(ExecutionContext.java:140)
        at io.deephaven.engine.context.ExecutionContext.apply(ExecutionContext.java:128)
        at io.deephaven.engine.util.AbstractScriptSession.evaluateScript(AbstractScriptSession.java:145)
        at io.deephaven.engine.util.ScriptSession.evaluateScript(ScriptSession.java:113)
        at io.deephaven.server.console.ConsoleServiceGrpcImpl.autoCompleteStream(ConsoleServiceGrpcImpl.java:274)
        at io.deephaven.server.browserstreaming.BrowserStream$1.<init>(BrowserStream.java:75)
        at io.deephaven.server.browserstreaming.BrowserStream.lambda$factory$0(BrowserStream.java:74)
        at io.deephaven.server.util.GrpcServiceOverrideBuilder$BrowserStreamMethod.invokeOpen(GrpcServiceOverrideBuilder.java:239)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants