Airflow - PythonOperator required termios module on Window 10 - airflow

I cannot debug the DAG file due to the error in the image below
I'm working on Windows 10. Anybody may give me the help

termios works only in Unix systems: https://docs.python.org/3/library/tty.html
Airflow does not support Windows (see open issue on GitHub)
For development purposes you can work with Airflow on Windows using Breeze with docker WSL 2

Related

web2py set default version of python

I am runnning web2py on nginx on centos 7
the system python is 2.7.5
I have to use 2.7.15 - reasons unknown
so I set up virtualenv and all works, except when I run nginx and web2py is using the wrong version of python, therefore I get the package problems etc. etc.
So how can I tell web2py to use the python from virtual env??
Thank you
best regards

Airflow installation problems

So, I'm trying to install Airflow on my laptop and I was able to do that using WSL but I can't seem to open it.
My webserver is running but I cant open it on localhost:8080
The system is taking eons to run airflow scheduler

qt app cannot connect to x server when running with sudo in debian 10

i have a qt app which does not start when running with sudo.
Error information is:
No protocol specified, cannot connect to X server :0
it was a qt4 app, and we solved the problem by adding QApplication::setGraphicsSystem("native").
But when ported to qt5, issue happens again, unfortunately setGraphicsSystem is obsolted in qt5.
I have tried several methods but none of them solves my problem:
Cannot connect to X server :0.0 with a Qt application
https://askubuntu.com/questions/175611/cannot-connect-to-x-server-when-running-app-with-sudo
https://unix.stackexchange.com/questions/118811/why-cant-i-run-gui-apps-from-root-no-protocol-specified
btw, it works fine in ubuntu20
any help is appreciated.
Regards
Herb

Preparing I.MX 8 Nano for development using Debian with QT UI / dotnet core for communication

I am trying to get the above development system working, I am starting with a Varicsite NANO compute module. I am trying to get QT 5 setup to develop. I have been unable to find a good Debian guide on how to do that. I would eventually want the QT application to run in kiosk mode without the Weston desktop.
I have Debian built using their instructions of building Debian for the IMX8 board. It runs fine Weston comes up on boot.
I have installed the following packages on the target device.
sudo
apache2
php
jq
curl
qtwayland5
gdb
gdbserver
I have attempted to follow their guide on getting QT to work for YOCTO(not Debian) and have not gotten it to work. QT is installed but their Debian build does not come with a full sdk. Nor do they detail all of the packages that need to be installed.
I have also tried following this guide, but it was written for an RPI and X11 not wayland/Weston so some of the steps seem wrong especially in all of the packages it wants you to install.
https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/
Is there a good guide on how to do this, I was thinking of trying to combine the two guides by using his lines to set up rsync and such but I still do not have a full SDK without the right qmake.
My host system is UBUNTU 16.04

How to know whether I installed Apache Airflow successfully?

My OS is Mac OS. I followed airflow official installation guide to install. But when I test: airflow test tutorial print_date 2015-06-01 from airflow testing it doesn't print any output. The result is here.. I wonder did I install it successfully? I've run other commands on the official airflow testing page. They report no error.
So far I see only WARNING output, it doesn't mean that airflow isn't running nor installed improperly. You'd have an easier time testing your install with airflow list_dags and you probably must run airflow initdb before most of the commands (and look at the airflow.cfg file).

Resources