continue
continue copied to clipboard
index folder too long for windows
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows (WSL Dev container)
- Continue version: 1.0.6
- IDE version: VSCode 1.99.3
- Model: n/a
- config:
OR link to assistant in Continue hub:
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 error
digging 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
- clone git repo to container volume
- witness log error in developer tools logging
Log output