Comments (4)
You're right, thanks. check.py hasn't changed since we added the new gui (PyQT + OpenGL)
I've added checks for the two to check.py
from bluesky.
Can you tell me a bit more about why you had to reinstall PyQt4? And are you using PyQt4 and PyQt5 simultaneously?
Thanks!
from bluesky.
after I installed PyQt5
I got the following (or at least this is the earliest I find in my terminal):
$ 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...
I do not know how much reproducible this is...maybe it can be proved with a clean machine.
HTH
from bluesky.
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.
from bluesky.
Related Issues (20)
- How to kill an orphaned BS node HOT 1
- QT Gui Fatal Error HOT 2
- Qt GUI scale issue HOT 9
- Is there any built- in function to calculate distance travel by the single aircraft? HOT 4
- Diferent results on same scenario HOT 6
- How to import flightradar 24 csv file into bluesky HOT 4
- How to simulate air traffic of your aerodrome in bluesky. Where is the source code of bluesky to read ? HOT 1
- Generating scenarios from real-time air traffic data OR from historic data such as from ASTERIX files HOT 2
- How to define holding pattern using command in bluesky.how to designate fix apart from waypoint using bluesky inside airspace ? HOT 2
- I have this problem installing "pip install bluesky-simulator[full]" HOT 6
- Speed and Altitude do not meet at specified waypoints
- Aircraft does not flies on the flight paths
- checkInside function of POLY gives ValueError when used on a single aircraft selected through the index
- BlueSky crash on start - resolved HOT 9
- Failed to load BADA performance model HOT 8
- Create conflict detection between aircraft pairs HOT 4
- How to read csv file data inside bluesky and visualize HOT 1
- import csv file containig huge data into bluesky HOT 6
- Networking Documentation
- Aircraft descents too steep, landing outside of airport
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluesky.