hello im encountering the following issue when lau...
# ask-community
t
hello im encountering the following issue when launching dagit: Traceback (most recent call last): docker-dagit | File "/usr/local/lib/python3.9/site-packages/graphql/execution/executor.py", line 452, in resolve_or_error docker-dagit | return executor.execute(resolve_fn, source, info, **args) docker-dagit | File "/usr/local/lib/python3.9/site-packages/graphql/execution/executors/sync.py", line 16, in execute docker-dagit | return fn(*args, **kwargs) docker-dagit | File "/usr/local/lib/python3.9/site-packages/dagster_graphql/schema/external.py", line 217, in resolve_pipelines docker-dagit | self._repository.get_all_external_jobs(), key=lambda pipeline: pipeline.name docker-dagit | AttributeError: 'ExternalRepository' object has no attribute 'get_all_external_jobs' docker-dagit | Traceback (most recent call last): docker-dagit | File "/usr/local/lib/python3.9/site-packages/graphql/execution/executor.py", line 452, in resolve_or_error docker-dagit | return executor.execute(resolve_fn, source, info, **args) docker-dagit | File "/usr/local/lib/python3.9/site-packages/graphql/execution/executors/sync.py", line 16, in execute docker-dagit | return fn(*args, **kwargs) docker-dagit | File "/usr/local/lib/python3.9/site-packages/dagster_graphql/schema/external.py", line 217, in resolve_pipelines docker-dagit | self._repository.get_all_external_jobs(), key=lambda pipeline: pipeline.name docker-dagit | graphql.error.located_error.GraphQLLocatedError: 'ExternalRepository' object has no attribute 'get_all_external_jobs' Has anyone encountered something similar before? Was working untill pulling the new version of dagster
d
Hi @teodorpaius - my suspicion here is that your dagster/dagit/dagster-graphql packages may be out of sync - can you check if that's the case? This error is consistent with dagster being on 1.0.9 but dagster-graphql still being on 1.0.8. There's a pin from dagster-graphql to dagster that's intended to keep them on exactly the same version when you upgrade.
t
Hey, thanks, i have restricted the versions for both explicitely and now seems to works. Thanks for hint.