Swift Command Line Tool Not Receiving DistributedNotificationCenter Notifications

I am trying to create a very basic Swift command-line application that signals to another application using a WebSocket when the macOS UI changes to/from light/dark mode. For some reason, the command-line tool is not receiving any notifications from DistributedNotificationCenter, in particular, AppleInterfaceThemeChangedNotification. However, running the exact same code in a Cocoa UI app on…

Details

Airflow Task not running – unsupported operand type(s) for +: ‘NoneType’ and ‘int’

I am trying to run airflow to deploy the cloud function as a sample. But when I run it in airflow webserver, I am getting the following error. [2019-12-11 03:52:07,181] {logging_mixin.py:95} INFO – [[34m2019-12-11 03:52:07,180[0m] {[34mdiscovery.py:[0m867} INFO[0m – URL being requested: GET https://cloudfunctions.googleapis.com/v1/projects/projectid/locations/us- central1/functions/airflow?alt=json[0m [2019-12-11 03:52:07,181] {taskinstance.py:1047} ERROR – unsupported operand type(s) for +: ‘NoneType’…

Details