Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Terminal reloading #850

Closed
DeaDvey opened this issue Oct 20, 2023 · 2 comments
Closed

Issues with Terminal reloading #850

DeaDvey opened this issue Oct 20, 2023 · 2 comments

Comments

@DeaDvey
Copy link

DeaDvey commented Oct 20, 2023

Describe the bug
On compiled from source version of Terminator with the --reload (-R) feature, the reloading doesn't work, I get this error message:

 $ terminator -R
Traceback (most recent call last):
  File "/usr/bin/terminator", line 92, in <module>
    dbus_service = ipc.DBusService()
                   ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/terminatorlib/ipc.py", line 48, in __init__
    self.prepare_attributes()
  File "/usr/lib/python3.11/site-packages/terminatorlib/ipc.py", line 65, in prepare_attributes
    raise dbus.exceptions.DBusException(
dbus.exceptions.DBusException: Couldn't get DBus name net.tenshu.Terminator2c167fcb65036abc0f3dbe526aaa2db94: Name exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/terminator", line 117, in
ipc.reload_configuration()
TypeError: reload_configuration() missing 1 required positional argument: 'session'

To Reproduce
On source version of Terminator, built from source, type "terminator -R"

Expected behavior
I expect the config file to reload to a new theme

Screenshots
image

Desktop (please complete the following information):

  • OpenSUSE TumbleWeed
  • Wayland (Hyprland)

Additional context
I need to reload from terminal I want to be able to switch themes by pressing a button on my waybar, the config file updates correctyly, I just want terminator to reload without opening preferences and hitting close.

@DeaDvey
Copy link
Author

DeaDvey commented Oct 20, 2023

It also has the same error on KDE X11, so it doesn't seem to be due to Hyprland, I could be wrong though

@AtomsForPeace
Copy link
Contributor

You can try my branch and see if it fixes this for you. Works for me now.

mattrose added a commit that referenced this issue Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants