Whisperfish - The unofficial SailfishOS Signal client

Same for device link I guess.

You could register using aebruno’s Whisperfish and link your devices using that, then upgrade to rubdos’s new Whisperfish. The device link will still work after upgrading, though unfortunately, syncing contacts after the initial sync is impossible, so any new contacts will just show up as a phone number. On the plus side, having access to the desktop client works around most of the missing features in Whisperfish.

Here you are (problem of not “receiving” and transmitting photos).
+43XXXX is a censored phone number :wink:

Receiving a photo (blank rectangle in chat):

[2021-01-10T19:02:46Z INFO  harbour_whisperfish::worker::client] Downloading attachment  
...
[2021-01-10T19:02:47Z WARN  harbour_whisperfish::worker::client] Downloaded attachment length     (1465888) is not equal to expected length of 1465777 bytes.                                          
[2021-01-10T19:02:48Z DEBUG harbour_whisperfish::worker::client] Truncating attachment to 1465777B                                                                              
thread 'main' panicked at 'Could not create file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/store/mod.rs:120:36                                
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace     
[2021-01-10T19:02:48Z TRACE mio::poll] deregistering handle with poller                                                                                                                                                                       
[2021-01-10T19:02:48Z TRACE mio::poll] deregistering handle with poller                                                                                                                                                                       
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::actor::messageactor] MessageActor::handle(QueueMessage { source: "+43XXXX", message: "Test", attachment: "", group: "" })                                                         
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called fetch_session_by_source(+43XXXX)                                                                                                                                         
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called update_session()                                                                                                                                                          
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called update_message_if_needed(4)                                                                                                                                               
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called create_message()                                                                                                                                                               
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called fetch_latest_message()                                                                                                                                                    
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Inserted message id 84                                                                                                                                                           
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MailboxError(Mailbox has closed)', /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227:5                                        
                                                                                                                                                                                                                                              
(process:14245): Tracker-WARNING **: 20:02:59.565: Locale 'LANG' is not set, defaulting to C locale                           

Transmitting a foto (shown in chat):

[2021-01-10T19:02:54Z TRACE harbour_whisperfish::actor::messageactor] MessageActor::handle(QueueMessage { source: "+43XXXX", message: "Test", attachment: "", group: "" })                                                         
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called fetch_session_by_source(+43XXXX)                                                                                            
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called update_session()                                                                                                                                                               
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called update_message_if_needed(4)                                                                                                       
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called create_message()                                                                                                                  
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Called fetch_latest_message()                                                                                                                                                         
[2021-01-10T19:02:54Z TRACE harbour_whisperfish::store] Inserted message id 84                                                                                                                                                                
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MailboxError(Mailbox has closed)', /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227:5                                             
                                                                                                                                                                                                                                              
(process:14245): Tracker-WARNING **: 20:02:59.565: Locale 'LANG' is not set, defaulting to C locale                                                                                                                                           
[2021-01-10T19:03:01Z TRACE libsignal_service_actix::websocket] Triggering keep-alive                                                                                                                                                         
[2021-01-10T19:03:01Z INFO  libsignal_service_actix::websocket] Websocket sink has closed: SendError { kind: Disconnected }.                                                                                                                  
[2021-01-10T19:03:01Z TRACE mio::poll] deregistering handle with poller                                                                                                                                                                       
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::actor::messageactor] MessageActor::handle(QueueMessage { source: "+43XXXX", message: "TestFotoSend", attachment: "/run/media/nemo/42d2866f-73be-46aa-a02b-f1d164a2cb96/Pictures/Advance
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::store] Called fetch_session_by_source(+43XXXX)                                                                                                                                         
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::store] Called update_session()                                                                                                                                                               
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::store] Called update_message_if_needed(4)                                                                                                                                              
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::store] Called create_message()                                                                                                                                                               
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::store] Called fetch_latest_message()                                                                                                                                                   
[2021-01-10T19:03:13Z TRACE harbour_whisperfish::store] Inserted message id 85                                                                                                                                              
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MailboxError(Mailbox has closed)', /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227:5                                             
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::actor::messageactor] MessageActor::handle(QueueMessage { source: "+43XXXX", message: "TestNex", attachment: "", group: "" })                                                     
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::store] Called fetch_session_by_source(+43XXXX)                                                                                                                                    
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::store] Called update_session()                                                                                                                                             
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::store] Called update_message_if_needed(4)                                                                                                                                                   
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::store] Called create_message()                                                                                                                    
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::store] Called fetch_latest_message()                                                                                                                                                    
[2021-01-10T19:03:23Z TRACE harbour_whisperfish::store] Inserted message id 86                                                                                                                                                                
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MailboxError(Mailbox has closed)', /rustc/18bf6b4f01a6feaf7259ba7cdae58031af1b7b39/library/core/src/ops/function.rs:227:5      

