Open MariusJulius opened 6 months ago
The response that we got means that the language wasn't passed into MateCat, locally it works correctly, so it seems that we need to debug it inside the cluster.
Issue is with filesizes. With that specific subproject mentioned in the attached curl following log lines are outputted by cat service
[12-Feb-2024 10:59:05 UTC] PHP Warning: POST Content-Length of 97318635 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[12-Feb-2024 12:59:05 Europe/Tallinn] PHP Notice: Undefined index: private_tm_key in /var/www/html/lib/Controller/API/NewController.php on line 204
[12-Feb-2024 12:59:05 Europe/Tallinn] PHP Notice: Undefined index: source_lang in /var/www/html/lib/Controller/API/NewController.php on line 788
[12-Feb-2024 12:59:05 Europe/Tallinn] PHP Notice: Undefined index: target_lang in /var/www/html/lib/Controller/API/NewController.php on line 797
Issues was initially reported by @KaarelKa . I suppose we would need better error message then if it is about the filesize not about missing language @KaarelKa @thenouan ?
It is Matecat's issue, not a FE error handling issue. Flow is the following:
Since it is a Matecat issue then maybe @kadmit could have a look at it
@KaarelKa can you test this as it is not clear what are the steps to reproduce?
@MariusJulius @kadmit Did a test with a couple of bigger files in dev. Got a new error now: 422 "message": "Project Conversion Failure"
Not sure if related or not
curl:
Conversion error is something else, also mentioned here: https://github.com/keeleinstituut/tv-tolkevarav/issues/546 Closing this one.
getting some “Missing language” error, when trying to set tup cat-tool (POST api/cat-tool/setup), picked 2 files and 2 translation memories, curl in thread.
curl.txt