derricw / siggo

a TUI for signal messenger, written in Go
GNU General Public License v3.0
320 stars 9 forks source link

Exit status 1 when trying to send messages in signal #20

Closed aselimov closed 4 years ago

aselimov commented 4 years ago

Hello! Currently whenever I try to send a message in siggo it gives me exit status 1 and I can't currently find very much information on what is going on. Are there any log files being written? I have linked my account using signal-cli and am able to send messages using signal-cli but the siggo sending doesn't work. I'm also able to see my contacts on siggo as well, just seems the message sending is broken for me. I'm on Artix linux and don't have systemd, not sure if that makes a difference. Thanks for the help!

derricw commented 4 years ago

Hey! Thanks for the report. Can you send messages manually using signal-cli -u <+yournumber> send <+recipient_number> -m <message>?

aselimov commented 4 years ago

Yes I can! It works sending to myself and other people

derricw commented 4 years ago

Hrmmm. I guess the next thing I'd look at is whether you can run signal-cli in daemon mode with: signal-cli -u <+phonenumber> daemon --json

Daemon mode should fail if you don't have dbus setup correctly.

If that runs without error, the next thing I'd check is whether signal-cli is in your PATH, for siggo to find. If it is, then here is my recommendation:

  1. Run siggo in debug mode using the --debug arg.
  2. Look for errors in the logs which should be at .local/share/siggo/siggo.log, especially after sending a message.
aselimov commented 4 years ago

Oh yes, it seems to be a problem with the dbus. Haven't figured it out quite yet, but thanks for the help!