You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
λ python launch.py
INFO: Registering path root as .
INFO: Registering path lnp as ./LNP
INFO: Registering path keybinds as ./LNP/Keybinds
INFO: Registering path graphics as ./LNP/Graphics
INFO: Registering path utilities as ./LNP/Utilities
INFO: Registering path colors as ./LNP/Colors
INFO: Registering path embarks as ./LNP/Embarks
INFO: Registering path tilesets as ./LNP/Tilesets
INFO: Registering path baselines as ./LNP/Baselines
INFO: Registering path mods as ./LNP/Mods
INFO: Registering path df as ./Dwarf Fortress df_47_05_linux
INFO: Registering path data as ./Dwarf Fortress df_47_05_linux/data
INFO: Registering path init as ./Dwarf Fortress df_47_05_linux/data/init
INFO: Registering path save as ./Dwarf Fortress df_47_05_linux/data/save
INFO: Registering path extras as ./LNP/Extras
INFO: Registering path defaults as ./LNP/Defaults
INFO: Registering path dfhack_config as ./Dwarf Fortress df_47_05_linux/dfhack-config/init
WARNING: Field PRIESTHOOD_UNIT_COUNTS seems to be missing from file ./Dwarf Fortress df_47_05_linux/data/init/d_init.txt!
WARNING: Field GUILD_UNIT_COUNTS seems to be missing from file ./Dwarf Fortress df_47_05_linux/data/init/d_init.txt!
WARNING: Can't load or change keybinds with missing baseline!
INFO: Read installed graphics (Phoebus) from log
INFO: Extracting archives in baselines: ['./LNP/Baselines/df_47_05_win_s.zip']
INFO: Simplifying baselines: df_47_05
INFO: Loading keybinds: ./LNP/Keybinds/Laptop with mouse.txt
Exception in Tkinter callback
Traceback (most recent call last):
File "/home/txtsd/.pyenv/versions/3.7.14/lib/python3.7/tkinter/__init__.py", line 1705, in __call__
return self.func(*args)
File "/home/txtsd/git/python-lnp/tkgui/options.py", line 129, in <lambda>
self.keybinding_files.bind(seq, lambda e: self.load_keybinds())
File "/home/txtsd/git/python-lnp/tkgui/options.py", line 283, in load_keybinds
keybinds.load_keybinds(listbox.get(items[0]))
File "/home/txtsd/git/python-lnp/core/keybinds.py", line 99, in load_keybinds
_sdl_write_binds(target, _sdl_get_binds(filename), expanded=True)
File "/home/txtsd/git/python-lnp/core/keybinds.py", line 51, in _sdl_get_binds
van = _get_vanilla_binds()
File "/home/txtsd/git/python-lnp/core/keybinds.py", line 81, in _get_vanilla_binds
return _sdl_get_binds(vanfile, compressed=False)
File "/home/txtsd/git/python-lnp/core/keybinds.py", line 41, in _sdl_get_binds
with open(filename, encoding='cp437') as f:
FileNotFoundError: [Errno 2] No such file or directory: './LNP/Baselines/df_47_05/data/init/interface.txt'
This happens on master with Python 3.7.x as well as 3.10.x
The text was updated successfully, but these errors were encountered:
When a baseline does not exist, PyLNP downloads the appropriate zip to extract into the baselines folder.
However, I've found that it skips/fails to extract several important files like the
.txt
files in the init folder, even though they exist in the zip.LNP/Baselines/df_47_05
This causes loading keybinds to fail like so:
This happens on master with Python 3.7.x as well as 3.10.x
The text was updated successfully, but these errors were encountered: