Mason Cache File Deletion Failure During Generation
FileSystemException: Deletion failed, path = 'C:\Users\jlambright\AppData\Local\Mason\Cache\git\feature_folder_cli_aHR0cHM6Ly9naXRodWIuY29tL1J5YW5Ec2lsdmEvZmVhdHVyZV9mb2xkZXJfY2xp_efb98f7bcbaaa7b1aded22abcf8654c33ec6456f' (OS Error: The system cannot find the path specified. , errno = 3)
Has this been seen? Happens after reactivating the package as well.
Somehow the ..\Mason folder was set to read-only by the OS. Perhaps a folder permissions check would catch this?
Spoke too soon. After one successful generation, the ..\Mason folder becomes read-only again.
Hi @jlambright, could you specify the steps to replicate this? Works fine for me throughout multiple generations across projects. I am on macOS though.
Sorry for the late reply. Here is currently what happens.
ff generate -n dispatch -t getx
Time Taken: 21 milliseconds
✓ Feature dispatch created successfully
✖ FileSystemException: Deletion failed, path = 'C:\Users\jlambright\AppData\Local\Mason\Cache\git\feature_folder_cli_aHR0cHM6Ly9naXRodWIuY29tL1J5YW5Ec2lsdmEvZmVhdHVyZV9mb2xkZXJfY2xp_efb98f7bcbaaa7b1aded22abcf8654c33ec6456f' (OS Error: The system cannot find the path specified.
, errno = 3)
Issue can be replicated on Win10 machine.
Only happens when using -t getx to generate getx brick template. Seems like somehere in the brick is an error or mason need's a bump in version.
@jlambright @nikitka5702 I have bumped up the versions and tested. Could you try again?