Open clairem789 opened 1 week ago
No this is unrelated... there is a protection again having your console in the directory you are trying to remove from...
15:28:22.005-!!|REMOVE| Current working directory within paths to be reset. Please change directory
Just make sure you are not in an apero data directory and it should work!
Ahah! it does! I thought I had tried this but this times it works. what a funny rule! thanks
I had problems that some of the remove/delete scripts delete directories, if you are inside a directory that python deletes it can screw things up afterwards (console becomes invalid) - in most cases with apero_remove you wont be doing this but its harder to figure out when you are/aren't versus just avoiding the problem altogether!
I had to do this to save disk space: apero_remove.py --file_prefix DEBUG
(It used to work with v0.7.290 and --prefix instead of --file_prefix)
Now I get 15:28:22.005-!!|REMOVE| Current working directory within paths to be reset. Please change directory 15:28:22.005-!!|REMOVE| Current dir: /Volumes/dataDRS/spirou/red 15:28:22.006-!!|REMOVE| Block: /Volumes/dataDRS/spirou/red 15:28:22.026-|REMOVE| 15:28:22.033-@!|REMOVE| W[40-003-00005]: Recipe apero_remove has NOT been successfully completed (5.264 15:28:22.033-@!|REMOVE| seconds) 15:28:22.039-|REMOVE|
When it requires confirmation, the prompt does not go to the next line as it's used to:
Warning this will remove files from disk and the database are you sure you want to continue? [Y]es or [N]oY
I wonder whether this is related.