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

lets-plot example fails to load dependency (unknown resolver null) #117

Closed
holgerbrandl opened this issue Jan 5, 2021 · 3 comments · Fixed by #230
Closed

lets-plot example fails to load dependency (unknown resolver null) #117

holgerbrandl opened this issue Jan 5, 2021 · 3 comments · Fixed by #230
Labels
bug Installation and functionality issues

Comments

@holgerbrandl
Copy link
Contributor

holgerbrandl commented Jan 5, 2021

When trying to load the library lets-plot as described in the repo examples, it simply fails with
image

Used version

(base) C:\Users\brandl>jupyter notebook
[I 11:44:39.550 NotebookApp] Writing notebook server cookie secret to C:\Users\brandl\AppData\Roaming\jupyter\runtime\notebook_cookie_secret
[I 11:44:40.257 NotebookApp] JupyterLab extension loaded from C:\Users\brandl\Anaconda3\lib\site-packages\jupyterlab
[I 11:44:40.257 NotebookApp] JupyterLab application directory is C:\Users\brandl\Anaconda3\share\jupyter\lab
[I 11:44:40.260 NotebookApp] Serving notebooks from local directory: C:\Users\brandl
[I 11:44:40.260 NotebookApp] Jupyter Notebook 6.1.6 is running at:
[I 11:44:40.260 NotebookApp] http://localhost:8888/?token=2a5ab8faec70763df31e57be46d9b7eba9926e2d6654d9de
[I 11:44:40.260 NotebookApp]  or http://127.0.0.1:8888/?token=2a5ab8faec70763df31e57be46d9b7eba9926e2d6654d9de
[I 11:44:40.260 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 11:44:40.356 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/brandl/AppData/Roaming/jupyter/runtime/nbserver-55572-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=2a5ab8faec70763df31e57be46d9b7eba9926e2d6654d9de
     or http://127.0.0.1:8888/?token=2a5ab8faec70763df31e57be46d9b7eba9926e2d6654d9de
[I 11:44:44.541 NotebookApp] Interrupted...
[I 11:44:44.541 NotebookApp] Shutting down 0 kernels
[I 11:44:44.541 NotebookApp] Shutting down 0 terminals

(base) C:\Users\brandl>jupyter console --kernel=kotlin
[main] INFO ikotlin - Kernel args: -classpath=C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\jupyter-lib-0.8.3.64.jar;C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-script-runtime-1.4.30-dev-3354.jar;C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-reflect-1.4.30-dev-3354.jar;C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-stdlib-1.4.30-dev-3354.jar;C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-stdlib-common-1.4.30-dev-3354.jar;C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\annotations-13.0.jar, C:\Users\brandl\AppData\Roaming\jupyter\runtime\kernel-47432.json, -home=C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel
[main] INFO ikotlin - Starting server with config: KernelConfig(ports=[54659, 54655, 54658, 54657, 54656], transport=tcp, signatureScheme=hmac-sha256, signatureKey=24941559-75ad9afb4b2ff679924898ea, pollingIntervalMillis=100, scriptClasspath=[C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\jupyter-lib-0.8.3.64.jar, C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-script-runtime-1.4.30-dev-3354.jar, C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-reflect-1.4.30-dev-3354.jar, C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-stdlib-1.4.30-dev-3354.jar, C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\kotlin-stdlib-common-1.4.30-dev-3354.jar, C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel\jars\annotations-13.0.jar], homeDir=C:\Users\brandl\Anaconda3\lib\site-packages\run_kotlin_kernel, resolverConfig=ResolverConfig(repositories=[kotlin.script.experimental.dependencies.RepositoryCoordinates@4926097b, kotlin.script.experimental.dependencies.RepositoryCoordinates@762efe5d, kotlin.script.experimental.dependencies.RepositoryCoordinates@5d22bbb7], libraries=org.jetbrains.kotlin.jupyter.libraries.LocalLibraryResolver@41a4555e), libraryFactory=org.jetbrains.kotlin.jupyter.libraries.LibraryFactory@3830f1c0, embedded=false)

The log output when trying to load letsplot is

[main] DEBUG ikotlin - [iopub] snd>: msg[956dd6a5e4244a38bc0629f3aa729011] header = {"date":"2021-01-05T11:49+0100","session":"956dd6a5e4244a38bc0629f3aa729011","msg_type":"execute_input","msg_id":"4ab74808-48c7-4500-a95e-f1e347a67d42","version":"5.3","username":"username"} parentHeader = {"msg_id":"305b1ca7b3e4468a8615caa681efafa5","username":"username","session":"956dd6a5e4244a38bc0629f3aa729011","msg_type":"execute_request","version":"5.2"} metadata = {} content = {"execution_count":7,"code":"\n%use lets-plot"}                                                                                                            [main] INFO resolver - Adding repository: https://jetbrains.bintray.com/lets-plot-maven/                                                                                                                         [main] INFO resolver - Resolving org.jetbrains.lets-plot-kotlin:lets-plot-kotlin-api-kernel:1.1.0                                                                                                                [main] INFO resolver - Resolved: C:\Users\brandl\.ivy2\cache\org.jetbrains.lets-plot-kotlin\lets-plot-kotlin-api-kernel\jars\lets-plot-kotlin-api-kernel-1.1.0.jar                                               [main] INFO resolver - Resolving org.jetbrains.lets-plot:lets-plot-common:1.5.4                                                                                                                                  [main] INFO resolver - Resolved: C:\Users\brandl\.ivy2\cache\org.jetbrains.lets-plot\lets-plot-common\jars\lets-plot-common-1.5.4.jar, C:\Users\brandl\.ivy2\cache\org.jetbrains.kotlin\kotlin-stdlib-jdk8\jars\kotlin-stdlib-jdk8-1.4.10.jar, C:\Users\brandl\.ivy2\cache\org.jetbrains.kotlin\kotlin-stdlib\jars\kotlin-stdlib-1.4.10.jar, C:\Users\brandl\.ivy2\cache\org.jetbrains.kotlin\kotlin-stdlib-common\jars\kotlin-stdlib-common-1.4.10.jar, C:\Users\brandl\.ivy2\cache\org.jetbrains\annotations\jars\annotations-13.0.jar, C:\Users\brandl\.ivy2\cache\org.jetbrains.kotlin\kotlin-stdlib-jdk7\jars\kotlin-stdlib-jdk7-1.4.10.jar, C:\Users\brandl\.ivy2\cache\org.jetbrains.kotlin\kotlin-reflect\jars\kotlin-reflect-1.4.10.jar, C:\Users\brandl\.ivy2\cache\io.github.microutils\kotlin-logging\jars\kotlin-logging-1.8.3.jar, C:\Users\brandl\.ivy2\cache\org.slf4j\slf4j-api\jars\slf4j-api-1.7.29.jar, C:\Users\brandl\.ivy2\cache\org.slf4j\slf4j-simple\jars\slf4j-simple-1.7.28.jar                                                                          [main] INFO resolver - Resolving org.jetbrains.lets-plot:lets-plot-image-export:1.5.4                                                                                                                            :: problems summary ::                                                                                                                                                                                           :::: ERRORS                                                                                                                                                                                                              unknown resolver null                                                                                                                                                                                                                                                                                                                                                                                                             unknown resolver null       
@ileasile
Copy link
Collaborator

ileasile commented Jan 5, 2021

Hello! Are you sure that it was not loaded? Have you tried some lets-plot commands after that?

@holgerbrandl
Copy link
Contributor Author

Indeed, it loads the library and let-plot is fully functional. I took the word ERROR literally without doubting it. :-)

I still think that the ticket is somehow valid, as such a printout is confusing to new users and does not look pretty in reports.

@ileasile
Copy link
Collaborator

ileasile commented Jan 5, 2021

Ok, I will look into it

@ileasile ileasile added the bug Installation and functionality issues label Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Installation and functionality issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants