TUDelft-CNS-ATM / bluesky

The open source air traffic simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems starting on macos Ventura

reskume opened this issue · comments

I'm trying to get BlueSky to work on MacOS running Ventura and Python v3.10 installed via Homebrew. When runnning

python3 BlueSky.pyfrom the command line I get the following output:

python3 -m BlueSky
Using Python-based geo functions
Reading config from /WORKSPACE-DIR/var/bluesky/settings.cfg
Reading magnetic variation data
Loading global navigation database...
Reading cache: /WORKSPACE-DIR/var/bluesky/cache/navdata.p
   *****   BlueSky Open ATM simulator *****
Distributed under GNU General Public License v3
Accepting event connections on port 11000, and stream connections on port 11001
Discovery is disabled
Loading palette bluesky-default
Using Python-based geo functions
Reading config from /WORKSPACE-DIR/var/bluesky/settings.cfg
Reading magnetic variation data
Loading global navigation database...
Reading cache:/WORKSPACE-DIR/var/bluesky/cache/navdata.p
Found Qt-provided OpenGL functions for OpenGL (4, 1) Core
Warning: RTree could not be loaded. areafilter get_intersecting and get_knearest won't work
Using Qt 6.5.0 for windows and widgets
Successfully loaded OpenAP performance model
Failed to load BADA performance model
Successfully loaded legacy performance model
Successfully loaded plugin AREA
Successfully loaded plugin DATAFEED
Qt gui warning: Populating font family aliases took 108 ms. Replace uses of missing font family "Sans" with one that exists to avoid this cost.
Reading cache: /WORKSPACE-DIR/var/bluesky/cache/aptsurface.p
Qt gui fatal error: Argument list is empty, the program name is not passed to QCoreApplication. base::CommandLine cannot be properly initialized.
zsh: abort      python3 -m BlueSky

I installed BlueSky via the recommended way and clone the Git repo. In addition to cloning the repo, I also simply downloaded the latest (12-2022) release zip file, extracted it, installed all required packages without any errors. Error is still the same. Also trying Python 3.10 and 3.9 do not work.

Is this behavior a known issue? Could this be related to the recent Venture update or some updates to QT6?

Hi @reskume,

Thanks for the bug report! I checked, this is indeed an error introduced with the latest Qt6 release. It should be fixed in
36fe17f.

Thanks for the super fast fix! Works as expected now. No more errors on startup.