napari / napari

napari: a fast, interactive, multi-dimensional image viewer for python
https://napari.org
BSD 3-Clause "New" or "Revised" License
2.07k stars 410 forks source link

Clicking `View Traceback` in the status notification (GUI) is *really* slow #6845

Open psobolewskiPhD opened 1 month ago

psobolewskiPhD commented 1 month ago

🐛 Bug Report

If you get a traceback while using the GUI you get the small notification about it. It has View Traceback button that brings up a nicely formatted traceback you can copy paste. However, on my machine, from click to getting that window is ~1 min. with everything blocking. This is really aweful!

💡 Steps to Reproduce

Run napari from terminal. Trigger traceback, e.g. drag-n-drop a folder that doesn't contain images.

💡 Expected Behavior

The window should spawn within a few seconds at most.

🌎 Environment

napari: 0.4.19.post1 Platform: macOS-14.4.1-arm64-arm-64bit System: MacOS 14.4.1 Python: 3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:38:07) [Clang 16.0.6 ] Qt: 5.15.8 PyQt5: 5.15.9 NumPy: 1.26.3 SciPy: 1.12.0 Dask: 2024.1.1 VisPy: 0.14.1 magicgui: 0.8.1 superqt: 0.6.1 in-n-out: 0.1.9 app-model: 0.2.4 npe2: 0.7.4

OpenGL:

Screens:

Settings path:

💡 Additional Context

No response