Bug 14054 - Minetest appears incorrect letters of the translated words
Summary: Minetest appears incorrect letters of the translated words
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://forum.minetest.net/viewtopic....
Whiteboard: has_procedure advisory mga4-32-ok mga...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-09-05 07:28 CEST by Martin Volf
Modified: 2014-12-14 18:28 CET (History)
2 users (show)

See Also:
Source RPM: minetest-0.4.8-1.2.mga4
CVE:
Status comment:


Attachments

Description Martin Volf 2014-09-05 07:28:01 CEST
Description of problem:
The game Minetest (in MGA4/MGA5) appears incorrect letters as such "ÄůžÅÄ". Known affected translation is Czech and French language. For more details see an attached screenshot.

That is not Mageia´s issue, but a bug of Minetest 0.4.8 - 0.4.10 (Linux/Windows)

Bug list:
* https://bugs.mageia.org/show_bug.cgi?id=13998 -  Updating minetest to enable the installed translations - validated and ready to push as update
* https://github.com/minetest/minetest/issues/1596 - Wrong letters shown in Czech translation (V0.4.8)- Mageia, GNU/Linux
* https://forum.minetest.net/viewtopic.php?f=6&t=10007 - 0.4.10 Translation Problem

Version-Release number of selected component (if applicable):
minetest-0.4.8-1.1.mga4 - minetest-0.4.10-1.mga5

How reproducible:
always

Steps to Reproduce:
1. lounch the game like: $ LANGUAGE=cs minetest
2. check text in tabs, options, etc.

Reproducible: 

Steps to Reproduce:
Comment 2 Rémi Verschelde 2014-09-17 13:56:33 CEST
I think I found how to fix it using Freetype2, but I'm facing another issue on cauldron with the support for cURL which segfaults when populating the server list.

I'll investigate some more, but maybe push a first build with freetype and without cURL to cauldron to check whether this bug is fixed.
Comment 3 Martin Volf 2014-11-02 09:41:54 CET
(In reply to Rémi Verschelde from comment #2)
> I think I found how to fix it using Freetype2, but I'm facing another issue
> on cauldron with the support for cURL which segfaults when populating the
> server list.
> 
> I'll investigate some more, but maybe push a first build with freetype and
> without cURL to cauldron to check whether this bug is fixed.

Rémi, any news about cURL and Minetest ? Thx
Comment 4 Rémi Verschelde 2014-11-02 10:28:59 CET
Thanks for the reminder, I'll have another look at it now that the mass rebuilds are done.

The current version in Cauldron has a fix for this bug report, but has no cURL support enabled. If it still segfaults with cURL, I'll try to see how to fix this with upstream.
Comment 5 Rémi Verschelde 2014-12-01 17:53:02 CET
Finally, I managed to enable cURL support in minetest (and Freetype2, but it was already enabled in previous cauldron packages). Can you check minetest-0.4.10-6.mga5?

I'll do an update for Mageia 4 if you can confirm that everything works fine.
Comment 6 Rémi Verschelde 2014-12-01 19:54:27 CET
I also pushed minetest-0.4.8-1.3.mga4 to Mageia 4 core/updates_testing with the same changes.
Rémi Verschelde 2014-12-01 19:54:53 CET

Whiteboard: (none) => MGA4TOO

Comment 7 Rémi Verschelde 2014-12-02 11:09:35 CET
Suggested advisory:
===================

Updated minetest package adds freetype2 and curl support

Minetest in Mageia 4 was built with freetype2 and curl support, resulting for the
former on an incorrect display of non-ascii characters (mga#14054, github#1596),
and for the latter on the impossibility to join public multiplayer servers.

This update fixes this by adding the aforementioned library support. Due to an
issue between the curl features and our system jsoncpp library (github#1793),
this update is also built against minetest's embedded version of jsoncpp.

References:
-----------
 - https://github.com/minetest/minetest/issues/1596
 - https://github.com/minetest/minetest/issues/1793

SRPM and RPM in core/updates_testing:
-----------------------------------
 - minetest-0.4.8-1.3.mga4

CC: (none) => remi
Version: Cauldron => 4
Assignee: remi => qa-bugs
Source RPM: minetest-0.4.10-1.mga5.src.rpm => minetest-0.4.8-1.2.mga4
Whiteboard: MGA4TOO => (none)

Comment 8 Rémi Verschelde 2014-12-02 11:35:33 CET
Testing procedure: this update should impact both the client "minetest" and the command-line server hosting utility "minetestserver".

* Testing minetest client:
- Launch the client, create a "World" and start it in Singleplayer
- In the "Client" tab, check the "Public Serverlist" box (with the version in Updates, minetest should crash, and with the update candidate, it should display servers)
- Connect to a server and admire what other players have done
- "Server" tab: Create a public or private server using your previously created World. Launch a second instance of minetest, and then in "Client", try to log into this server (address "localhost", port "30000" if you have default parameters).
- "Mods" tab: try to download a mod using the interface to check that curl works (if you can't find it, maybe this feature that I'm seeing in cauldron was not implemented yet in minetest 0.4.8 of this update candidate).
- You can also start the game in another language to check whether characters are displayed fine. Try e.g. "LANGUAGE=cs minetest" and see if you reproduce the issue shown in comment 1.

* Testing minetest server (see minetestserver --help for more info):
- If you created a World named "WorldOfQA", you can do:
minetestserver --port 30000 --worldname "WorldOfQA"
Keep the terminal open.
- In minetest client, join your server with address "0.0.0.0" and port "30000". You should see information about your client logging in in the terminal when minetestserver runs.
Rémi Verschelde 2014-12-02 11:35:49 CET

Whiteboard: (none) => has_procedure

Comment 9 Rémi Verschelde 2014-12-04 21:11:53 CET
Advisory uploaded.

Whiteboard: has_procedure => has_procedure advisory

Comment 10 claire robinson 2014-12-08 15:17:27 CET
Testing complete mga4 32

Reproduced both issues. First install locales-cs then minetest. Then when started with "LANGUAGE=cs minetest" it displays the characters as shown in the attachements.

Once the World is started, press escape and choose the go back to the main menu to get to the Client tab.

When selecting the public serverlist checkbox no crash occured until I clicked in the black box where the server list should appear, then..

ERROR[main]: MAINMENU ERROR: LuaError: /usr/share/games/minetest/builtin/mainmenu.lua:445: attempt to index a nil value
ERROR[main]: stack traceback:
ERROR[main]:  /usr/share/games/minetest/builtin/mainmenu.lua:445: in function 'handle_multiplayer_buttons'
ERROR[main]:  /usr/share/games/minetest/builtin/mainmenu.lua:1157: in function </usr/share/games/minetest/builtin/mainmenu.lua:1124>


Confirmed that with the update the characters are displayed correctly and the public server list appears. Followed the rest of the detailed testing procedure. I found I needed to create a 2nd world to use "minetestserver" with or it said it was not available and also then log into it at localhost rather than 0.0.0.0

No issues though.

Whiteboard: has_procedure advisory => has_procedure advisory mga4-32-ok

Comment 11 claire robinson 2014-12-09 17:47:56 CET
Testing complete mga3 64

Validating.

Please push to updates

Thanks

Keywords: (none) => validated_update
Whiteboard: has_procedure advisory mga4-32-ok => has_procedure advisory mga4-32-ok mga4-64-ok
CC: (none) => sysadmin-bugs

Comment 12 claire robinson 2014-12-09 17:48:10 CET
grr mga4 64
Comment 13 Mageia Robot 2014-12-09 21:13:22 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0213.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 14 Martin Volf 2014-12-14 18:28:33 CET
Rémi, thanks a lot for hard work and update!

My case:

(In reply to Rémi Verschelde from comment #8)
> Testing procedure: this update should impact both the client "minetest" and
> the command-line server hosting utility "minetestserver".
> 
> * Testing minetest client:
> - Launch the client, create a "World" and start it in Singleplayer
> - In the "Client" tab, check the "Public Serverlist" box (with the version
> in Updates, minetest should crash, and with the update candidate, it should
> display servers)
> - "Server" tab: Create a public or private server using your previously
> created World. Launch a second instance of minetest, and then in "Client",
> try to log into this server (address "localhost", port "30000" if you have
> default parameters).
- it works fine, no ERRORs

> - "Mods" tab: try to download a mod using the interface to check that curl
> works (if you can't find it, maybe this feature that I'm seeing in cauldron
> was not implemented yet in minetest 0.4.8 of this update candidate).
> - You can also start the game in another language to check whether
> characters are displayed fine. Try e.g. "LANGUAGE=cs minetest" and see if
> you reproduce the issue shown in comment 1.
- listing takes a lot of time, some pics are not appeared and in the console:
...
17:55:52: ERROR[main]:  /home/yullaw/.minetest/textures/base/pack/no_screenshot.png
Could not open file of texture: /home/yullaw/.minetest/textures/base/pack/no_screenshot.png
17:55:52: ERROR[main]: GUIFormSpecMenu::drawMenu() Draw images unable to load texture:
17:55:52: ERROR[main]:  /home/yullaw/.minetest/textures/base/pack/no_screenshot.png
Could not open file of texture: /home/yullaw/.minetest/textures/base/pack/no_screenshot.png
17:55:52: ERROR[main]: GUIFormSpecMenu::drawMenu() Draw images unable to load texture:
17:55:52: ERROR[main]:  /home/yullaw/.minetest/textures/base/pack/no_screenshot.png
Could not open file of texture: /home/yullaw/.minetest/textures/base/pack/no_screenshot.png
...
The same issue on the second notebook (MGA4.1, minetest-0.4.8-1.3.mga4)

> * Testing minetest server (see minetestserver --help for more info):
> - If you created a World named "WorldOfQA", you can do:
> minetestserver --port 30000 --worldname "WorldOfQA"
> Keep the terminal open.
> - In minetest client, join your server with address "0.0.0.0" and port
> "30000". You should see information about your client logging in in the
> terminal when minetestserver runs.
> - Connect to a server and admire what other players have done
- it works fine

Other faults (for tests):
- it is not possible to write to the address line the numbers "4", "7" (it seems to be some features are allocated so, but in the setting of minetest is nothing about), even if EN/CS keyboard is activated and NumLock does not work as well. I think that's a minetest's bug. I did not try v0.4.10 yet.

@claire robinson: thank you for your tests ! But I could not replicate/see the ERRORs same as you...

Note You need to log in before you can comment on or make changes to this bug.