dagster-io / dagster

An orchestration platform for the development, production, and observation of data assets.
https://dagster.io
Apache License 2.0
11.3k stars 1.43k forks source link

docker run error Message: can't subtract offset-naive and offset-aware datetimes #22848

Open victorBnk opened 3 months ago

victorBnk commented 3 months ago

Dagster version

dagster, version 1.7.3

What's the issue?

Operation name: LatestRunTagQuery

Message: can't subtract offset-naive and offset-aware datetimes

Path: ["pipelineRunsOrError","results",0,"updateTime"]

Locations: [{"line":21,"column":3}]

Stack Trace: File "/usr/local/lib/python3.10/site-packages/graphql/execution/execute.py", line 521, in execute_field result = resolve_fn(source, info, **args) File "/usr/local/lib/python3.10/site-packages/dagster_graphql/schema/pipelines/pipeline.py", line 594, in resolve_updateTime return datetime_as_float(run_record.update_timestamp) File "/usr/local/lib/python3.10/site-packages/dagster/_utils/init.py", line 452, in datetime_as_float return float((dt - EPOCH).total_seconds())

What did you expect to happen?

No response

How to reproduce?

No response

Deployment type

None

Deployment details

No response

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

garethbrickman commented 3 months ago

Do you have more context about where this error occurred and what actions preceded it?