(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
SYSTEM INFORMATION
Generation 54 Mar 24 2022 11:42:45 (current)
guix ab98b51
repository URL: https://git.savannah.gnu.org/git/guix.git
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