Open ghost opened 7 years ago
Hi!
Great to hear your giving Soapy a go - apologies that you've been experiencing problems with the GUI.
I think the issue is due to the confusing nature of Qt when using PyQt4 and Python2. There are couple number of different Qt bindings, and the most used, PyQt4, actually has 2 API versions. When using Python 2, APIv1 is used by default, which the IPython console doesn't like. I think I've fixed this now by explicitly setting the API to v2 - I'm about to emerge this fix into master. Hopefully everything will work ok now, I've found that anaconda python is a bit more reliable than packaged python environments as it is a bit more up to date and repeatable across platforms. I'm also slowly switching my main development to be on Python3, though still targeting 2 as well, so if it fits in with your other Python work, you may find 3 a nicer experience.
HI @user8905 - Just wondering if you've had a chance to test the fix for the GUI from last week? Thanks! Andrew
Dear Sir,
I am starting to use the soapy library. I have installed the 'master' branch and I can run the 'python testSimulation.py' without problems, but I am having problems to start the GUI. The problem is on this line of the bin/soapy script:
from soapy import gui
I am using ubuntu 16.04 64-bit, but I have tried also the 32-bit version with the same result. It seems there is a problem with the QT library and Ipython, but I have not been able to find a solution.
Here is the traceback: