-
Notifications
You must be signed in to change notification settings - Fork 243
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
more packages needed #3
Comments
You're right, thanks. check.py hasn't changed since we added the new gui (PyQT + OpenGL) |
Can you tell me a bit more about why you had to reinstall PyQt4? And are you using PyQt4 and PyQt5 simultaneously? Thanks! |
after I installed $ python BlueSky.py
Reading config from settings.cfg
Using Qt5 for windows and widgets
Reading waypoints.dat from global
74160 waypoints read.
Reading airports.dat from global
14480 airports read.
Reading fir subfolder 36 FIRS read.
QGLWidget initialized for OpenGL version 3.3
Initializing multi-threaded simulation
Traceback (most recent call last):
File "c:\repos\bluesky\bluesky\ui\qtgl\gui.py", line 330, in notify
self.radarwidget.previewpoly(None)
File "c:\repos\bluesky\bluesky\ui\qtgl\radarwidget.py", line 564, in previewpoly
self.polyprev.set_vertex_count(0)
AttributeError: 'RadarWidget' object has no attribute 'polyprev'
Stopping Threads
BlueSky normal end. Then after installing PyQt4 and re-running the error disappeared... |
Ok, what happened there is that the radarwidget is getting mouse events before it is initialized. This might be a machine-specific thing because it never happened on the machines I've tested it on (both Qt4 and Qt5). I've patched the BlueSky gui event handler to check if radarwidget is initialized before sending it such events. This should (hopefully) fix your bug with Qt5. |
fixed synthetic.py scr.zoom call
…nces Metropolis2 geofences and loitering missions
debugging descendcheck
The
check.py
script should also check for the following:python-qt5
pyopengl
And I had to re-install PyQt4.
At least these are the ones I had to install on top of the ones listed by
check.py
.I am using Python 2.7.5
The text was updated successfully, but these errors were encountered: