Bug 32778 - Unknown Horizons is not able to be invoked.
Summary: Unknown Horizons is not able to be invoked.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-01-25 02:34 CET by Ben McMonagle
Modified: 2024-02-04 03:51 CET (History)
6 users (show)

See Also:
Source RPM: unknown-horizons-2019.1-9.mga9.src.rpm
CVE:
Status comment:


Attachments
lspcidrake output (4.08 KB, text/plain)
2024-01-25 02:50 CET, Ben McMonagle
Details

Description Ben McMonagle 2024-01-25 02:34:07 CET
Description of problem: attempting to invoke Unknown Horizons, the application exits silently.
attempting: $ unknown-horizons
returns:
$ unknown-horizons
Traceback (most recent call last):
  File "/usr/games/unknown-horizons", line 381, in <module>
    main()
  File "/usr/games/unknown-horizons", line 122, in main
    ret = horizons.main.start(options)
  File "/usr/lib/python3.10/site-packages/horizons/main.py", line 113, in start
    horizons.globals.fife = Fife()
  File "/usr/lib/python3.10/site-packages/horizons/engine/engine.py", line 46, in __init__
    self._setting = Settings(PATHS.USER_CONFIG_FILE, PATHS.SETTINGS_TEMPLATE_FILE)
  File "/usr/lib/python3.10/site-packages/horizons/engine/settings.py", line 39, in __init__
    self._settings_serializer.load(settings_file)
  File "/usr/lib64/python3.10/site-packages/fife/extensions/serializers/simplexml.py", line 132, in load
    self._validateTree()
  File "/usr/lib64/python3.10/site-packages/fife/extensions/serializers/simplexml.py", line 386, in _validateTree
    for c in self._root_element.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'


Version-Release number of selected component (if applicable):

unknown-horizons-2019.1-9.mga9 
unknown-horizons-data-2019.1-9.mga9


How reproducible: always


Steps to Reproduce:
1. create a new install, LXDE only, with sufficient root partition space to install task-games (+20GB) and update to latest.
2.install task-games.
3.attempt to invoke unknown-horizons from application launcher or commandline.
Comment 1 Ben McMonagle 2024-01-25 02:50:17 CET
Created attachment 14304 [details]
lspcidrake output
sturmvogel 2024-01-25 05:25:17 CET

Source RPM: task-games-9-1.mga9 => unknown-horizons-2019.1-9.mga9.src.rpm

Comment 2 Lewis Smith 2024-01-29 20:27:39 CET
This latest version is 5y old. We need to see whether it (& all the others) worked on Mageia 8. Cauldron updates have mostly been to do with new Python versions. wally has just applied some Python fixes. Can a Cauldron user try this application to see whether they change anything?

CC: (none) => lewyssmith

Comment 3 Lewis Smith 2024-01-29 21:16:48 CET
Confirm Ben's findings. Remind about request for a Cauldron user to try Jani's new Python fixed version. Beware: the data download is huge.
Comment 4 Aurelian R 2024-01-29 22:31:06 CET
(In reply to Lewis Smith from comment #3)
> Confirm Ben's findings. Remind about request for a Cauldron user to try
> Jani's new Python fixed version. Beware: the data download is huge.

Seems fine on Cauldron. It loads fine. Graphics/sound/mouse control looks good.

CC: (none) => arusanu

Comment 5 Lewis Smith 2024-01-30 20:53:54 CET
That is useful confirmation, thank you. So it is worth pushing the update.

Assigning globally as responsible packager uncertain. CC'ing akien who is nominally responsible, in case he is still active.

Assignee: bugsquad => pkg-bugs
CC: lewyssmith => rverschelde

Comment 6 David GEIGER 2024-01-31 03:01:26 CET
Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
unknown-horizons-2019.1-9.1.mga9.noarch.rpm
unknown-horizons-data-2019.1-9.1.mga9.noarch.rpm

From SRPMS:
unknown-horizons-2019.1-9.1.mga9.src.rpm

CC: (none) => geiger.david68210
Assignee: pkg-bugs => qa-bugs

Comment 7 Aurelian R 2024-01-31 17:18:30 CET
unknown-horizons-2019.1-9.1.mga9.noarch by itself will not gonna work. 
To make it run I had used mgarepo to checkout the latest fife and rebuild it for Mageia 9, then the game starts OK.

$ rpm -qa | grep 'fife\|unknown'
unknown-horizons-2019.1-9.1.mga9
unknown-horizons-data-2019.1-9.1.mga9
lib64fifechan0.1.5-0.1.5-3.mga9
lib64fife0.4.2-0.4.2-24.mga9X             # Rebuild !
fife-0.4.2-24.mga9X                       # Rebuild !
$ unknown-horizons 
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
Comment 8 David GEIGER 2024-01-31 18:34:54 CET
You have used/rebuilt fife from Cauldron? with some fixes added recently by jani?
Comment 9 Aurelian R 2024-01-31 18:38:26 CET
(In reply to David GEIGER from comment #8)
> You have used/rebuilt fife from Cauldron? with some fixes added recently by
> jani?

Yes. And it looks like it is the only one needed to be build in order to work :).
Comment 10 David GEIGER 2024-01-31 19:14:03 CET
So ok! new list of packages:

Packages in 9/Core/Updates_testing:
======================
unknown-horizons-2019.1-9.1.mga9.noarch.rpm
unknown-horizons-data-2019.1-9.1.mga9.noarch.rpm

fife-0.4.2-20.1.mga9
libfife0.4.2-0.4.2-20.1.mga9
lib64fife0.4.2-0.4.2-20.1.mga9
libfife-devel-0.4.2-20.1.mga9
lib64fife-devel-0.4.2-20.1.mga9

From SRPMS:
unknown-horizons-2019.1-9.1.mga9.src.rpm
fife-0.4.2-20.1.mga9.src.rpm
Comment 11 Aurelian R 2024-01-31 19:53:00 CET
$ rpm -qa --last | grep 'fife\|unknown'
lib64fife0.4.2-0.4.2-20.1.mga9.x86_64         2024-01-31T20:46:22 EET
fife-0.4.2-20.1.mga9.x86_64                   2024-01-31T20:46:22 EET
lib64fifechan0.1.5-0.1.5-3.mga9.x86_64        2024-01-31T17:55:16 EET
unknown-horizons-data-2019.1-9.1.mga9.noarch  2024-01-31T17:52:13 EET
unknown-horizons-2019.1-9.1.mga9.noarch       2024-01-31T17:52:11 EET


Game runs fine for me.
Cheers.
Marja Van Waes 2024-01-31 22:27:48 CET

Keywords: (none) => advisory
CC: (none) => marja11

Comment 12 Ben McMonagle 2024-02-01 04:21:58 CET
updated ( fife-0.4.2-20.1.mga9.x86_64    )
game now plays

thanks
katnatek 2024-02-02 02:19:44 CET

Whiteboard: (none) => MGA9-64-OK

Comment 13 Thomas Andrews 2024-02-02 17:37:15 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 14 Mageia Robot 2024-02-04 03:51:07 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0041.html

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


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