Package Details: unknown-horizons 2019.1-3

Git Clone URL: https://aur.archlinux.org/unknown-horizons.git (read-only)
Package Base: unknown-horizons
Description: 2D realtime strategy simulation with an emphasis on economy and city building.
Upstream URL: http://www.unknown-horizons.org/
Keywords: Anno Game OpenSource Realtime Strategy
Licenses: GPL, CCPL
Conflicts: unknown-horizons-git
Submitter: biginoz
Maintainer: Lucki
Last Packager: Lucki
Votes: 81
Popularity: 0.151917
First Submitted: 2010-08-17 18:05
Last Updated: 2019-10-16 13:13

Latest Comments

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

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 generate_atlases.py 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/unknown-horizons.desktop.in, 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/generate_atlases.py 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 setup.py build --quiet
    python horizons/engine/generate_atlases.py 2048
}

robfuscator commented on 2019-05-05 11:28

I keep getting this error:

FileNotFoundError: [Errno 2] No such file or directory: 'content/atlas.sql'

Seems related to: https://github.com/unknown-horizons/unknown-horizons/issues/2892 Maybe there is a way to work around by generating the atlas.sql after installation?

Lucki commented on 2019-04-17 10:43

Is fife available in /usr/lib/python3.7/site-packages/fife/fife.py?

Which package have you installed, fife or fife-git?

raucao commented on 2019-04-17 09:29

Fresh install fails for me, due to dependency not found:

~ $ unknown-horizons Traceback (most recent call last): File "/usr/bin/unknown-horizons", line 381, in <module> main() File "/usr/bin/unknown-horizons", line 109, in main import horizons.main File "/usr/lib/python3.7/site-packages/horizons/main.py", line 41, in <module> from fife import fife as fife_module ModuleNotFoundError: No module named 'fife'

Lucki commented on 2019-02-17 12:25

Please make sure your fife is >= 0.4.2, fifechan >= 0.1.5 (latest releases) and the file is available at /usr/share/unknown-horizons/content/atlas.sql.

If both is the case please file a bug report upstream or contribute to this bug because

  • the game doesn't find the available file,
  • the game should even start without this file and
  • it works here with a clean chroot build.

nebiros commented on 2019-02-16 14:01

  • Fife manuall install
  • Got this Error at Start: raceback (most recent call last): File "/usr/bin/unknown-horizons", line 381, in <module> main() File "/usr/bin/unknown-horizons", line 122, in main ret = horizons.main.start(options) File "/usr/lib/python3.7/site-packages/horizons/main.py", line 173, in start horizons.globals.db = _create_main_db() File "/usr/lib/python3.7/site-packages/horizons/main.py", line 587, in _create_main_db with open(i, "r") as f: FileNotFoundError: [Errno 2] No such file or directory: 'content/atlas.sql'

Lucki commented on 2019-01-12 19:22

Updated PKGBUILDs can be found here.

I would happily adopt or co-maintain this package.

ChrisOelmueller commented on 2017-02-10 18:09

[unknown-horizons] 2017.2: New minor release, requires new FIFE

The required engine update is available via AUR: https://aur.archlinux.org/packages/fife/