[BUG] Wrong file path separator for windows when resetting memory
Description
The file system separator is a forward slash rather than \ and so i believe prevents the files from being deleted on windows.
'C:\Users\xxxx\AppData\Local\CrewAI\xxxxxx**/**short_term\chroma.sqlite3
Steps to Reproduce
crewai reset-memories -a (on windows machine)
Expected behavior
locate and delete the files
Screenshots/Code snippets
(.venv) D:\Users\newla\crewai\financial_analyst1\video_analysis1\video_flow>crewai reset-memories -a An unexpected error occurred: An error occurred while resetting the short-term memory: An error occurred while resetting the short_term memory: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\xxxx\AppData\Local\CrewAI\xxxx/short_term\chroma.sqlite3
Operating System
Windows 11
Python Version
3.13
crewAI Version
0.83.0
crewAI Tools Version
0.14.0
Virtual Environment
Venv
Evidence
(.venv) D:\Users\newla\crewai\financial_analyst1\video_analysis1\video_flow>crewai reset-memories -a An unexpected error occurred: An error occurred while resetting the short-term memory: An error occurred while resetting the short_term memory: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\xxxx\AppData\Local\CrewAI\xxxx**/**short_term\chroma.sqlite3
It's not being locked by any other process, so think it's this slash.
Possible Solution
make sure the path is windows and linux compatible so it uses / or \ appropriately.
Additional context
I can delete the files manually.
I am getting the same error even though I cannot find any file or directory C:\Users\xxxx\AppData\Local\CrewAI
I am getting the same error even though I cannot find any file or directory C:\Users\xxxx\AppData\Local\CrewAI
So do i
Same for me
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.