Package Details: unknown-horizons 2019.1-6

Git Clone URL: https://aur.archlinux.org/unknown-horizons.git (read-only, click to copy)
Package Base: unknown-horizons
Description: 2D realtime strategy simulation with an emphasis on economy and city building.
Upstream URL: https://unknown-horizons.org/
Keywords: Anno Game OpenSource Realtime Strategy
Licenses: GPL, CCPL
Conflicts: unknown-horizons-git
Submitter: biginoz
Maintainer: Lucki
Last Packager: Lucki
Votes: 83
Popularity: 0.001898
First Submitted: 2010-08-17 18:05 (UTC)
Last Updated: 2024-03-14 16:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

Lucki commented on 2021-05-26 13:16 (UTC)

@Erz3: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

Erz3 commented on 2021-05-26 13:13 (UTC) (edited on 2021-05-26 13:14 (UTC) by Erz3)

I get this error in the install process:

==> Starting prepare () ...
/home/user/.cache/yay/fife/PKGBUILD: line 34: patch: command not found
==> ERROR: There was a failure in prepare (). 

LuckyTurtleDev commented on 2021-02-21 12:20 (UTC)

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.

LuckyTurtleDev commented on 2021-02-13 16:13 (UTC) (edited on 2021-02-21 12:19 (UTC) by LuckyTurtleDev)

@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 (UTC) (edited on 2021-01-25 11:14 (UTC) by MCMic)

I get this error at launch:

Traceback (most recent call last):
File "/bin/unknown-horizons", line 381, in <module>
    main()
File "/bin/unknown-horizons", line 122, in main
    ret = horizons.main.start(options)
File "/usr/lib/python3.9/site-packages/horizons/main.py", line 113, in start
    horizons.globals.fife = Fife()
File "/usr/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 "/usr/lib/python3.9/site-packages/horizons/engine/settings.py", line 39, in __init__
    self._settings_serializer.load(settings_file)
File "/usr/lib/python3.9/site-packages/fife/extensions/serializers/simplexml.py", line 132, in load
    self._validateTree()
File "/usr/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'

dixi_minga commented on 2019-12-31 02:56 (UTC) (edited on 2019-12-31 03:09 (UTC) by dixi_minga)

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 (UTC)

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 (UTC) (edited on 2019-12-31 02:35 (UTC) by dixi_minga)

in src/unknown-horizons-2019.1/setup.py I replaced:

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

dixi_minga commented on 2019-12-31 02:19 (UTC) (edited on 2019-12-31 02:20 (UTC) by dixi_minga)

Build-Error:

makepkg
==> 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 "setup.py", 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().
Aborting...