strudel-science / strudel-kit

Frontend React templates for implementing scientific UIs with the STRUDEL design system.
https://strudel.science/strudel-kit/docs
Other
8 stars 3 forks source link

Windows warnings about cookiecutter cache #27

Open dangunter opened 8 months ago

dangunter commented 8 months ago

During creating of an app and task flow, I get 2 types of warnings about the cookiecutter cache. Neither I nor any non-developer user will know what to do with these, so I think we should try to eliminate them.

When I do strudel create ... I get warning about not clearing the cache and then a question about re-downloading it (every time)

[09:23:30] WARNING  could not clear cookiecutter cache: [WinError main.py:51
                    5] Access is denied:
                    'C:\\Users\\dkgun\\.cookiecutters/strudel-kit
                    \\.git\\objects\\pack\\pack-76720496dfba6732f
                    897353bd871576178fd0110.idx'
continuing to create your app...
You've downloaded C:\Users\dkgun\.cookiecutters\strudel-kit before. Is it
okay to delete and re-download it? [y/n] (y): y

When I do strudel add-taskflow ... I get the cookiecutter cache warning without an associated request to re-download:

[09:26:57] WARNING  could not clear cookiecutter cache: [WinError main.py:51
                    5] Access is denied:
                    'C:\\Users\\dkgun\\.cookiecutters/strudel-kit
                    \\.git\\objects\\pack\\pack-27825654dd4dbc024
                    0103e13eff402d285b89193.idx'