Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Problem with launching napari from recorder environment #499

Open
ieivanov opened this issue Feb 4, 2025 · 4 comments
Open

[BUG] Problem with launching napari from recorder environment #499

ieivanov opened this issue Feb 4, 2025 · 4 comments
Assignees

Comments

@ieivanov
Copy link
Contributor

ieivanov commented Feb 4, 2025

When I launch napari using the command line from a recorder environment (without actually starting the recorder-napari widget), napari start and works well. However, then I close napari, the command line prompt does not return - instead I have to terminate it with Ctr+C. It looks like there is some process (probably something Qt related?) that is still running.

@talonchandler
Copy link
Collaborator

I just recreated this issue, and I agree that the process should close when napari closes.

Can you take care of this @amitabhverma?

@amitabhverma
Copy link
Collaborator

@talonchandler
I can replicate this issue of napari not closing with the following lines on Linux:

conda create -y -n recorder python=3.10
conda activate recorder
python -m pip install "napari[pyqt6]"

As @ieivanov also pointed out, I don't believe this is recorder-napari widget related but possibly pyqt6 since I don't see the issue with pyqt5.
PS: Also, this issue does not seem to affect Windows.

@ieivanov
Copy link
Contributor Author

ieivanov commented Feb 5, 2025

Hm, interesting - does this happen if you don't have the recorder widget installed, i.e. with just napari itself?

@amitabhverma
Copy link
Collaborator

Hm, interesting - does this happen if you don't have the recorder widget installed, i.e. with just napari itself?

Yes, that's exactly what I replicated above. And with pyqt5 it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants