When running with either gnome terminal or xterm -e I get this:
#!
Running PyLNP 0.12a (OS: linux, Compiled: True)
ERROR: Unable to read current colors
Traceback (most recent call last):
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 44, in get_colors
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 44, in <genexpr>
TypeError: int() argument must be a string or a number, not 'NoneType'
The builtin test passes when using xterm -e, but I still cant start Dwarf Fortress from within LNP. I can however start Dwarf Fortress from the df_linux directory.
Im running Ubuntu Gnome 17.04 64 Bit
[Issue created by mcb95: 2017-04-26]
[Last updated on bitbucket: 2017-06-10]
[Comment created by Pidgeot: 2017-05-06]
I have figured out the color error - the Linux LNP includes a colorscheme Western_Rust.txt, but it is an incomplete file. I've improved the error message, since it's plain wrong when it reads other files.
I've set up a VM of Ubuntu 17.04 to test the main issue; I'll get back when I've figured something out.
[Comment created by mcb95: 2017-05-03]
correct
[Comment created by Pidgeot: 2017-04-30]
And just to be sure, DF doesn't start for you with either GNOME or XTerm selected in the Configure Terminal?
[Comment created by mcb95: 2017-04-30]
stderr.txt:
#!
Running PyLNP 0.12a (OS: linux, Compiled: True)
DEBUG: dfhack_PyLNP.init not found.
DEBUG: onLoad_PyLNP.init not found.
DEBUG: onMapLoad_PyLNP.init not found.
INFO: Read installed graphics (Spacefox) from log
ERROR: Unable to read current colors
Traceback (most recent call last):
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 44, in get_colors
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 44, in <genexpr>
TypeError: int() argument must be a string or a number, not 'NoneType'
DEBUG: Checking for terminal KDE
DEBUG: Checking for terminal GNOME
DEBUG: Found terminal GNOME
DEBUG: Checking for terminal Xfce
DEBUG: Checking for terminal LXDE
DEBUG: Checking for terminal Mate
DEBUG: Checking for terminal i3
DEBUG: Checking for terminal (u)rxvt
DEBUG: Checking for terminal xterm
DEBUG: Found terminal xterm
DEBUG: Checking for terminal Custom command
DEBUG: Found terminal Custom command
DEBUG: Checking for terminal KDE
DEBUG: Checking for terminal GNOME
DEBUG: Found terminal GNOME
DEBUG: Checking for terminal Xfce
DEBUG: Checking for terminal LXDE
DEBUG: Checking for terminal Mate
DEBUG: Checking for terminal i3
DEBUG: Checking for terminal (u)rxvt
DEBUG: Checking for terminal xterm
DEBUG: Found terminal xterm
DEBUG: Checking for terminal Custom command
DEBUG: Found terminal Custom command
DEBUG: Checking for terminal KDE
DEBUG: Checking for terminal GNOME
DEBUG: Found terminal GNOME
DEBUG: Checking for terminal Xfce
DEBUG: Checking for terminal LXDE
DEBUG: Checking for terminal Mate
DEBUG: Checking for terminal i3
DEBUG: Checking for terminal (u)rxvt
DEBUG: Checking for terminal xterm
DEBUG: Found terminal xterm
DEBUG: Checking for terminal Custom command
DEBUG: Found terminal Custom command
stdout.txt
#!
Waiting for parent process to continue...
Waiting for parent process to terminate...
Test complete. Will terminate in 3 seconds.
inating parent process...
[Comment created by Pidgeot: 2017-04-30]
Please do the following:
1) Run PyLNP with the command-line argument -d.
2) Open the Configure Terminal dialog.
3) Try to run DF.
4) Close PyLNP.
5) Attach stdout.txt and stderr.txt from your LNP directory.
This should make it a bit easier to figure out what's happening.
The specific error message is a separate thing, but I'd also like to know what colorscheme you're using, so if you could attach data/init/colors.txt from the DF directory, that would be helpful too.
[Comment created by Pidgeot: 2017-06-10]
Remove LD_LIBRARY_PATH and PYTHONPATH from environment before launching DF (fixes #138) (fixes #140)
When running with either gnome terminal or xterm -e I get this:
The builtin test passes when using xterm -e, but I still cant start Dwarf Fortress from within LNP. I can however start Dwarf Fortress from the df_linux directory.
Im running Ubuntu Gnome 17.04 64 Bit
[Issue created by mcb95: 2017-04-26] [Last updated on bitbucket: 2017-06-10]
[Comment created by Pidgeot: 2017-05-06] I have figured out the color error - the Linux LNP includes a colorscheme Western_Rust.txt, but it is an incomplete file. I've improved the error message, since it's plain wrong when it reads other files.
I've set up a VM of Ubuntu 17.04 to test the main issue; I'll get back when I've figured something out.
[Comment created by mcb95: 2017-05-03] correct
[Comment created by Pidgeot: 2017-04-30] And just to be sure, DF doesn't start for you with either GNOME or XTerm selected in the Configure Terminal?
[Comment created by mcb95: 2017-04-30] stderr.txt:
stdout.txt
data/init/colors.txt:
[Comment created by Pidgeot: 2017-04-30] Please do the following:
1) Run PyLNP with the command-line argument -d. 2) Open the Configure Terminal dialog. 3) Try to run DF. 4) Close PyLNP. 5) Attach stdout.txt and stderr.txt from your LNP directory.
This should make it a bit easier to figure out what's happening.
The specific error message is a separate thing, but I'd also like to know what colorscheme you're using, so if you could attach data/init/colors.txt from the DF directory, that would be helpful too.
[Comment created by Pidgeot: 2017-06-10] Remove LD_LIBRARY_PATH and PYTHONPATH from environment before launching DF (fixes #138) (fixes #140)
→ <>