langflow icon indicating copy to clipboard operation
langflow copied to clipboard

ResourceWarning: Enable tracemalloc to get the object allocation traceback

Open scofano opened this issue 2 months ago • 4 comments

Bug Description

Getting an error after a few interactions:

C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\concurrent\futures\thread.py:58: ResourceWarning: unclosed <socket.socket fd=6092, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 52996), raddr=('127.0.0.1', 11434)> result = self.fn(*self.args, **self.kwargs) ResourceWarning: Enable tracemalloc to get the object allocation traceback D:\Code\LangFlow\lib\site-packages\pydantic_internal_decorators.py:313: ResourceWarning: unclosed <socket.socket fd=5320, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 52998), raddr=('127.0.0.1', 11434)> non_empty = [seq for seq in seqs if seq] ResourceWarning: Enable tracemalloc to get the object allocation traceback

Reproduction

I'm working with ollama and text inputs, I connect a few of them and get this error.

Expected behavior

It should work.

Who can help?

No response

Operating System

Windows 11

Langflow Version

1.1.1

Python Version

3.10

Screenshot

image

Flow File

No response

scofano avatar Nov 26 '24 20:11 scofano