matecat / MateCat

MateCat is an AI driven translation tool for language industry professionals. Matecat makes machine translation post-editing and project outsourcing easy.
http://www.matecat.com
GNU Lesser General Public License v3.0
378 stars 176 forks source link

Matecat Service Stuck in Analysis Phase #3377

Open kapilsoni-oodles opened 3 months ago

kapilsoni-oodles commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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

image

ravioodles commented 3 months ago

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 commented 3 months ago

https://site.matecat.com/installation-guide

Ostico commented 3 months ago

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 commented 2 months ago

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