spyder-ide / spyder-notebook

Jupyter notebook integration with Spyder
Other
532 stars 130 forks source link

Bugs in Spyder notebook when installed using pip #441

Open RakhulR opened 1 year ago

RakhulR commented 1 year ago

Description

What steps will reproduce the problem?

Bug 1: undo and redo not working on cells in spyder-notebook

Bug 2: shortcut for run and advance(shift+enter) in spyder-notebook do not works before entering a cell. ie. just selecting the a cell and pressing shift+center do not run the cell.

Versions

Dependencies

# Mandatory:
atomicwrites >=1.2.0                                                        :  1.4.0 (OK)
chardet >=2.0.0                                                             :  5.0.0 (OK)
cloudpickle >=0.5.0                                                         :  2.1.0 (OK)
cookiecutter >=1.6.0                                                        :  2.1.1 (OK)
diff_match_patch >=20181111                                                 :  20200713 (OK)
intervaltree >=3.0.2                                                        :  3.0.2 (OK)
IPython >=7.31.1,<9.0.0,!=8.8.0,!=8.9.0,!=8.10.0,!=8.11.0,!=8.12.0,!=8.12.1 :  8.13.1 (OK)
jedi >=0.17.2,<0.19.0                                                       :  0.18.2 (OK)
jellyfish >=0.7                                                             :  0.11.2 (OK)
jsonschema >=3.2.0                                                          :  4.17.3 (OK)
keyring >=17.0.0                                                            :  23.13.1 (OK)
nbconvert >=4.0                                                             :  7.4.0 (OK)
numpydoc >=0.6.0                                                            :  1.3 (OK)
paramiko >=2.4.0                                                            :  2.8.0 (OK)
parso >=0.7.0,<0.9.0                                                        :  0.8.3 (OK)
pexpect >=4.4.0                                                             :  4.8.0 (OK)
pickleshare >=0.4                                                           :  0.7.5 (OK)
psutil >=5.3                                                                :  5.9.0 (OK)
pygments >=2.0                                                              :  2.15.1 (OK)
pylint >=2.5.0,<3.0                                                         :  2.15.4 (OK)
pylint_venv >=3.0.2                                                         :  3.0.2 (OK)
pyls_spyder >=0.4.0                                                         :  0.4.0 (OK)
pylsp >=1.7.4,<1.8.0                                                        :  1.7.4 (OK)
pylsp_black >=1.2.0,<3.0.0                                                  :  1.2.1 (OK)
qdarkstyle >=3.0.2,<3.2.0                                                   :  3.1 (OK)
qstylizer >=0.2.2                                                           :  0.2.2 (OK)
qtawesome >=1.2.1                                                           :  1.2.3 (OK)
qtconsole >=5.4.2,<5.5.0                                                    :  5.4.3 (OK)
qtpy >=2.1.0                                                                :  2.3.1 (OK)
rtree >=0.9.7                                                               :  1.0.0 (OK)
setuptools >=49.6.0                                                         :  67.7.2 (OK)
sphinx >=0.6.6                                                              :  6.1.3 (OK)
spyder_kernels >=2.4.4,<2.5.0                                               :  2.4.4 (OK)
textdistance >=4.2.0                                                        :  4.5.0 (OK)
three_merge >=0.1.1                                                         :  0.1.1 (OK)
watchdog >=0.10.3                                                           :  2.2.0 (OK)
zmq >=22.1.0                                                                :  24.0.1 (OK)

# Optional:
cython >=0.21                                                               :  0.29.35 (OK)
matplotlib >=3.0.0                                                          :  3.7.2 (OK)
numpy >=1.7                                                                 :  1.24.2 (OK)
pandas >=1.1.1                                                              :  2.0.2 (OK)
scipy >=0.17.0                                                              :  1.10.1 (OK)
sympy >=0.7.3                                                               :  1.12 (OK)

# Spyder plugins:
spyder_notebook.notebookplugin 0.5.1                                        :  0.5.1 (OK)
ccordoba12 commented 1 year ago

