This repository was archived by the owner on Mar 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
AttributeError: 'NoneType' object has no attribute 'POLLER' #326
Copy link
Copy link
Open
Description
Python version: 3.12.5
hatchet-sdk version: 0.47.0
I'm on MacOS arm.
Have been getting this error following the workflow trigger examples from the documentation, but also see it using pretty much any method that communicates with my Hatchet instance:
from hatchet_sdk import Hatchet
hatchet = Hatchet()
workflowRuns = []
for i in range(10):
workflowRuns.append(
{
"workflow_name": "my_workflow",
"input": {"n": i},
"options": {
"additional_metadata": {
"bulk-trigger": str(i),
f"hello-{i}": f"earth-{i}"
},
},
}
)
workflowRunRefs = hatchet.admin.run_workflows(
workflowRuns,
)
Error:
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi", line 110, in grpc._cython.cygrpc.shutdown_grpc_aio
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi", line 114, in grpc._cython.cygrpc.shutdown_grpc_aio
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi", line 78, in grpc._cython.cygrpc._actual_aio_shutdown
AttributeError: 'NoneType' object has no attribute 'POLLER'
Exception ignored in: 'grpc._cython.cygrpc.AioChannel.__dealloc__'
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi", line 110, in grpc._cython.cygrpc.shutdown_grpc_aio
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi", line 114, in grpc._cython.cygrpc.shutdown_grpc_aio
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi", line 78, in grpc._cython.cygrpc._actual_aio_shutdown
AttributeError: 'NoneType' object has no attribute 'POLLER'
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1740838376.399071 99967340 init.cc:232] grpc_wait_for_shutdown_with_timeout() timed out.
The operation appears to succeed (I see the workflow runs in my Hatchet dashboard) but this would obviously break any downstream code I tried to implement. Any idea what might be going on here?
jrb0
Metadata
Metadata
Assignees
Labels
No labels