shell
shell copied to clipboard
[BUG] Caelestia shell not printing shell log
Step 1. Before you submit
- [x] I have read the above instructions and am sure that this is supposed to be posted here.
- [x] I've successfully updated to the latest versions following the updating guide.
- [x] I've successfully updated the system packages to the latest.
- [ ] I've ticked the checkboxes without reading their contents
Step 2. Version info
Version info
Packages:
caelestia-shell-git not installed
caelestia-meta not installed
caelestia-cli-git r264.882adb2-1
Caelestia:
Last commit: ed839182960fa4adf8cd63a8441601fc4af3ceb9
Commit message: hyprland: fix script shebang (#48)
Quickshell:
quickshell 0.1.0, revision db77c71c216530159c2dcf5b269ebb4706b2e2dd, distributed by: AUR (package: quickshell-git)
Local copy of shell found:
Unable to determine last merged upstream commit.
Last commit: fe57554fc22f48d940a4d0374d9fa0e8b448b096
Commit message: readme: add faq
Step 3. Describe the issue
Running caelestia shell -l results in TypeError from Python.
I had this issue both on package manager version and on git version (currently using git).
Logs
Traceback (most recent call last):
File "/usr/bin/caelestia", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3.13/site-packages/caelestia/__init__.py", line 10, in main
args.cls(args).run()
~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/caelestia/subcommands/shell.py", line 19, in run
self.print_log()
~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/caelestia/subcommands/shell.py", line 47, in print_log
log = self.shell("log", "-r", self.args.log_rules)
File "/usr/lib/python3.13/site-packages/caelestia/subcommands/shell.py", line 38, in shell
return subprocess.check_output(["qs", "-c", "caelestia", *args], text=True)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1902, in _execute_child
self.pid = _fork_exec(
~~~~~~~~~~^
args, executable_list,
^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
process_group, gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
preexec_fn, _USE_VFORK)
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
Reminder
- [x] I agree that it's usually impossible for others to help me without my logs.
Please update your cli version
Please update your cli version
Seems to be working now, thanks