forsatus / Xliff-AI-Translator

AI-driven solution for efficient XLIFF/XLF file translation, bridging the gap between languages for localized content.
GNU General Public License v3.0
2 stars 1 forks source link

Kill event during translation #2

Open littleghostlyfox opened 1 month ago

littleghostlyfox commented 1 month ago

I have a kill event without much explanation. The process seems stuck during the translation: after the initial command, the terminal displays the text to translate, then the CPU goes to 80% (13th Gen Intel i5-13600KF @ 5.100GHz), and then Ubuntu seems to automatically end the process. I'm a Linux beginner, so I'm not too sure...

forsatus commented 1 month ago

Hello, in terms of power, you have more than enough. Does the program terminate immediately without translating anything?

littleghostlyfox commented 1 month ago

Yes. It displays the initial text to translate, then nothing for a few seconds (~30s?) and a Killed message is displayed. Thanks for your quick feedback! :)

forsatus commented 1 month ago

How much RAM do you have ?

littleghostlyfox commented 1 month ago

You should have all infos :) I don't think the problem comes from the hardware capabilities. I tried to see if the code had a Killed function, but I don't think it has one. Some it must be a security of the system that prevents a weird behavior from the code.

Screenshot from 2024-08-07 09-22-56

forsatus commented 1 month ago

Which version of the XLIFF file do you have?

littleghostlyfox commented 1 month ago

It's a 1.2 file : <xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" version="1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:space="preserve" xmlns="urn:oasis:names:tc:xliff:document:1.2"><file original="course" datatype="plaintext" source-language="en-US">

littleghostlyfox commented 1 week ago

Hi forsatus! I still have the same problem. Do you have any idea for a fix? :) Thanks!