Other WARNings:

2021-01-10T19:01:56Z WARN  harbour_whisperfish::model::contact] Could not format phone number: malformed integer part in phone number: number too large to fit in target type                                                           
[2021-01-10T19:01:56Z WARN  harbour_whisperfish::model::contact] Could not format phone number: malformed integer part in phone number: number too large to fit in target type                                                           
[2021-01-10T19:01:56Z WARN  harbour_whisperfish::model::contact] Could not format phone number: malformed integer part in phone number: number too large to fit in target type
1 Like

I installed harbour-whisperfish-0.6.0-0.alpha_.6.armv7hl.rpm on my XA2 from openrepos.net.
When I opened the app, this appeared: “Enter your password”
I put in my regular phone password. I then tapped: “Accept”
This is what appeared next: “ERROR - Failed to setup Signal Client”

What should I do to correct this?

maybe try another password long enough

Thanks for the message. I tried it, but it is still giving me the same messages as described before.

Had you have installed it before?

Then you should try to delete its config/dara, so that you have a fresh installation.

I did have it installed before. Just now, I deleted the app, then went to /home/defaultuser/.config/ and deleted the folder harbour-whisperfish. It had config.yml and harbour-whisperfish.conf in it. I then restarted the phone. I reinstalled Whisperfish. It asked for the password again and I entered different ones. I still get the same result as previous. Where is the “config/dara” file? Did you mean “config/data”?

I deleted the ~/.local/share/harbour-whisperfish folder too when I encountered that error to start fresh.

You should indeed delete .local/share/harbour-whisperfish and .config/harbour-whisperfish if you want to reset the whole thing.

2 Likes

Could you please double-check whether the attachment directory exists? Also, double check whether you have /home/nemo or /home/defaultuser. The error you get on receiving is really associated with creating the attachment file, and the parent directory not existing. Maybe really check character per character, or re-enter the path yourself to really make sure.

Wrt. transmitting a photo, I feel like you’re doing this without having restarted Whisperfish when something else has already failed (Mailbox has closed), so maybe let’s first focus on your first issue :slight_smile:

You are right - my fault:
Instead of attachment_dir=/home/nemo/.local/share/harbour-whisperfish/storage/attachments
it was attachment_dir=/home/nemo/.local/share/harbour-whisperfish/attachments…
Sorry!

Mh…but it was the default setting…

Now sending and receiving work! Thank you!

Just checked, there were multiple places where that default path was declared, they are in sync now in the master branch. Thanks for noticing, and sorry for the inconvenience! Maybe I should break out an alpha.7 to get around that for our new users…

3 Likes

I would like to help with the project, but I don’t know Rust… I’ll try to whip the environment up and try to iron out a few kinks in the UI instead… :sweat_smile:

Thanks for keeping us well informed!

4 Likes

lal and rubdos: Thank you both for the replies. It works now. I didn’t know about the .local/share/harbour-whisperfish file. Thanks for the work on this app.

2 Likes

Thanks for your willingness to help! I suggest you come say hello on Matrix/Freenode, because setting up the environment isn’t really easy. There’s lots of low hanging fruit in QML (Thomas Michael has been picking some) to be picked, so you’re very welcome :slight_smile:

I’ve installed alpha7 successfully. Thanks a lot !
My contacts cannot add me to a group though.
They get a message like “the person you added doesn’t accept “new groups” and must update signal”
Is there something i can do or just wait for this to be implemented ?
Thank you in advance

4 Likes

Thank you for the new release!

What is the meaning of the figures in the brackets?

2 Likes

I think that are GroupV2, which is on the todo list.

1 Like

Message IDs, for debugging purposes.

1 Like