Tried to push some unrelated changes, found that one of the data model files is missing. It somehow shows in folder and in cursor project structure, but is inaccessible, regardsless of extension or filereader.
Quite sad bc as a result that wastes so much time, im not sure if ‘ai features’ compensate for it.
Hi @Alkans
It’s not quite clear from your message what’s going on. One of the data model files is missing — what exactly are you referring to?
Hi @deanrie I’m referring to the situation where one of the files in project becomes corrupted. That means that the file exists, but cannot be opened regardless of extension variants (txt,py,etc) or filereader (notepad, vscode, etc).
This situation led me to deleting the file, and recreating it.
Is this happening with the Composer?
I am using the composer, but I’m not sure how it happened. I did flask db migration yesterday but as far as I know the file was not corrupted at the time. Spotted today when tried to push to github.
(venv) A@MacBook-Air xxx % git add .
error: read error while indexing backend/app/models/user.py: No such file or directory
error: backend/app/models/user.py: failed to insert into database
error: unable to index file 'backend/app/models/user.py'
fatal: updating files failed
cc @balta
have you tried reverting to an earlier checkpoint on composer before the file got corrupted?
Hi @balta no I have not, as I dont know how to do this. Anyways, I dont know the ‘moment’ it got corrupted, and composer instances are not saved in my cursor.