Stephen Bailey
05/14/2022, 3:32 AMOperation name: InstanceBackfillsQuery
Message: Internal Server Error (Trace ID: 5030567733442769130)
Path: ["partitionBackfillsOrError","results",10,"partitionSet"]
Locations: [{"line":22,"column":9},{"line":78,"column":3}]
Stephen Bailey
05/14/2022, 3:50 AMException calling application: Object of type datetime is not JSON serializable
, which I think is all pointing to poor handling of my flawed code.
dagster.core.errors.DagsterUserCodeUnreachableError: dagster.core.errors.DagsterUserCodeUnreachableError: Could not reach user code server
Stack Trace:
File "/dagster-cloud/dagster_cloud/agent/dagster_cloud_agent.py", line 538, in _process_api_request
api_result = self._handle_api_request(request, instance, user_code_launcher)
File "/dagster-cloud/dagster_cloud/agent/dagster_cloud_agent.py", line 338, in _handle_api_request
serialized_partition_config_or_error = client.external_partition_config(
File "/dagster/dagster/grpc/client.py", line 181, in external_partition_config
res = self._query(
File "/dagster/dagster/grpc/client.py", line 110, in _query
raise DagsterUserCodeUnreachableError("Could not reach user code server") from e
The above exception was caused by the following exception:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Exception calling application: Object of type datetime is not JSON serializable"
debug_error_string = "{"created":"@1652500120.293077518","description":"Error received from peer ipv4:10.100.81.96:4000","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"Exception calling application: Object of type datetime is not JSON serializable","grpc_status":2}"
>
Stack Trace:
File "/dagster/dagster/grpc/client.py", line 107, in _query
response = getattr(stub, method)(request_type(**kwargs), timeout=timeout)
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
File "/dagster-graphql/dagster_graphql/implementation/utils.py", line 48, in _fn
return fn(*args, **kwargs)
File "/dagster-graphql/dagster_graphql/implementation/fetch_partition_sets.py", line 92, in get_partition_config
result = graphene_info.context.get_external_partition_config(
File "/dagster/dagster/core/workspace/context.py", line 221, in get_external_partition_config
return self.get_repository_location(
File "/ursula/ursula/user_code/workspace.py", line 358, in get_external_partition_config
result = self.api_call(
File "/ursula/ursula/user_code/workspace.py", line 238, in api_call
return dagster_cloud_api_call(
File "/ursula/ursula/user_code/workspace.py", line 69, in dagster_cloud_api_call
for result in gen_dagster_cloud_api_call(
File "/ursula/ursula/user_code/workspace.py", line 164, in gen_dagster_cloud_api_call
raise DagsterUserCodeUnreachableError(error_infos[0].to_string())
rex
05/14/2022, 4:12 AMrex
05/14/2022, 4:40 AMdaniel
05/14/2022, 5:08 AMStephen Bailey
05/14/2022, 12:23 PMrex
05/17/2022, 1:45 AMStephen Bailey
05/17/2022, 1:03 PM