index folder too long for windows #5301
Labels
area:indexing
Relates to embedding and indexing
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
os:windows
Happening specifically on Windows
Before submitting your bug report
Relevant environment info
Description
When attempting to index my codebase in a WSL backed dev container, the indexer fails with a
Generic LocalFileSystem error: Unable to create dir
errordigging in, I think it has to do with the length of the folder being created.
Max limit for windows folders is 260 characters, folder attempted to be created is:
vscode-remotedev-container2B7b227265706f7369746f727950617468223a226769744067697465612e6c6f63616c3a7075626c696357616773486f6d652f7267622d6c65642d626f6172642e676974222c22766f6c756d654e616d65223a225f5f554e495155455f5f222c22666f6c646572223a227267622d6c65642d626f617264222c22636c6f6e65496e666f223a7b2275726c546f436c6f6e65223a226769744067697465612e6c6f63616c3a7075626c696357616773486f6d652f7267622d6c65642d626f6172642e676974227d2c22696e7370656374566f6c756d65223a66616c73657dworkspacesrgb-led-boardNONEvectordb_TransformersJsEmbeddingsProviderall-MiniLM-L6-v2500.lance
I attempted to enabled longPathNames, but that appears to have no effect in more recent versions of windows
To reproduce
Log output
The text was updated successfully, but these errors were encountered: