We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3e348 commit 8e9302cCopy full SHA for 8e9302c
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/Integration.kt
@@ -66,7 +66,14 @@ internal class Integration(
66
) : JupyterIntegration() {
67
68
override fun Builder.onLoaded() {
69
- setMinimalKernelVersion(MIN_KERNEL_VERSION)
+ try {
70
+ setMinimalKernelVersion(MIN_KERNEL_VERSION)
71
+ } catch (_: NoSuchMethodError) { // will be thrown on version < 0.11.0.198
72
+ throw IllegalStateException(
73
+ "Your Kotlin Jupyter kernel version appears to be out of date (version ${notebook.kernelVersion}). " +
74
+ "Please update to version $MIN_KERNEL_VERSION or higher to be able to use DataFrame."
75
+ )
76
+ }
77
val codeGen = ReplCodeGenerator.create()
78
val config = JupyterConfiguration()
79
0 commit comments