Comments (14)
Hello, Im having the same issue too. It was working fine days ago but now it is crashing.
from airflow-tutorial.
Ok. looks like the first time it works for everyone and the second when it is restarted the process fails.
from airflow-tutorial.
The problem I think is that there were some changes in the docker images (puckel/docker-airflow:1.10.1 or postgres:9.6). I been doing some test for a month with this repo and it was working well.
from airflow-tutorial.
I am having the same issue. It failed for me on the first run though.
from airflow-tutorial.
Hi, Am also having the same error.. Did anybody find a workaround or another more stable image?
from airflow-tutorial.
Greetings - I just joined and am having the same issues. Airflow 1.10.1 shows it's restarting constantly and localhost:8080 fails. On the other hand, error logs show tons of postgres errors - AttributeError: module 'sqlalchemy.dialects.postgresql' has no attribute 'MONEY'
Checking on the docker log for postgres shows - "LOG: incomplete startup packet"
Jist of the error message is derscribed here - https://www.postgresql-archive.org/Incomplete-startup-packet-help-needed-td5199030.html
Sounds like postgres is being hit with empty packets, possibly from the webserver restarting?
I'm running on Mac current OSX and trying to learn Airflow through your tutorials. I am excited to get past this blocker in order to start learning airflow.
from airflow-tutorial.
i am having the same issue too 'sqlalchemy.dialects.postgresql' has no attribute 'MONEY'
from airflow-tutorial.
I have the same issue as well...
looks like the "github.com/puckel/docker-airflow.git" docker image installs the wrong sqlalchemy<1.2? the MONEY
attribute is new in 1.2:
from my docker-compose build logs:
Collecting sqlalchemy<1.2.0,>=1.1.15 (from apache-airflow[celery,crypto,gcp_api,hive,jdbc,mysql,postgres,s3,ssh]==1.10.0)
Downloading https://files.pythonhosted.org/packages/cc/4d/96d93ff77cd67aca7618e402191eee3490d8f5f245d6ab7622d35fe504f4/SQLAlchemy-1.1.18.tar.gz (5.3MB)
from sqlalchemy:
link: https://docs.sqlalchemy.org/en/13/dialects/postgresql.html
from airflow-tutorial.
ohh adding "PYTHON_DEPS: sqlalchemy==1.2.0" to docker-compose.yml seems to solve problem quick and dirty:
it's a quick fix as there're some errors when building the image, but everything seems to be working...
from airflow-tutorial.
i updated puckel/docker-airflow:1.10.4 and it works in windows. i had issue with config json which i loaded manually.
from airflow-tutorial.
I tried running the the update on Mac with airflow1.10.4 and PYTHON_DEPS added to the docker-compose.yml and still suffered from the same error messages above.
I followed this article and was able to launch Airflow finally. To be fair, I'm brand new to all this and spent 6 hours just trying to get stuff to work.
Check it out...
from airflow-tutorial.
see if this link help, everything is baked in as VM, just install oracle virtual box and all done. https://marclamberti.com/form-course-material-100/
from airflow-tutorial.
ohh adding "PYTHON_DEPS: sqlalchemy==1.2.0" to docker-compose.yml seems to solve problem quick and dirty:
it's a quick fix as there're some errors when building the image, but everything seems to be working...
I forked the repo, made this change and it works.
I created a pull request (#25) so, the change can be merged back, but in the meantime, you can test it on (https://github.com/robinparriath/airflow-tutorial).
from airflow-tutorial.
Sorry for the late response. I was busy for the last 2 months.
Thanks @robinparriath for working on this issue. Confirming that adding PYTHON_DEPS: sqlalchemy==1.2.0
to docker-compose.yml
seems to solve issue.
The pull request is accepted.
from airflow-tutorial.
Related Issues (20)
- Broken DAG: [/usr/local/airflow/dags/example_variables.py] 'Variable example_variables_config does not exist' HOT 2
- Problem to create an user
- FileNotFoundError: [Errno 2] No such file or directory while running docker-compose up -d HOT 1
- failed to solve with frontend dockerfile.v0: failed to read dockerfile HOT 1
- Error executing docker-compose up -d HOT 1
- Adding Scripts HOT 1
- Docker-compose up Error (Failed to build webserver) HOT 3
- docker-compose up -d error HOT 9
- Version prerequisites and updated docker-compose file to run this repo
- docker-compose up error. Couldn't create the network. HOT 1
- webserver_1 | NameError: name '_mysql' is not defined HOT 14
- webserver_1 | ModuleNotFoundError: No module named 'wtforms.compat' HOT 2
- webserver install not work HOT 1
- Airflow
- Cannot start service webserver: error while creating mount source path HOT 1
- couldn't do docker compose up on mac m1
- webserver-1 keep crashing HOT 1
- Run error with gcloud
- getting following error when i tried to start the docker container for the tutorial HOT 3
- ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/site-packages/markupsafe/__init__.py) HOT 2
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 airflow-tutorial.