Getting below error while running temporal in python

workflow_instance:1909 Exception in callback <Task pending name=‘run (workflow: ABCWorkflow, id: 12e55602-36d3-11ef-82c7-76aa80fe82c3, run: 26bb5561-139f-41d3-9eb0-d9362a3a4356)’ coro=<_WorkflowInstanceImpl._run_top_level_workflow_function() running at /Library/Python/3.9/site-packages/temporalio/worker/_workflow_instance.py:1692> cb=[set.remove()]>()
handle: <Handle <Task pending name=‘run (workflow: ABCWorkflow, id: 12e55602-36d3-11ef-82c7-76aa80fe82c3, run: 26bb5561-139f-41d3-9eb0-d9362a3a4356)’ coro=<_WorkflowInstanceImpl._run_top_level_workflow_function() running at /Library/Python/3.9/site-packages/temporalio/worker/_workflow_instance.py:1692> cb=[set.remove()]>()>
Traceback (most recent call last):
File “/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/events.py”, line 80, in _run
self._context.run(self._callback, *self._args)

using python 3.9
temporalio==1.6.0
Django==3.2.25

I don’t see anything obvious from the traceback. Is it possible to provide a standalone replication? For instance, can alter one of the samples at GitHub - temporalio/samples-python: Samples for working with the Temporal Python SDK like the hello samples.

@Sakshi_Patil i am getting the same issue, were you able to resolve it??

2024-07-04 18:40:00 ERROR Exception in callback <Task pending name=‘run (workflow: KnowledgeSyncWorkflow, id: knowledge-sync-workflow-2c0b6f90-59b1-47e8-9b8b-090d2daee1ab, run: 202b81ad-bb94-4a5b-8d29-9aecc821ff1c)’ coro=<_WorkflowInstanceImpl._run_top_level_workflow_function() running at /Users/harshit.gupta/workspace_obs/knowledge-ingestion-pipeline/.venv/lib/python3.10/site-packages/temporalio/worker/_workflow_instance.py:1348> cb=[set.remove()]>()
handle: <Handle <Task pending name=‘run (workflow: KnowledgeSyncWorkflow, id: knowledge-sync-workflow-2c0b6f90-59b1-47e8-9b8b-090d2daee1ab, run: 202b81ad-bb94-4a5b-8d29-9aecc821ff1c)’ coro=<_WorkflowInstanceImpl._run_top_level_workflow_function() running at /Users/harshit.gupta/workspace_obs/knowledge-ingestion-pipeline/.venv/lib/python3.10/site-packages/temporalio/worker/_workflow_instance.py:1348> cb=[set.remove()]>()>
Traceback (most recent call last):
File “/Users/harshit.gupta/.pyenv/versions/3.10.14/lib/python3.10/asyncio/events.py”, line 80, in _run
self._context.run(self._callback, *self._args)

using python 3.10
temporalio==1.3.0