question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crowd-In CLI hangs when trying to report an error

See original GitHub issue

Crowd-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:

  1. Start crowdin cli sync with it expecting a file say bundle_hi_IN.properties which does not exist
  2. 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

translated-threaddump.txt

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
allen-ziegenfuscommented, Jul 19, 2021

@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!

1reaction
allen-ziegenfuscommented, Jun 2, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found