sri raghavan
05/11/2023, 11:48 PMsri raghavan
05/11/2023, 11:51 PMAnushree Agrawal
05/12/2023, 1:01 AMaws ecs execute-command
but both approaches didn't work. any suggestions? we're unable to run any jobs on dagster until this is fixed.daniel
05/12/2023, 1:49 AMAnushree Agrawal
05/12/2023, 5:42 AMAnushree Agrawal
05/12/2023, 5:49 AMTraceback (most recent call last):
File "script.py", line 3, in <module>
instance = DagsterInstance.get() # needs your DAGSTER_HOME to be set
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_core/instance/__init__.py", line 479, in get
return DagsterInstance.from_config(dagster_home_path)
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_core/instance/__init__.py", line 495, in from_config
return DagsterInstance.from_ref(instance_ref)
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_core/instance/__init__.py", line 507, in from_ref
unified_storage = instance_ref.storage
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_core/instance/ref.py", line 463, in storage
return self.storage_data.rehydrate() if self.storage_data else None
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_serdes/config_class.py", line 99, in rehydrate
return klass.from_config_value(self, check.not_none(result.value))
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_core/storage/legacy_storage.py", line 131, in from_config_value
ConfigurableClassData(
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster/_serdes/config_class.py", line 70, in rehydrate
module = importlib.import_module(self.module_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 848, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster_cloud/storage/schedules/__init__.py", line 1, in <module>
from .storage import GraphQLScheduleStorage as GraphQLScheduleStorage
File "/home/ubuntu/.local/lib/python3.8/site-packages/dagster_cloud/storage/schedules/storage.py", line 34, in <module>
class GraphQLScheduleStorage(ScheduleStorage["DagsterCloudAgentInstance"], ConfigurableClass):
File "/usr/lib/python3.8/typing.py", line 261, in inner
return func(*args, **kwds)
File "/usr/lib/python3.8/typing.py", line 897, in __class_getitem__
_check_generic(cls, params)
File "/home/ubuntu/.local/lib/python3.8/site-packages/typing_extensions.py", line 100, in _check_generic
raise TypeError(f"{cls} is not a generic class")
TypeError: <class 'dagster._core.storage.schedules.base.ScheduleStorage'> is not a generic class
Anushree Agrawal
05/12/2023, 6:12 AM