os.environ["LANGCHAIN_TRACING_V2"] = "true" causes AttributeError: '_UnixSelectorEventLoop' object has no attribute '_closed' #17

Closed
opened 2026-02-21 17:16:58 -05:00 by yindo · 3 comments
Owner

Originally created by @bhs1 on GitHub (Jul 24, 2024).

Anyone else seen this? When I set os.environ["LANGCHAIN_TRACING_V2"] = "false" it goes away. I'm using asyncio.run().

Originally created by @bhs1 on GitHub (Jul 24, 2024). Anyone else seen this? When I set os.environ["LANGCHAIN_TRACING_V2"] = "false" it goes away. I'm using asyncio.run().
yindo closed this issue 2026-02-21 17:16:58 -05:00
Author
Owner

@bhs1 commented on GitHub (Jul 24, 2024):

Running this guy's code reproduces the issue https://github.com/Kevin7744/Web-Voyager-Using-Langchain/blob/main/main.py#L42

@bhs1 commented on GitHub (Jul 24, 2024): Running this guy's code reproduces the issue https://github.com/Kevin7744/Web-Voyager-Using-Langchain/blob/main/main.py#L42
Author
Owner

@mlcocdav commented on GitHub (Aug 10, 2024):

Same problem here.

@mlcocdav commented on GitHub (Aug 10, 2024): Same problem here.
Author
Owner

@hinthornw commented on GitHub (Sep 6, 2024):

do you have a stack trace?

@hinthornw commented on GitHub (Sep 6, 2024): do you have a stack trace?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langsmith-docs#17