[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Translation


Il 24/10/25 12:09, Benoît Minisini ha scritto:
Le 24/10/2025 à 12:03, Benoît Minisini a écrit :
Le 24/10/2025 à 10:53, Gianluigi a écrit :
Il 24/10/25 10:49, Benoît Minisini ha scritto:
Le 24/10/2025 à 10:28, Gianluigi a écrit :

Sorry for the delay, but I was tired yesterday and couldn't wait to go to sleep. I'd say my system isn't perfect, but the bash command doesn't detect any major anomalies:
$ journalctl -xb -p 2
-- No entries --

This is the procedure I used:
I ran the following command in the terminal:
LANG="C" cd ~/gambasdevel/app/src/gambas3
Then I followed the usual procedure, clicking the "Show project translation" button, the one with the orange flag. The IDE started compiling the project and then, after a while, it crashed.

Regards
Gianluigi

Can you send the project that makes the IDE crash?


I obey :-)

OK, no problem at all here...


If you want to gather clues for me, you can do that:

1) Open the IDE project source code in the IDE.

2) Put a breakpoint at line 3767 in the 'FMain.class' file.

3) Run the project.

4) In the debugged IDE, open your crashing project, and click on the translation button.

5) You should now be in the IDE debugger at the breakpoint defined above.

6) Run the IDE step by step until you find the line where it crashes.

7) Tell me the result.

Thanks in advance!


Hi Benoit,

I followed your instructions step by step, but with the project I sent you, pressing the translations button creates the translations as if I were using QT, except that they don't work immediately upon first launch; the text is still in English.
I tried with and without "Debug inside components" checked.
These warnings appear in the console:
gb.highlight: warning: commit_git: state 'Diff' already has 'Function' as default gb.highlight: warning: commit_git: state 'Position' already has 'Datatype' as default So I created a new project in a new window and copied the code and button text as per the first test. I relaunched Gambas3 master 01fe5aa from the terminal with LANG="C" gambas3, and the build hang problem recurred.
I waited a long time, but since nothing happened, I aborted everything.
In the terminal there was this writing:
(org.gambas.15931:15931): Gtk-CRITICAL **: 12:43:51.213: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(org.gambas.15931:15931): Gtk-CRITICAL **: 12:44:49.296: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(org.gambas.15931:15931): Gtk-CRITICAL **: 12:46:42.230: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(org.gambas.15931:15931): Gtk-CRITICAL **: 12:47:12.978: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(org.gambas.15931:15931): Gtk-CRITICAL **: 12:47:30.536: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(org.gambas.15931:15931): Gtk-CRITICAL **: 12:48:03.733: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(org.gambas.15931:15931): Gtk-CRITICAL **: 12:52:44.486: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

Now I'm going to eat
Greetings

Gianluigi


Follow-Ups:
Re: TranslationGianluigi <gradobag@xxxxxxxxxxx>
References:
TranslationCD <dessere.claude@xxxxxx>
Re: TranslationGianluigi <gradobag@xxxxxxxxxxx>
Re: TranslationBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TranslationBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TranslationGianluigi <gradobag@xxxxxxxxxxx>
Re: TranslationBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TranslationGianluigi <gradobag@xxxxxxxxxxx>
Re: TranslationBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TranslationGianluigi <gradobag@xxxxxxxxxxx>
Re: TranslationBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TranslationBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>