Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matecat Service Stuck in Analysis Phase #3377

Open
kapilsoni-oodles opened this issue Jun 7, 2024 · 7 comments
Open

Matecat Service Stuck in Analysis Phase #3377

kapilsoni-oodles opened this issue Jun 7, 2024 · 7 comments

Comments

@kapilsoni-oodles
Copy link

I am experiencing an issue with the Matecat service where it fails to proceed past the analysis phase. The service seems to be stuck and does not move forward to the next step. Unfortunately, I am unable to determine the cause of this issue. Any help to resolve this would be greatly appreciated.

Website: https://beta.transleqo.com

Steps to Reproduce:

  1. Upload a document for translation in the Matecat service.
  2. Initiate the analysis process.
  3. Observe that the service remains stuck in the analysis phase and does not proceed.

Expected Behavior:
The analysis phase should be complete and the service should move forward to the next step in the translation process.

Actual Behavior:
The service is stuck in the analysis phase and does not progress any further.

image

@riccio82
Copy link
Contributor

What version of Matecat are you using?
From the picture it looks like an old version, maybe you need to upgrade to a newer version.
The url is not reachable.

@ravioodles
Copy link

The URl is working now can you please have a quick look and let us know the issue why we are facing this.

Regards

@riccio82
Copy link
Contributor

I think you have some problems in the createProject api response :

image

@ravioodles
Copy link

So are there any dependencies command we miss to run in back?

ALso can you share any updated doc to setup new matecat code in our localhost as all previous setup guides are throwing errors while following them.

Regards

@riccio82
Copy link
Contributor

@Ostico
Copy link
Contributor

Ostico commented Jun 11, 2024

Hi @ravioodles

the createProject call worked, as you can see from the last line of your screenshot.

The messages you see in the screenshot are warnings and notices caught by Xdebug.

The issue you are facing is a misconfiguration of your PHP settings:

  1. You are using Xdebug on a production server. It slows down your server, so you should disable it.
  2. Your PHP is configured to display errors. You should configure it not to display them.

Solution for Issue 1:

Depending on your PHP version, the configuration file should be located at /etc/php/<php_version>/apache2/conf.d/20-xdebug.ini .

Delete this file.

Solution for Issue 2:

Depending on your PHP version, the configuration file should be located at /etc/php/<php_version>/apache2/php.ini .

Search for these directives and set them as follows:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
ignore_repeated_source = Off
report_memleaks = On

@Amanuel-Zewdu
Copy link

Hi @kapilsoni-oodles have you gotten past this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants