Skip to content

freeze when rendering plotly with Python 3.12 #6033

Closed
@PhilippFW

Description

@PhilippFW

System details:

Windows 11

Positron and OS details:

Positron Version: 2025.01.0 (system setup) build 159
Code - OSS Version: 1.95.0
Commit: bc8820b
Date: 2025-01-09T23:34:24.616Z
Electron: 32.2.1
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

Interpreter details:

Python 3.12.8

Describe the issue:

The console freezes when rendering plots
-> this issue started happening when removing positron 2024.07 and reinstalling with 2025.01
-> repeated install of 2025.01, but issue persits

Steps to reproduce the issue:

plotly figure creation

freezes when rendering

code runs perfectly well, creating figures, when excuting from anaconda console (but outside of positron)

Expected or desired behavior:

plot rendering, not freezing

Were there any error messages in the UI, Output panel, or Developer Tools console?

from output panel 'python 3.12.8 (console)':
2025-01-17 16:01:08.331 [debug] >>> SEND comm_open [shell]: {"target_name":"positron.help","comm_id":"positron-help-python-2-20bdf30e","data":{}}
2025-01-17 16:01:08.332 [info] Set initial console width to 138
2025-01-17 16:01:08.332 [debug] >>> SEND comm_msg [shell]: {"comm_id":"positron-ui-python-1-901dbdd8","data":{"jsonrpc":"2.0","method":"call_method","params":{"method":"setConsoleWidth","params":[138]}}}
2025-01-17 16:01:11.897 [debug] <<< RECV comm_msg [iopub]: {"comm_id":"positron-ui-python-1-901dbdd8","data":{"jsonrpc":"2.0","method":"show_html_file","params":{"height":0,"is_plot":true,"path":"127.0.0.1:50636","title":""}}}

from output panel 'window':
2025-01-17 16:01:08.242 [debug] [Runtime startup] Saving workspace sessions (1)
2025-01-17 16:01:08.316 [info] Creating positron.help client 'positron-help-python-2-20bdf30e'...
2025-01-17 16:01:11.903 [error] Failed to show HTML file 127.0.0.1:50636: Error: Path does not exist: 127.0.0.1:50636

Metadata

Metadata

Labels

area: consoleIssues related to Console category.area: plotsIssues related to Plots category.bugSomething isn't workinginfo neededWaiting on informationlang: pythonos-windowsWindows issue

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions