Skip to content

Issues with Terminal reloading #850

Closed

Description

@DeaDvey

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.

Activity

  1. DeaDvey commented on Oct 20, 2023

    @DeaDvey
    Author

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

  2. added a commit that references this issue on Jan 26, 2024
    a28c5db
  3. AtomsForPeace commented on Jan 26, 2024

    @AtomsForPeace
    Contributor

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

  4. added a commit that references this issue on Feb 16, 2024
    3ed6ea7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions