Skip to content

cogctl communication to multiple instances does not work #474

@ventosus

Description

@ventosus

With two cog instances (built with system DBUS):

cog --gapplication-app-id=com.example.ONE uri
cog --gapplication-app-id=com.example.TWO uri

There is no way to talk to both of them with cogctl by using the object path: (only the first one loaded can be talked to)

cogctl --system --object-path=/com/example/ONE reload -> OK

cogctl --system --object-path=/com/example/TWO reload
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path ?/com/example/TWO?

There is no way to talk to both of them with cogctl by using the appid:

cogctl --system --appid=com.example.ONE reload
GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "com.example.ONE" does not exist

cogctl --system --appid=com.example.TWO reload
GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "com.example.TWO" does not exist

How should I talk to different cog instances? Am I doing something wrong?

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