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
If I try to use any command (except for --help), an exception is thrown.
$ mons listKeyError('Path')An unhandled exception has occurred.Use the --debug flag to disable clean exception handling.
$ mons add steam ~/.local/share/Steam/steamapps/common/CelesteKeyError('Path')An unhandled exception has occurred.Use the --debug flag to disable clean exception handling.
I am on Arch Linux and this happens whether I install mons from AUR, pip, or build from saurce.
Full stack trace:
$ mons --debug helpAn unhandled exception has occurred. File "/home/blt/cood/py/mons/mons/clickExt.py", line 102, in main super().main(args=args, *params, **extra) File "/home/blt/cood/py/mons/env/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/blt/cood/py/mons/env/lib/python3.10/site-packages/click/core.py", line 1654, in invoke super().invoke(ctx) File "/home/blt/cood/py/mons/env/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/blt/cood/py/mons/env/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/home/blt/cood/py/mons/env/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/home/blt/cood/py/mons/mons/mons.py", line 17, in cli ctx.obj = ctx.with_resource(UserInfo()) File "/home/blt/cood/py/mons/env/lib/python3.10/site-packages/click/core.py", line 571, in with_resource return self._exit_stack.enter_context(context_manager) File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context result = _cm_type.__enter__(cm) File "/home/blt/cood/py/mons/mons/config.py", line 78, in __enter__ self.installs = {name: load_install(name) for name in installs.sections()} File "/home/blt/cood/py/mons/mons/config.py", line 78, in <dictcomp> self.installs = {name: load_install(name) for name in installs.sections()} File "/home/blt/cood/py/mons/mons/config.py", line 75, in load_install name, installs[name]["Path"], cache=cache[name], data=installs[name] File "/usr/lib/python3.10/configparser.py", line 1258, in __getitem__ raise KeyError(key)KeyError: 'Path'
The text was updated successfully, but these errors were encountered:
The problem was that I had this in my installs.ini:
[DEFAULT]preferredbranch = stable
[steam-flatpak]
I had previously used steam flatpak, but now I am using native package. I guess at some point it saw that the path I specified for the installation didn't exist and tried to remove the installation, but didn't remove the entry for it, instead only removing the path field. And then tried to access that field, which caused the exception.
If I try to use any command (except for
--help
), an exception is thrown.I am on Arch Linux and this happens whether I install mons from AUR, pip, or build from saurce.
Full stack trace:
The text was updated successfully, but these errors were encountered: