Skip to content
Discussion options

You must be logged in to vote

That rename into the shared stanza/resources.json makes concurrent initialization a likely suspect, although the traceback alone doesn't prove it. I'd try two small comparisons before changing permissions:

  1. Run the same input with max_workers=1.
  2. In a fresh process, translate one short, non-empty sentence synchronously before starting the five workers.

If the first works and the second also removes the error, that points toward workers racing during lazy initialization/resource setup. Treat that as a diagnostic result rather than proof that concurrent calls are supported by your installed versions. If it still fails with one worker, a file lock or directory permissions deserves a closer l…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@FelipeASimoes
Comment options

@yoaoxd
Comment options

Answer selected by FelipeASimoes
Comment options

You must be logged in to vote
2 replies
@yoaoxd
Comment options

@FelipeASimoes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants