calcengine icon indicating copy to clipboard operation
calcengine copied to clipboard

Cannot run the demo due to a Settings bug

Open yassirnajmaoui opened this issue 4 years ago • 3 comments
trafficstars

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.

yassirnajmaoui avatar Jul 09 '21 07:07 yassirnajmaoui

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.

bsdz avatar Jul 09 '21 21:07 bsdz

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

arthurcolle avatar Jul 18 '21 08:07 arthurcolle

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).

bsdz avatar Jul 18 '21 19:07 bsdz