Hey @RakhulR, thanks for reporting. I'll move your issue to the Spyder-notebook repository, which is where it really belongs.

You'll receive support there from its maintainer.

jitseniesen commented 1 year ago

I tried to reproduce your issue on Linux, but both undo/redo and shift+enter work for me on Linux. I will try to pip install the package on Windows in a few days and hopefully the issue that you report will appear then.

In the mean time, can you please go to the Options menu in the Notebook pane (click on the icon ≡ with three horizontal lines in the upper right corner about the notebook), select Server Info and copy the results here?

RakhulR commented 1 year ago

I tried to reproduce your issue on Linux, but both undo/redo and shift+enter work for me on Linux. I will try to pip install the package on Windows in a few days and hopefully the issue that you report will appear then.

In the mean time, can you please go to the Options menu in the Notebook pane (click on the icon ≡ with three horizontal lines in the upper right corner about the notebook), select Server Info and copy the results here?

Thanks for your response. I pip installed in one of my other system and the same problems are shown there too.

The below is the server information form the pc I reported the issue:

No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. A _jupyter_server_extension_points function was not found in jupyter_lsp. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. A _jupyter_server_extension_points function was not found in nbclassic. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. A _jupyter_server_extension_points function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.

To access the server, open this file in a browser: file:///C:/Python/WPy64-31140/settings/runtime/jpserver-1336-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=65f27ee2f332f35c3dac81b27a68c631d5b2b87a9520364f http://127.0.0.1:8888/tree?token=65f27ee2f332f35c3dac81b27a68c631d5b2b87a9520364f Could not determine npm prefix: [WinError 2] The system cannot find the file specified 0.01s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. Notebook AppData/Local/Temp/spyder/notebooks/untitled0.ipynb is not trusted 404 GET /kernelspecs/python3/logo-64x64.png (dd79e3b82f8847b5845867e3758817e2@::1) 139.14ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb Uncaught exception GET /api/nbconvert?1694670288781 (::1) HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/nbconvert?1694670288781', version='HTTP/1.1', remote_ip='::1') Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py", line 40, in get exporters = await run_sync(base.get_export_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 150, in get_export_names e = get_exporter(exporter_name)(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 109, in get_exporter exporter = [e for e in exporters if e.name == name or e.name == name.lower()][0].load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\importlib_metadata__init__.py", line 209, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\init__.py", line 6, in from .exporter import ReportlabExporter File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\exporter.py", line 20, in from .rlmarkdown import md_to_flowables File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\rlmarkdown.py", line 16, in class InlineRenderer(mistune.Renderer): ^^^^^^^^^^^^^^^^ AttributeError: module 'mistune' has no attribute 'Renderer' wrote error: 'Unhandled error' Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py", line 40, in get exporters = await run_sync(base.get_export_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 150, in get_export_names e = get_exporter(exporter_name)(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 109, in get_exporter exporter = [e for e in exporters if e.name == name or e.name == name.lower()][0].load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\importlib_metadata__init.py", line 209, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab__init.py", line 6, in from .exporter import ReportlabExporter File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\exporter.py", line 20, in from .rlmarkdown import md_to_flowables File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\rlmarkdown.py", line 16, in class InlineRenderer(mistune.Renderer): ^^^^^^^^^^^^^^^^ AttributeError: module 'mistune' has no attribute 'Renderer' { "Host": "localhost:8888", "Accept": "/", "Referer": "http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36" } 500 GET /api/nbconvert?1694670288781 (dd79e3b82f8847b5845867e3758817e2@::1) 3032.64ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/contents/AppData/Local/Temp/spyder/notebooks/untitled1.ipynb?type=notebook&content=1&1694670356835 (::1): No such file or directory: AppData/Local/Temp/spyder/notebooks/untitled1.ipynb wrote error: 'No such file or directory: AppData/Local/Temp/spyder/notebooks/untitled1.ipynb' Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\contents\handlers.py", line 121, in get model = await ensure_async( ^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_core\utils__init.py", line 182, in ensure_async result = await obj ^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\contents\filemanager.py", line 877, in get raise web.HTTPError(404, "No such file or directory: %s" % path) tornado.web.HTTPError: HTTP 404: Not Found (No such file or directory: AppData/Local/Temp/spyder/notebooks/untitled1.ipynb) 404 GET /api/contents/AppData/Local/Temp/spyder/notebooks/untitled1.ipynb?type=notebook&content=1&1694670356835 (dd79e3b82f8847b5845867e3758817e2@::1) 51.45ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled1.ipynb Uncaught exception GET /api/nbconvert?1694670356745 (::1) HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/nbconvert?1694670356745', version='HTTP/1.1', remote_ip='::1') Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py", line 40, in get exporters = await run_sync(base.get_export_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 150, in get_export_names e = get_exporter(exporter_name)(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 109, in get_exporter exporter = [e for e in exporters if e.name == name or e.name == name.lower()][0].load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\importlib_metadata__init__.py", line 209, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\init__.py", line 6, in from .exporter import ReportlabExporter File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\exporter.py", line 20, in from .rlmarkdown import md_to_flowables File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\rlmarkdown.py", line 16, in class InlineRenderer(mistune.Renderer): ^^^^^^^^^^^^^^^^ AttributeError: module 'mistune' has no attribute 'Renderer' wrote error: 'Unhandled error' Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py", line 40, in get exporters = await run_sync(base.get_export_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 150, in get_export_names e = get_exporter(exporter_name)(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 109, in get_exporter exporter = [e for e in exporters if e.name == name or e.name == name.lower()][0].load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\importlib_metadata__init__.py", line 209, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\init.py", line 6, in from .exporter import ReportlabExporter File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\exporter.py", line 20, in from .rlmarkdown import md_to_flowables File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\rlmarkdown.py", line 16, in class InlineRenderer(mistune.Renderer): ^^^^^^^^^^^^^^^^ AttributeError: module 'mistune' has no attribute 'Renderer' { "Host": "localhost:8888", "Accept": "/", "Referer": "http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled1.ipynb", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36" } 500 GET /api/nbconvert?1694670356745 (dd79e3b82f8847b5845867e3758817e2@::1) 802.22ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled1.ipynb 404 GET /api/contents/AppData/Local/Temp/spyder/notebooks/untitled2.ipynb?type=notebook&content=1&1694670364851 (::1): No such file or directory: AppData/Local/Temp/spyder/notebooks/untitled2.ipynb wrote error: 'No such file or directory: AppData/Local/Temp/spyder/notebooks/untitled2.ipynb' Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\contents\handlers.py", line 121, in get model = await ensure_async( ^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_core\utils\init__.py", line 182, in ensure_async result = await obj ^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\contents\filemanager.py", line 877, in get raise web.HTTPError(404, "No such file or directory: %s" % path) tornado.web.HTTPError: HTTP 404: Not Found (No such file or directory: AppData/Local/Temp/spyder/notebooks/untitled2.ipynb) 404 GET /api/contents/AppData/Local/Temp/spyder/notebooks/untitled2.ipynb?type=notebook&content=1&1694670364851 (dd79e3b82f8847b5845867e3758817e2@::1) 4.01ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled2.ipynb Uncaught exception GET /api/nbconvert?1694670364747 (::1) HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/nbconvert?1694670364747', version='HTTP/1.1', remote_ip='::1') Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py", line 40, in get exporters = await run_sync(base.get_export_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 150, in get_export_names e = get_exporter(exporter_name)(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 109, in get_exporter exporter = [e for e in exporters if e.name == name or e.name == name.lower()][0].load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\importlib_metadata\init__.py", line 209, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\importlib\init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\init__.py", line 6, in from .exporter import ReportlabExporter File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\exporter.py", line 20, in from .rlmarkdown import md_to_flowables File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\rlmarkdown.py", line 16, in class InlineRenderer(mistune.Renderer): ^^^^^^^^^^^^^^^^ AttributeError: module 'mistune' has no attribute 'Renderer' wrote error: 'Unhandled error' Traceback (most recent call last): File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\tornado\web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py", line 40, in get exporters = await run_sync(base.get_export_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 150, in get_export_names e = get_exporter(exporter_name)(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert\exporters\base.py", line 109, in get_exporter exporter = [e for e in exporters if e.name == name or e.name == name.lower()][0].load() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\importlib_metadata\init__.py", line 209, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\importlib\init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\init__.py", line 6, in from .exporter import ReportlabExporter File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\exporter.py", line 20, in from .rlmarkdown import md_to_flowables File "C:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\nbconvert_reportlab\rlmarkdown.py", line 16, in class InlineRenderer(mistune.Renderer): ^^^^^^^^^^^^^^^^ AttributeError: module 'mistune' has no attribute 'Renderer' { "Host": "localhost:8888", "Accept": "/", "Referer": "http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled2.ipynb", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36" } 500 GET /api/nbconvert?1694670364747 (dd79e3b82f8847b5845867e3758817e2@::1) 889.52ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled2.ipynb

