calcengine
calcengine copied to clipboard
Cannot run the demo due to a Settings bug
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.
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.
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
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).