Skip to content

Daemon working correctly but signal-curses not showing contacts #4

Open
@riazm

Description

@riazm

I think I have set up the signal-cli daemon correctly but when i run main.py I do not get any of my contacts loaded. I captured one log where my friend sent me a message but it does not show up..

r@belatinous:~/signal-curses$ cat sc.log
2018-10-16 08:57:11 args Namespace(bus='session', configDir='/home/r/.config/signal', phone='+REDACT')
2018-10-16 08:57:11 main None
2018-10-16 08:57:11 daemon thread
2018-10-16 08:57:11 message thread
2018-10-16 08:57:11 contacts:  0
2018-10-16 08:57:11 daemon popen
2018-10-16 08:57:11 waiting for (session) dbus...
2018-10-16 08:57:11 start forms {'MAIN': <__main__.SelectForm object at 0x7f8f25561ac8>, 'APP': <__main__.AppForm object at 0x7f8f245057b8>}
2018-10-16 08:57:15 got dbus
2018-10-16 08:57:25 line: {"envelope":{"source":"+REDACT","sourceDevice":2,"relay":null,"timestamp":1539680232979,"isReceipt":false,"dataMessage":{"timestamp":1539680232979,"message":"I got home and jacob had made beetroot noodles","expiresInSeconds":0,"attachments":[],"groupInfo":null},"syncMessage":null,"callMessage":null}}

2018-10-16 08:57:25 handleDaemonLine {"envelope":{"source":"+REDACT","sourceDevice":2,"relay":null,"timestamp":1539680232979,"isReceipt":false,"dataMessage":{"timestamp":1539680232979,"message":"I got home and jacob had made beetroot noodles","expiresInSeconds":0,"attachments":[],"groupInfo":null},"syncMessage":null,"callMessage":null}}

2018-10-16 08:57:25 should_notify None +REDACT +REDACT I got home and jacob had made beetroot noodles
2018-10-16 08:57:25 notifying line
2018-10-16 08:57:35 SIGINT
2018-10-16 08:57:35 queue item {'exit': 1}
2018-10-16 08:57:35 message thread exit
r@belatinous:~/signal-curses$ ls
daemon.log  main.py  README.md  requirements.txt  sc.log  screenshots
r@belatinous:~/signal-curses$ cat daemon.log 
{"envelope":{"source":"+REDACT","sourceDevice":2,"relay":null,"timestamp":1539680232979,"isReceipt":false,"dataMessage":{"timestamp":1539680232979,"message":"I got home and jacob had made beetroot noodles","expiresInSeconds":0,"attachments":[],"groupInfo":null},"syncMessage":null,"callMessage":null}}

I have one group partially loaded but if I try to send a message i it I get an error that the 'group does not exist' scrolling around curses, log below

image

2018-10-16 09:02:36 args Namespace(bus='session', configDir='/home/r/.config/signal', phone='+REDACT')
2018-10-16 09:02:36 main None
2018-10-16 09:02:36 daemon thread
2018-10-16 09:02:36 message thread
2018-10-16 09:02:36 contacts:  0
2018-10-16 09:02:36 daemon popen
2018-10-16 09:02:36 start forms {'MAIN': <__main__.SelectForm object at 0x7fb0318b3b00>, 'APP': <__main__.AppForm object at 0x7fb030056390>}
2018-10-16 09:02:36 waiting for (session) dbus...
2018-10-16 09:02:40 got dbus
2018-10-16 09:02:40 3
2018-10-16 09:02:40 {'groupId': 'ZxUv6bnPu7C7oTYcpnb1Bw==', 'name': 'decentralised dads', 'members': ['REDACT'], 'color': None, 'active': False}
2018-10-16 09:02:40 new state: state type: group name: decentralised dads numbers: REDACT
2018-10-16 09:02:40 mloop forms {'MAIN': <__main__.SelectForm object at 0x7fb0318b3b00>, 'APP': <__main__.AppForm object at 0x7fb030056390>}
2018-10-16 09:02:44 handleEnter 10 hello 1539680564240
2018-10-16 09:02:44 markAsEnvelope: {"envelope": {"timestamp": 1539680564240, "source": "+REDACT", "dataMessage": {"timestamp": 1539680564240, "message": "hello"}}} (sending)
2018-10-16 09:02:44 markAs success: ('2018-10-16 09:02:44', 'You (REDACT)', 'hello')
2018-10-16 09:02:44 mark:  ('2018-10-16 09:02:44', 'You (+REDACT)', 'hello') as:  (sending)
2018-10-16 09:02:44 sendHandler hello 1539680564240
2018-10-16 09:02:44 queue item {'state': <__main__.AppState object at 0x7fb0318a1ef0>, 'currentSend': <__main__.CurrentSend object at 0x7fb030092ef0>}
2018-10-16 09:02:44 send_message group ZxUv6bnPu7C7oTYcpnb1Bw== hello
2018-10-16 09:02:44 group id: ZxUv6bnPu7C7oTYcpnb1Bw==  b64: b'WnhVdjZiblB1N0M3b1RZY3BuYjFCdz09'
2018-10-16 09:02:56 SIGINT
2018-10-16 09:02:56 daemon exit

The daemon.log doesn't appear to have updated after this, it still has the message about beetroot noodles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions