Hi,
thank you for your fast reply.
info() simply returns a help text in Markdown form
def info():
infotext = '''
### Es stehen folgende Funktionen zur Verfügung:
| Funktion | Beschreibung |
|:-------------------|:-------------|
|info() | Diese Information zur Forschungsdatenbank |
|sql(sql_statement, index_column = None) | Ausführen des sql statements sql_statement... |
|tabellen() | Es wird eine Liste aller in der Datenbank zur Verfügung stehenden Tabellen zurückgeliefert. Es steht eine Beschreibung zur Verfügung.|
'''
display(Markdown(infotext))
but all Markdown cells are not rendered!
If I double click on the “not visible” cell, the Markdown source is shown…
partially done here:
The browser console shows tons of errors like:
jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1 Failed to render TypeError: Cannot read properties of undefined (reading 'theme')
at get baseMarkdownItOptions (999.cd895bd57407720ae82f.js?v=cd895bd57407720ae82f:1:4512)
at p.getOptions (999.cd895bd57407720ae82f.js?v=cd895bd57407720ae82f:1:4112)
at p.getMarkdownIt (999.cd895bd57407720ae82f.js?v=cd895bd57407720ae82f:1:3652)
at g.render (999.cd895bd57407720ae82f.js?v=cd895bd57407720ae82f:1:674)
at g.renderModel (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1286324)
at Ke._updateRenderedInput (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:267535)
at Ke._handleRendered (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:267214)
at Ke.onUpdateRequest (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:266838)
at Ke.processMessage (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1781107)
at b (jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1:1753611)
(anonym) @ jlab_core.23e8a6b191d1fa15c1b7.js?v=23e8a6b191d1fa15c1b7:1
336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1 Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early
_loadFromKernel @ 336.0a90bd910629a565bb7e.js?v=0a90bd910629a565bb7e:1
So ipywidgets seems to be causing the issue, right?
Inspecting this further, there seems to be a mismatch with various libraries
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
jupyter-server-ydoc 0.8.0 requires jupyter-ydoc<0.4.0,>=0.2.0, but you have jupyter-ydoc 2.0.1 which is incompatible.
jupyter-server-ydoc 0.8.0 requires ypy-websocket<0.9.0,>=0.8.2, but you have ypy-websocket 0.12.4 which is incompatible.
jupyterlab-markup 2.0.0 requires jupyterlab==3.*,>=3.0, but you have jupyterlab 4.1.5 which is incompatible.
I tried to resolve this, but getting further errors with the dependency
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fastapi 0.110.0 requires starlette<0.37.0,>=0.36.3, but you have starlette 0.37.2 which is incompatible.
jupyterlab-markup 2.0.0 requires jupyterlab==3.*,>=3.0, but you have jupyterlab 4.1.5 which is incompatible.
I am not that experienced with the python environment, is there a means to resove this?
Thank you very much!
Marc