CLI leaves a mess behind from time to time
See original GitHub issueUntracked files:
(use "git add <file>..." to include in what will be committed)
bg.zip
de.zip
el.zip
I have no clue under what conditions those files are popping up, but it seems that even after successful CLI run, one can find temporary zip files with updated translation lying around not being deleted.
This is not easily reproducable bug, I couldn’t reproduce it with already pre-built translations. CLI version 2.0.14, I’ve just updated to latest 2.0.15, but I didn’t see any commit mentioning this problem.
Thank you in advance.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
9 Time-Saving Tricks for your Command Line | by Ari Joury, PhD
Typing them each time is arduous, and you can mess things up if you're prone to ... This will leave your command line...
Read more >Don't Leave A Mess At Lunch Time: Song Lyrics and Sound Clip
Don't leave a mess at lunchtime! 1. Pick up all your *rubbish/garbage! Put it in the *bin/trash and don't drop any food on...
Read more >Avoid These 7 Common Video Editing Mistakes - TechSmith
To save you time and energy, here are 7 common video editing mistakes that can ... on the left side of the video...
Read more >Looking Back at the Times Beach Disaster Nearly 40 Years ...
Times Beach, Missouri, was the site of one of the worst environmental disasters in our ... On the left, abandoned homes dot the...
Read more >Fixing Choppy Playback and Other Common Premiere Pro ...
Technology, like people, has bad days from time to time. ... If you're guilty of right-clicking “new sequence from clip” in the project ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @JustArchi , Did some manipulation with CLI. Can you try to test this CLI version, please? https://drive.google.com/file/d/0B9m3jUOiOAGLaE5NZzUyNXJHMkE/view?usp=sharing
I can but I don’t think that’s the case, I have around ~40 target languages and only 3 zips out of at least 20 that are being compiled and deployed are left, while all other ones are being removed successfully.
Maybe you can add small debug of catching I/O exceptions around deleting the file, and add some basic info about them to stdout/stderr (maybe even with stacktrace), so when issue happens I can simply copy/paste what CLI writes. Personally I believe it has something to do with Windows Defender scanning the file and making it impossible to remove right away (file in use), but that’s only my theory.
Thanks for looking into this issue!