Closed acarter24 closed 1 year ago
I am afraid you're out of luck for now. This package uses the dagster-shell
extension, which is where the error occurs. You might be able to fix the problem there.
Thanks, appreciate the pointer. I've tried playing around with commenting the offending lines.
One thing I did notice on my journey, that in meltano_resource.py:L34
return {
**os.environ.copy(),
"MELTANO_CLI_LOG_CONFIG": Path(__file__).parent / "logging.yaml",
"DBT_USE_COLORS": "false",
"NO_COLOR": "1",
}
This causes a TypeError: environment can only contain strings
error down the track due to the "MELTANO_CLI_LOG_CONFIG"
being a Path
object, not sure if that's relevant or worth fixing, can raise a PR if its a simple case of stringifying the path.
Ah interesting, might be a Windows issue. A PR would be great! Thanks.
Trying a bit of a proof of concept with Dagster to run the meltano pipelines using this packageand the
dagster_ext
extension, but running up against this error. Will be Windows for dev and production, so am I just out of luck?python = "~3.9" meltano = "^2.16.1" dagster = "^1.1.20" dagit = "^1.1.20" dagster-meltano = "^1.2.0"
Full trace below 👇