EDllT

Results 66 comments of EDllT

> maybe ndk-27 isn't good for this So I tried everything. I tried compiling the latest one, I tried compiling a [fork of rnote without gettext](https://github.com/EDLLT/rnote/tree/rnote_nogettext_0.11.0), I tried compiling the...

> You haven't tried with old ndk (25c) I have no idea how to change the NDK when compiling in Termux

Not sure about the CI error but I think it's unrelated ``` =========================== short test summary info ============================ SKIPPED [1] src/backend/tests/unit/graph/graph/test_base.py:152: Temporarily disabled FAILED src/backend/tests/unit/test_data_components.py::test_directory_without_mocks - ValueError: Error loading file...

This CI Error looks unrelated to changes made in this PR as well ``` =========================== short test summary info ============================ FAILED src/backend/tests/unit/test_data_components.py::test_directory_component_build_with_multithreading - AssertionError: expected call not found. Expected: retrieve_file_paths('/home/runner/work/langflow/langflow/src/backend/tests/unit',...

Oops, attempting to rename the branch to "directory-fix" instead resulted in it deleting the main branch....................

It appears one of the uv failures occurs upstream as well ``` src/backend/tests/unit/test_database.py::test_update_flow FAILED [ 62%] __________________________________________________________ test_update_flow ___________________________________________________________ client = json_flow = '{\n "description": "",\n "name": "BasicExample",\n "id": "a53f9130-f2fa-4a3e-b22a-3856d946351a",\n...

> I think I got to the root of the issue. It is indeed being caused by Directory.py 🤦 > > ``` > src/backend/base/langflow/components/data/Directory.py:92: in load_directory > loaded_data = [parse_text_file_to_data(file_path,...

Ok, seems like all the checks are passing. I'll squash the commits

Through further experimentation, I discovered that even uploading is causing a memory leak. If you simply upload the same file multiple times, you'll notice the memory usage increasing

I've tested running this multiple times while the other parts are commented out ``` data = parse_text_file_to_data(resolved_path, silent_errors) ``` It wasn't causing any memory leaks(after loading it, memory returned back...