cortex-lab / cortex-lab/phy

Error with: QWidget: Must construct a QApplication before a QWidget

Open
#1,362 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: installation status: needs-info type: bug
Dominant language
Python
Stars
430
Forks
187
Avg merge
2h 31m
Merged PRs (30d)
2

Description

Error with: QWidget: Must construct a QApplication before a QWidget

I created phy2 environment with enivornment.yml. When I tried to use phy2, the system got a warning about QWidget. How can i solve this problem?

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the warning with the phy2 environment created from environment.yml and record the command or entry point that triggers it. Inspect the application's Qt startup path and environment setup; done means phy2 launches without the QWidget warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.