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.001580
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 8 9 Next › Last »

Lucki commented on 2019-06-09 14:26 (UTC)

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

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

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 (UTC) (edited on 2019-05-05 11:29 (UTC) by robfuscator)

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

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

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 (UTC) (edited on 2019-02-17 12:26 (UTC) by Lucki)

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

  • 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'