Git Product home page Git Product logo

Comments (14)

laiunce avatar laiunce commented on May 29, 2024

Hello, Im having the same issue too. It was working fine days ago but now it is crashing.

from airflow-tutorial.

alexraj84 avatar alexraj84 commented on May 29, 2024

Ok. looks like the first time it works for everyone and the second when it is restarted the process fails.

from airflow-tutorial.

laiunce avatar laiunce commented on May 29, 2024

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.

netnutmike avatar netnutmike commented on May 29, 2024

I am having the same issue. It failed for me on the first run though.

from airflow-tutorial.

mikekenneth avatar mikekenneth commented on May 29, 2024

Hi, Am also having the same error.. Did anybody find a workaround or another more stable image?

from airflow-tutorial.

bsewell avatar bsewell commented on May 29, 2024

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.

GomesNayagam avatar GomesNayagam commented on May 29, 2024

i am having the same issue too 'sqlalchemy.dialects.postgresql' has no attribute 'MONEY'

from airflow-tutorial.

liu-du avatar liu-du commented on May 29, 2024

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:
image
link: https://docs.sqlalchemy.org/en/13/dialects/postgresql.html

from airflow-tutorial.

liu-du avatar liu-du commented on May 29, 2024

ohh adding "PYTHON_DEPS: sqlalchemy==1.2.0" to docker-compose.yml seems to solve problem quick and dirty:
image

it's a quick fix as there're some errors when building the image, but everything seems to be working...

from airflow-tutorial.

GomesNayagam avatar GomesNayagam commented on May 29, 2024

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.

bsewell avatar bsewell commented on May 29, 2024

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.

https://medium.com/@segal.levi/using-docker-to-explore-airflow-and-other-open-source-projects-e6349ffadf5a

Check it out...

from airflow-tutorial.

GomesNayagam avatar GomesNayagam commented on May 29, 2024

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.

robinparriath avatar robinparriath commented on May 29, 2024

ohh adding "PYTHON_DEPS: sqlalchemy==1.2.0" to docker-compose.yml seems to solve problem quick and dirty:
image

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.

tuanavu avatar tuanavu commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.