Skip to content

Ugly error when jedi package is not installed #3640

Open
@devinrsmith

Description

@devinrsmith

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions