Package Details: dwarffortress-lnp-git 43.03-8

Git Clone URL: https://aur.archlinux.org/dwarffortress-lnp-git.git (read-only)
Package Base: dwarffortress-lnp-git
Description: Installer for the Lazy Newb Pack to run Dwarf Fortress. Includes vanilla dwarf fortress, dfhack and graphics
Upstream URL: None
Licenses: custom
Submitter: metamer
Maintainer: metamer
Last Packager: metamer
Votes: 15
Popularity: 1.838027
First Submitted: 2016-03-06 03:30
Last Updated: 2017-02-11 04:07

Required by (0)

Sources (24)

Latest Comments

FreelancePolice commented on 2017-05-15 16:06

EDIT: For some reason, the following issue is a problem with the GNOME terminal. In the launcher, File > Configure Terminal, and changing the terminal to xterm fixed my issue. It works fine now.

I seem to have the same issue as @aleph476, but it's dependent on dfhack. With dfhack disabled, the game starts fine, but with it enabled, I get the output:

LNP/utilities/dwarf_therapist/DwarfTherapist (No such file or directory)
WARNING: No PIL support available - cannot perform image manipulation
INFO: Read installed graphics (Obsidian) from log
ERROR: Unable to read current colors
Traceback (most recent call last):
File "/home/[name]/.dwarffortress-lnp-git/python-lnp/core/colors.py", line 44, in get_colors
return [tuple(int(x) for x in t) for t in result]
File "/home/[name]/.dwarffortress-lnp-git/python-lnp/core/colors.py", line 44, in <listcomp>
return [tuple(int(x) for x in t) for t in result]
File "/home/[name]/.dwarffortress-lnp-git/python-lnp/core/colors.py", line 44, in <genexpr>
return [tuple(int(x) for x in t) for t in result]
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
WARNING: Update method not configured in PyLNP.json! Will attempt to auto-detect. Please set this value correctly, auto-detection will go away eventually!
WARNING: Could not detect update method, updates will not work
WARNING: Update method not configured in PyLNP.json! Will attempt to auto-detect. Please set this value correctly, auto-detection will go away eventually!
WARNING: Could not detect update method, updates will not work

aleph476 commented on 2017-05-09 23:11

Getting the following errors when trying to launch Dwarf Fortress from the LNP GUI.

LNP/utilities/dwarf_therapist/DwarfTherapist (No such file or directory)
WARNING: No PIL support available - cannot perform image manipulation
INFO: Read installed graphics (Spacefox) from log
ERROR: Unable to read current colors
Traceback (most recent call last):
File "/home/user/.dwarffortress-lnp-git/python-lnp/core/colors.py", line 44, in get_colors
return [tuple(int(x) for x in t) for t in result]
File "/home/user/.dwarffortress-lnp-git/python-lnp/core/colors.py", line 44, in <listcomp>
return [tuple(int(x) for x in t) for t in result]
File "/home/user/.dwarffortress-lnp-git/python-lnp/core/colors.py", line 44, in <genexpr>
return [tuple(int(x) for x in t) for t in result]
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
WARNING: Update method not configured in PyLNP.json! Will attempt to auto-detect. Please set this value correctly, auto-detection will go away eventually!
WARNING: Could not detect update method, updates will not work
WARNING: Update method not configured in PyLNP.json! Will attempt to auto-detect. Please set this value correctly, auto-detection will go away eventually!
WARNING: Could not detect update method, updates will not work
./libs/Dwarf_Fortress: /usr/lib/dwarffortress-lnp-git/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /usr/lib/dwarffortress-lnp-git/df_linux/libs/libgraphics.so)
./libs/Dwarf_Fortress: /usr/lib/dwarffortress-lnp-git/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/dwarffortress-lnp-git/df_linux/libs/libgraphics.so)
./libs/Dwarf_Fortress: /usr/lib/dwarffortress-lnp-git/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/dwarffortress-lnp-git/df_linux/libs/libgraphics.so)
./libs/Dwarf_Fortress: /usr/lib/dwarffortress-lnp-git/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/dwarffortress-lnp-git/df_linux/libs/libgraphics.so)
./libs/Dwarf_Fortress: /usr/lib/dwarffortress-lnp-git/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/dwarffortress-lnp-git/df_linux/libs/libgraphics.so)
^CTraceback (most recent call last):
File "./PyLNP", line 12, in <module>
File "/home/user/.dwarffortress-lnp-git/python-lnp/core/lnp.py", line 126, in __init__
self.ui.start()
File "./tkgui/tkgui.py", line 257, in start
self.root.mainloop()
File "/usr/lib/python3.5/tkinter/__init__.py", line 1131, in mainloop
self.tk.mainloop(n)
File "/usr/lib/python3.5/tkinter/__init__.py", line 1545, in __call__
def __call__(self, *args):
KeyboardInterrupt

sheisrisen commented on 2017-03-08 03:14

I get a similar problem to Ikkitsyne where it crashes after asking me for a password. Here's the messages I get:

LNP/utilities/dwarf_therapist/DwarfTherapist (No such file or directory)
Warning: Cannot convert string "#F6D398" to type Cursor
WARNING: JSONConfiguration: File PyLNP.user does not exist
WARNING: No PIL support avaiable - cannot perform image manipulation
Traceback (most recent call last):
File "./pyLNP", line 12 in <module>
File "/home/louis/.dwarffortress-lnp-git/python-lnp/core/lnp.py, line 119, in __init__
self.initialise_ui()
File "/home/louis/.dwarffortress-lnp-git/python-lnp/core/lnp.py, line 210, in initialise_ui
self.ui = TkGui()
File "./tkgui/tkgui.py", line 131, in __init__
self.root = root = Tk()
File "/usr/lib/python3.6/tkinter/__init__.py", line 2017, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: bad cursor spec "#F6D398"
[WARNING] startlnp: failed to start PyLNP

metamer commented on 2017-02-11 04:38

trckry: Thanks for the update - I've updated the package to remove the patch

t3h_bunneh: the issue that you were encountering should be fixed now

t3h_bunneh commented on 2017-02-09 18:46

Trying to build the packaged gives me 'error in function prepare()'.

After running yaourt as verbose, it gave this when trying to go through the prepare() function: https://0bin.net/paste/P5g5nKOaIuXH1Mr2#15Zn0Jx4z+k07NMbgcu2RH75E1LATTstwxRD49biew4

trckry commented on 2017-02-07 00:47

metamer, upstream python-lnp has resolved your issue and the update broke the patching in python-lnp-get-terminal-name.patch. Removing the patch from the PKGBUILD successfully builds and runs df afaict so it should be safe to update.

As it currently stands though, the pkg is broken.

metamer commented on 2017-01-30 02:56

Many thanks for the details. It seems that the issue has not yet been corrected upstream, so I have created an issue there (https://bitbucket.org/Pidgeot/python-lnp/issues/135/unable-to-launch-df-due-to).

Edit: I've added a patch which addresses the issue to this package as a stopgap

cphoton commented on 2017-01-29 19:51

> Is the get-terminal related TKinter exception mentioned in October still an issue? I suspect it was an issue with the upstream python-lnp that might have been corrected.

It was for me, making dvirok's change fixed it for me:

> The traceback shows line 28 of the file ~/.dwarffortress-lnp-git/python-lnp/core/terminal.py as source of the error, where get_configured_terminal.name is requested; That should be a function call. Simply replacing this by get_configured_terminal().name seems to fix the issue. Works fine since.

I did not check if it was fixed upstream, though.

metamer commented on 2017-01-29 12:42

Apologies for the hiatus and thanks for the fix description cphoton. I've updated the location of the twbt sources to point to v5.7 tag.

Is the get-terminal related TKinter exception mentioned in October still an issue? I suspect it was an issue with the upstream python-lnp that might have been corrected.

cphoton commented on 2017-01-25 02:56

df-twbt needs to track the latest tag instead of the latest commit (latest changes intended to fix some windows issues but broke the linux build). I was able to get the package generated by changing the following line on the PKGBUILD:

git+"https://github.com/mifki/df-twbt.git"#tag=v5.70

(add #tag=v5.70 on line 55)

All comments