Git Product home page Git Product logo

Comments (5)

andscoop avatar andscoop commented on May 30, 2024

@schnie I agree with the high-level objective here, but I think the issue we were seeing here was the result of it being a development machine. I have not run into this error since. How do you feel about closing this and opening other tickets for when we are able to capture a reproducible bug?

from astro-cli.

schnie avatar schnie commented on May 30, 2024

@andscoop what happens if you run astro airflow start in two different project directories? I would think there would be some port conflicts when starting a second.

from astro-cli.

benjamingregory avatar benjamingregory commented on May 30, 2024

Related to this -- if you issue astro airflow start before an astro airflow init, you get the following error.

MacBook-Pro-6:pipelines tardis5$ astro airflow start
invalid argument "/airflow:latest" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
panic: exit status 125

goroutine 1 [running]:
github.com/astronomerio/astro-cli/docker.Exec(0xc4204cdbc0, 0x4, 0x4)
	/go/src/github.com/astronomerio/astro-cli/docker/docker.go:27 +0x13f
github.com/astronomerio/astro-cli/airflow.imageBuild(0xc420251c20, 0x3f, 0xc420236240, 0xf)
	/go/src/github.com/astronomerio/astro-cli/airflow/docker.go:62 +0x92
github.com/astronomerio/astro-cli/airflow.Start(0xc420251c20, 0x3f, 0x0, 0x0)
	/go/src/github.com/astronomerio/astro-cli/airflow/docker.go:151 +0x4db
github.com/astronomerio/astro-cli/cmd.airflowStart(0x19fc240, 0x1a29fb0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/astronomerio/astro-cli/cmd/airflow.go:193 +0x39
github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra.(*Command).execute(0x19fc240, 0x1a29fb0, 0x0, 0x0, 0x19fc240, 0x1a29fb0)
	/go/src/github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra/command.go:698 +0x47b
github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x19fe220, 0x1, 0x0, 0x0)
	/go/src/github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra/command.go:783 +0x349
github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra.(*Command).Execute(0x19fe220, 0xc420000340, 0xc420000340)
	/go/src/github.com/astronomerio/astro-cli/vendor/github.com/spf13/cobra/command.go:736 +0x2b
main.main()
	/go/src/github.com/astronomerio/astro-cli/main.go:10 +0x2d

from astro-cli.

andscoop avatar andscoop commented on May 30, 2024

@benjamingregory I am not able to replicate that particular failure

Steps I took

1.) mkdir test && cd test
2.) astro airflow start

response: Error: Not in an astronomer project directory

Do you have anymore insight?

from astro-cli.

benjamingregory avatar benjamingregory commented on May 30, 2024

I just replicated. It looks like that error occurs when you try to astro airflow start where .astro exists but the .astro/config.yaml does not.

A rare occurrence admittedly but thats the error that corresponds to it.

from astro-cli.

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.