Skip to content

[BUG] Unable to run werkzeug profiler on python 3.12 #3145

Open
@Farkites

Description

@Farkites

Describe your context

I'm following the instructions posted in this Community forum blog post to run werkzeug profiler in my Dash application to identify performance bottlenecks.

It doesn't work with python version 3.12, receiving error:ValueError: Another profiling tool is already active. I'm not running any other profiler in the application and I've tried disabling Linux profiler (python app.py -X perf 0)
It works fine with python <=3.11

  • pip list | grep dash:
dash                    2.18.0
dash-core-components    2.0.0
dash-html-components    2.0.0
dash-iconify            0.1.2
dash-table              5.0.0

Describe the bug

I receiving the error ValueError: Another profiling tool is already active when running the application with python version 3.12.

Expected behavior

It should work as it does with python<=3.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokensev-3annoyance with workaround

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions