isamert / scli

a simple terminal user interface for signal messenger (using signal-cli)
GNU General Public License v3.0
448 stars 39 forks source link

Stuck on 'Initializing signal-cli daemon' #223

Closed xusiai closed 7 months ago

xusiai commented 7 months ago

When I run scli the ui shows 'Initializing signal-cli daemon...' and it never finishes this. No contacts or messages ever appear. Running signal-cli -u [number] daemon does start the daemon and scli seem to detect this, as running scli while the daemon was started elsewhere results in a 'Stop previously launched signal-cli processes to continue'.

DEBUG:root:callf: `['signal-cli', '-u', '+[number]', '--output=json', 'daemon']`
DEBUG:urwid.event_loop.main_loop.MainLoop:Starting event loop 'SelectEventLoop' to manage display.
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Waiting for input: timeout=0.0
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:No input in timeout, calling scheduled <bound method MainLoop.entering_idle of <urwid.event_loop.main_loop.MainLoop object at 0x7f7214954310>>
DEBUG:urwid.event_loop.main_loop.MainLoop:Screen size recalculated: (83, 33)
DEBUG:urwid.display._posix_raw_display.Screen.draw_screen:Drawing screen with size (83, 33)
DEBUG:urwid.display._posix_raw_display.Screen:Undefined attribute: ''
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Processing input
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Waiting for input: timeout=0.0
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:No input, entering IDLE
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Processing input
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Waiting for input: timeout
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Processing input
INFO:root:daemon_log: INFO  DaemonCommand - Starting daemon in single-account mode for +[number]
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Waiting for input: timeout=0.0
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:No input, entering IDLE
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Processing input
DEBUG:urwid.event_loop.select_loop.SelectEventLoop:Waiting for input: timeout
exquo commented 7 months ago

Looks like #220. Are you on the latest master? It should be fixed in the recent commits.

xusiai commented 7 months ago

Looks like #220. Are you on the latest master? It should be fixed in the recent commits.

Not on master no. Will wait for an update and see.

exquo commented 7 months ago

You can use the current scli master now. I will also make a new release soon.