Unknown Horizons 2019.1 fails to start

  • Done
  • quality assurance status badge
Details
2 participants
  • Luis Felipe
  • Simon South
Owner
unassigned
Submitted by
Luis Felipe
Severity
normal
L
L
Luis Felipe wrote on 9 Apr 2022 15:21
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
ITrgovirfO4TyPjMqd1t42mMh4-cyr9p2zV_v4Qgs5WBkHy1DI64bd-VJDq1S8Rq5wxLb3bSZxvAV4wkiNs5QaNvdkfZ6ouBB8yVvMO-wto=@protonmail.com
SYSTEM INFORMATION

Generation 54 Mar 24 2022 11:42:45 (current)
guix ab98b51
branch: master
commit: ab98b51ef1304e975da127e3092d01dcc7f02657

unknown-horizons 2019.1


STEPS TO REPRODUCE

1. guix shell unknown-horizons -- unknown-horizon


EXPECTED RESULT

The game starts.


UNEXPECTED RESULT

The game fails to start with the following error:

guix shell unknown-horizons -- unknown-horizons
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1038: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(margin) is 4:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1044: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif len(margin) is 3:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1050: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif len(margin) is 2:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1056: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif len(margin) is 1:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1068: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(padding) is 4:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1074: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif len(padding) is 3:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1080: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif len(padding) is 2:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/widget.py:1086: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif len(padding) is 1:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/animationicon.py:193: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if anim is not "":
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/curvegraph.py:164: SyntaxWarning: "is" with a literal. Did you mean "=="?
if coordinates is None or len(coordinates) is 0:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/linegraph.py:157: SyntaxWarning: "is" with a literal. Did you mean "=="?
if coordinates is None or len(coordinates) is 0:
/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/pychan/widgets/pointgraph.py:157: SyntaxWarning: "is" with a literal. Did you mean "=="?
if coordinates is None or len(coordinates) is 0:
Traceback (most recent call last):
File "/gnu/store/5kah2sx0bzp77l3fjbg4mx0y7a2w3wkb-unknown-horizons-2019.1/bin/.unknown-horizons-real", line 381, in <module>
main()
File "/gnu/store/5kah2sx0bzp77l3fjbg4mx0y7a2w3wkb-unknown-horizons-2019.1/bin/.unknown-horizons-real", line 122, in main
ret = horizons.main.start(options)
File "/gnu/store/5kah2sx0bzp77l3fjbg4mx0y7a2w3wkb-unknown-horizons-2019.1/lib/python3.9/site-packages/horizons/main.py", line 113, in start
horizons.globals.fife = Fife()
File "/gnu/store/5kah2sx0bzp77l3fjbg4mx0y7a2w3wkb-unknown-horizons-2019.1/lib/python3.9/site-packages/horizons/engine/engine.py", line 46, in __init__
self._setting = Settings(PATHS.USER_CONFIG_FILE, PATHS.SETTINGS_TEMPLATE_FILE)
File "/gnu/store/5kah2sx0bzp77l3fjbg4mx0y7a2w3wkb-unknown-horizons-2019.1/lib/python3.9/site-packages/horizons/engine/settings.py", line 39, in __init__
self._settings_serializer.load(settings_file)
File "/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/site-packages/fife/extensions/serializers/simplexml.py", line 132, in load
self._validateTree()
File "/gnu/store/cyrgvpvh6wi15m4ffcdn3s55jypp8yqk-fifengine-0.4.2/lib/python3.9/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


---
Luis Felipe López Acevedo
Attachment: signature.asc
S
S
Simon South wrote on 4 Jan 21:40 +0100
(name . bug#54815)(address . 54815@debbugs.gnu.org)
8734vchlx8.fsf@simonsouth.net
I've added patches to issue #66173, "Package unknown-horizons fails
during build process", that resolve this issue as well.


--
Simon South
simon@simonsouth.net
S
S
Simon South wrote on 15 Jan 10:35 +0100
control message for bug #54815
(address . control@debbugs.gnu.org)
875xzv7xcb.fsf@simonsouth.net
close 54815
quit

This issue was fixed with commit 3351c5e59d, "gnu: unknown-horizons: Fix
build and runtime errors."
?
Your comment

This issue is archived.

To comment on this conversation send an email to 54815@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 54815
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch