Crowd-In CLI hangs when trying to report an error
See original GitHub issueCrowd-In hangs when trying to report an error If the crowd-in CLI cannot find translation files when trying to upload translations and encounters an error, the threads of the CLI block each other because they are all trying to print output and the CLI process hangs
To Reproduce Steps to reproduce the behavior:
- Start crowdin cli sync with it expecting a file say
bundle_hi_IN.properties
which does not exist - Crowdin CLI hangs
Expected behavior Crowdin CLI exits with an error
Environment:
python:3.7-stretch
docker image
Additional context Here is a threaddump illustrating the deadlock
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
crowdin upload initialization failure on Ubuntu 18.04 · Issue #80
It shows an error "Initialization Crowdin Cli failed. Please check your configuration file and credentials." when I run crowdin upload -b test crowdin.yml ......
Read more >Crowdin Issues
Topic Replies Views Activity
Config file: translation_replace 1 67 August 12, 2022
Invitation to project is not working 1 55 August 10, 2022
Error 429 from...
Read more >@crowdin/cli - npm
Crowdin CLI is a command line tool that allows you to manage and synchronize your localization resources with your Crowdin project.
Read more >How to specify output path for crowdin cli translations?
I am using Crowdin CLI to download translations. I want to download the files from one path (flat, to be exact, so "/file.ext")...
Read more >crowdin-cli-py - PyPI
Command-line client for the crowdin.com. ... the latest changes, but may also have several known issues, including crashes and data loss situations.
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
@andrii-bodnar sorry for the radio silence - it looks like this has been cleared up now through a combination of better stderr handling / updating the cli version! thanks!
i looked a little further into the heap dump of the JVM and found that multiple threads are somehow running into FileNotFound exceptions for different files - and they then seem to block each other. i’m also not sure why the files are not getting these errors as the files seem to be there on the file system