jitseniesen commented 1 year ago

Thanks for the info. I don't understand right away where those errors come from, but there is definitely something wrong. Some messages mention a package nbconvert_reportlab that I am not familiar with. Is this package also installed on the other system that you have which shows the same problems?

RakhulR commented 1 year ago

Thanks for the info. I don't understand right away where those errors come from, but there is definitely something wrong. Some messages mention a package nbconvert_reportlab that I am not familiar with. Is this package also installed on the other system that you have which shows the same problems?

in the other system nbconvert_reportlab is not installed: image

The server info from this other system is:

No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. A _jupyter_server_extension_points function was not found in jupyter_lsp. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. A _jupyter_server_extension_points function was not found in nbclassic. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. A _jupyter_server_extension_points function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.

To access the server, open this file in a browser: file:///C:/Users/rakhu/AppData/Roaming/jupyter/runtime/jpserver-17472-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=8341fec2a9dfe642db29900c4ab2ea3a768171c6e5047bec http://127.0.0.1:8888/tree?token=8341fec2a9dfe642db29900c4ab2ea3a768171c6e5047bec Notebook AppData/Local/Temp/spyder/notebooks/untitled0.ipynb is not trusted 404 GET /kernelspecs/python3/logo-64x64.png (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 93.01ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714412063 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714412063 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 80.04ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 3.99ms referer=None 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714413066 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714413066 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 0.00ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 4.00ms referer=None 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714414069 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714414069 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 4.00ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 3.96ms referer=None 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714419075 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714419075 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 4.00ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 0.00ms referer=None 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714430075 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714430075 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 3.98ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 4.00ms referer=None 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714454089 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714454089 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 4.00ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf/channels?session_id=7f3281a0-b29a-4789-9f3c-a5c00de893bc (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 3.97ms referer=None 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714483090 (::1): Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf wrote error: 'Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf' Traceback (most recent call last): File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\tornado\web.py", line 1786, in _execute result = await result File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "C:\Python\WPy64-39100\python-3.9.10.amd64\lib\site-packages\jupyter_server\services\kernels\kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: beeedb6d-85e5-4978-b80d-86baf6e81faf) 404 GET /api/kernels/beeedb6d-85e5-4978-b80d-86baf6e81faf?1694714483090 (4ad6c23ddeb64187aeeb5ba52dc5f611@::1) 0.00ms referer=http://localhost:8888/spyder-notebooks/AppData/Local/Temp/spyder/notebooks/untitled0.ipynb

jitseniesen commented 1 year ago

I did not manage to reproduce exactly the symptoms that you are seeing. However, I tried to install the plugin using pip on Windows several times with different versions and all my attempts were buggy, often so badly that they can't really be used. I tried to find the cause but without success. My investigations have been circling around qtwebengine, but there are too many layers and I can't isolate a simple example exhibiting the bug. I am afraid I have given up on this, because we are changing the build and installation process for Spyder 6 (due in a couple of months) which should bypass the problematic pip modules.

In the short term, the only advice I can give you is to install using conda (or mamba), as the qtwebengine package there is more stable in our experience. Sorry that I can't help more.