#956926 twinkle-console: First launch fails

Package:
twinkle-console
Source:
twinkle
Description:
Voice over Internet Protocol (VoIP) SIP Phone (console)
Submitter:
Date:
2022-02-14 16:30:05 UTC
Severity:
important
#956926#5
Date:
2020-04-16 19:26:07 UTC
From:
To:
Dear Maintainer,

twinkle-console fails to launch with the following message:

Critical: Cannot open file for reading: /home/$USER/.twinkle/twinkle.cfg

Here is the content of /home/$USER/.twinkle :

drwx------ 2 $USER users 4096 Apr 16 21:05 tmp
-rw------- 1 $USER users    0 Apr 16 21:05 twinkle.lck
-rw-r--r-- 1 $USER users  412 Apr 16 21:09 twinkle.log
-rw-r--r-- 1 $USER users  412 Apr 16 21:05 twinkle.log.old

Regards,

#956926#10
Date:
2020-04-16 19:51:01 UTC
From:
To:
It happens with the version in testing and unstable too. However, on
systems where twinkle (the graphical client) has been installed and
used already, twinkle-console seems to launch properly, even if there
is no home/$USER/.twinkle/twinkle.cfg file.

Here is what I have on a system where the graphical twinkle client has
been used before twinkle-console :

ls -l .twinkle/

total 216
-rw-r--r-- 1 ac ac   2472 avril 16 13:31 user@domain.cfg
-rw-r--r-- 1 ac ac   2515 avril 16 12:59 user@domain.cfg~
-rw-r--r-- 1 ac ac    536 avril 16 16:06 gui_state.ini
drwx------ 2 ac ac   4096 août  15  2019 tmp
-rw-r--r-- 1 ac ac   2359 avril 16 15:59 twinkle.ch
-rw------- 1 ac ac    275 avril 16 14:58 twinkle.history
-rw------- 1 ac ac      0 août  15  2019 twinkle.lck
-rw-r--r-- 1 ac ac 116916 avril 16 16:06 twinkle.log
-rw-r--r-- 1 ac ac  46128 avril 16 14:58 twinkle.log.old
-rw-r--r-- 1 ac ac   1446 avril 16 16:06 twinkle.sys
-rw-r--r-- 1 ac ac   1446 avril 16 14:58 twinkle.sys~

When I try to add something on the command line :

$ twinkle-console --help

Critical: Cannot open file for reading: /home/onalyrg/.twinkle/--help

BTW twinkle-console has no manpage and no help either apparently.

When I create the file :

$ touch .twinkle/twinkle.cfg

twinkle-console launches properly (with error messages because no
account has been defined yet)

Regards,