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

Cannot run the demo due to a Settings bug #1

Open
yassirnajmaoui opened this issue Jul 9, 2021 · 3 comments
Open

Cannot run the demo due to a Settings bug #1

yassirnajmaoui opened this issue Jul 9, 2021 · 3 comments

Comments

@yassirnajmaoui
Copy link

I couldn't run the demo even after running the whole thing in a separate environment using poetry like suggested.
After some debugging, I believe the culprit was the line self.read_settings() in the main.py file.
I think it tried to read some settings file i didn't have in my system.
After removing the line, it seemed like it worked.

@bsdz
Copy link
Owner

bsdz commented Jul 9, 2021

That's interesting. I think I use QT's QSettings class that abstracts away settings in a platform specific way. Actually I noticed I hard-coded my name in that function; probably not a great idea.

@arthurcolle
Copy link

I can't seem to run this at all either, on macOS (Catalina).
Running main.py just crashes immediately. I have all the dependencies installed

@bsdz
Copy link
Owner

bsdz commented Jul 18, 2021

I can't seem to run this at all either, on macOS (Catalina).
Running main.py just crashes immediately. I have all the dependencies installed

Sadly, I've no experience with macOS (other than using FreeBSD many moons ago). Doesn't it even give you a stack trace? If it leaves a core dump then not sure what to suggest. I don't think I am doing anything unusual. It might be worth seeing if you can run a simple pyqt demo (https://github.com/pyqt/examples).

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