PyLNP 0.12 on BunsenLabs x64 (Debian Jessie derivative)
My available terminals are xterm and Xfce. If I use the built-in terminal commands, I get the following in stderr.txt:
Running PyLNP 0.12 (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'
Exception in Tkinter callback
Traceback (most recent call last):
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/Tkinter", line 1532, in __call__
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 51, in run_df
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 92, in run_program
File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.terminal", line 31, in get_terminal_command
TypeError: can only concatenate list (not "unicode") to list
if I choose custom command and use
xterm -e $
as the custom terminal command, the tests pass without issue. When trying to launch DF, however, the terminal will open up, but it displays the following message:
xterm: Can't execvp /: Permission denied
I tried sudo ./PyLNP to see if running as root would resolve the problem, but it didn't.
Additional note: Running sudo ./PyLNP still showed the "Unable to read current colors" error.
[Issue created by carter_scottm: 2016-08-25]
[Last updated on bitbucket: 2017-04-25]
[Comment created by Pidgeot: 2017-04-25]
@mcb95 Please do - this sounds like a slightly different problem, and it'll be easier to keep things organized.
[Comment created by mcb95: 2017-04-25]
When running with gnome terminal and 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
Would you rather have me open another issue?
EDIT: Clarity
[Comment created by mcb95: 2017-04-25]
Sorry to bump in here so late.
I have the exact same issue as descibed above, but I cant understand how you fixed it.
Running with xdg-terminal gives me:
No value set for /desktop/gnome/applications/terminal/exec' No value set for/desktop/gnome/applications/terminal/exec_arg'
xdg-terminal: configured terminal program '' not found or not executable
[Comment created by Pidgeot: 2017-04-25]
xdg-terminal isn't supposed to be used with the latest PyLNP; the necessary functionality was implemented directly in the program. Check the File > Configure terminal menu, and make sure you select something that matches your environment
If you are seeing issue when you have configured the terminal, post your log file and describe your Linux installation (distribution, desktop environment, etc.).
[Comment created by jecowa: 2016-08-26]
Issue #128 was marked as a duplicate of this issue.
[Comment created by carter_scottm: 2016-08-26]
Edited description
[Comment created by Pidgeot: 2016-08-29]
Fix terminal spawning (fixes #127)
PyLNP 0.12 on BunsenLabs x64 (Debian Jessie derivative)
My available terminals are xterm and Xfce. If I use the built-in terminal commands, I get the following in stderr.txt:
if I choose custom command and use
as the custom terminal command, the tests pass without issue. When trying to launch DF, however, the terminal will open up, but it displays the following message:
I tried sudo ./PyLNP to see if running as root would resolve the problem, but it didn't.
Additional note: Running sudo ./PyLNP still showed the "Unable to read current colors" error.
[Issue created by carter_scottm: 2016-08-25] [Last updated on bitbucket: 2017-04-25]
[Comment created by Pidgeot: 2017-04-25] @mcb95 Please do - this sounds like a slightly different problem, and it'll be easier to keep things organized.
[Comment created by mcb95: 2017-04-25] When running with gnome terminal and 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
Would you rather have me open another issue?
EDIT: Clarity
[Comment created by mcb95: 2017-04-25] Sorry to bump in here so late.
I have the exact same issue as descibed above, but I cant understand how you fixed it.
Running with xdg-terminal gives me:
No value set for
/desktop/gnome/applications/terminal/exec' No value set for
/desktop/gnome/applications/terminal/exec_arg' xdg-terminal: configured terminal program '' not found or not executable[Comment created by Pidgeot: 2017-04-25] xdg-terminal isn't supposed to be used with the latest PyLNP; the necessary functionality was implemented directly in the program. Check the File > Configure terminal menu, and make sure you select something that matches your environment
If you are seeing issue when you have configured the terminal, post your log file and describe your Linux installation (distribution, desktop environment, etc.).
[Comment created by jecowa: 2016-08-26] Issue #128 was marked as a duplicate of this issue.
[Comment created by carter_scottm: 2016-08-26] Edited description
[Comment created by Pidgeot: 2016-08-29] Fix terminal spawning (fixes #127)
→ <>