Package Details: unknown-horizons 2019.1-4

Git Clone URL: (read-only, click to copy)
Package Base: unknown-horizons
Description: 2D realtime strategy simulation with an emphasis on economy and city building.
Upstream URL:
Keywords: Anno Game OpenSource Realtime Strategy
Licenses: GPL, CCPL
Conflicts: unknown-horizons-git
Submitter: biginoz
Maintainer: Lucki
Last Packager: Lucki
Votes: 82
Popularity: 0.086417
First Submitted: 2010-08-17 18:05
Last Updated: 2019-12-31 02:38

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Lukas1818 commented on 2021-02-21 12:20

unknown-horizons 2019.1-4 and fife 0.4.2-3 are not compatible with Pyhton 3.9 or newer. This is already fix at the masters. You can use unknown-horizons-git and fife-git instead.

Lukas1818 commented on 2021-02-13 16:13

@MCMic This error happen in the fifeengine, because of a breaking change at Pyhton 3.9. I have allready create a merge request to fix this issue.

Unknow horizons itself has also some issues with Pyhton 3.9. I have also create a merge request for this too.

MCMic commented on 2021-01-25 11:12

I get this error at launch:

Traceback (most recent call last):
File "/bin/unknown-horizons", line 381, in <module>
File "/bin/unknown-horizons", line 122, in main
    ret = horizons.main.start(options)
File "/usr/lib/python3.9/site-packages/horizons/", line 113, in start
    horizons.globals.fife = Fife()
File "/usr/lib/python3.9/site-packages/horizons/engine/", line 46, in __init__
File "/usr/lib/python3.9/site-packages/horizons/engine/", line 39, in __init__
File "/usr/lib/python3.9/site-packages/fife/extensions/serializers/", line 132, in load
File "/usr/lib/python3.9/site-packages/fife/extensions/serializers/", line 386, in _validateTree
    for c in self._root_element.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'

dixi_minga commented on 2019-12-31 02:56

Hi Lucki,

no I don't get the GLX-Error, now it compiles and works. Thank you.

I get some "SyntaxWarnings" in some python-scripts:

"is" with a literal. Did you mean "=="?

but the game starts

Lucki commented on 2019-12-31 02:46

I already had the fixes in place but forgot to push them.

Can you tell me if it runs on your system? I always get a X Error of failed request: GLXBadDrawable, presumably the reason I haven't pushed it yet.

dixi_minga commented on 2019-12-31 02:29

in src/unknown-horizons-2019.1/ I replaced:

if platform.dist()[0].lower() in ('debian', 'ubuntu'):
executable_path = 'games'
executable_path = 'bin'
executable_path = 'bin'
then I were able to compile

dixi_minga commented on 2019-12-31 02:19


==> Making package: unknown-horizons 2019.1-3 (Tue Dec 31 03:06:34 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found unknown-horizons-2019.1.tar.gz
==> Validating source files with sha512sums...
unknown-horizons-2019.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting unknown-horizons-2019.1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
File "", line 42, in <module>
if platform.dist()[0].lower() in ('debian', 'ubuntu'):
AttributeError: module 'platform' has no attribute 'dist'
==> ERROR: A failure occurred in package().

Lucki commented on 2019-06-09 14:26

Thanks for the heads up. Their build system can't handle the separated build and install steps. While combining both steps again I was finally able to reproduce the missing atlas.sql problem and can confirm the fix by manually invoking the which now takes place in the build() function.

lightdot commented on 2019-06-09 00:58

The .xpm is correctly placed into /usr/share/pixmaps/ but the .desktop file is missing from /usr/share/applications. It's there as /usr/share/unknown-horizons/content/packages/, though.

BTW, builds fine for me, using a clean chroot.

Lucki commented on 2019-05-06 10:09

Please try to rebuild with this added line after line 25 (at the end of the build function): python horizons/engine/ 2048

I still can't reproduce this in any way, it works here in a clean chroot and in my user setup so it's really hard to get anywhere without knowing whats happening.

Are there any related error messages in the build log? Is the file available in the package?

$ pacman -Ql unknown-horizons | grep atlas.sql
unknown-horizons /usr/share/unknown-horizons/content/atlas.sql
build() {
    cd "$srcdir/$pkgname-$pkgver"
    python build --quiet
    python horizons/engine/ 2048