Bug 425731

Summary: Can no longer send sms
Product: [Applications] kdeconnect Reporter: Stephen Weeks <stephen.weeks>
Component: messaging-applicationAssignee: Simon Redman <simon>
Status: RESOLVED WORKSFORME    
Severity: normal CC: elum, nicolas.fella, voncloft
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephen Weeks 2020-08-24 02:55:27 UTC
SUMMARY
Can no longer send sms through cli or gui. Error returned is:
error: No such method 'sendSms' in interface 'org.kde.kdeconnect.device.sms' at object path '/modules/kdeconnect/devices/3c625e3b210e463d/sms' (signature 'ss')

STEPS TO REPRODUCE
A.
1.Right click on kdeconnect-indicator 
2. Select Send SMS, GUI Opens and shows message history from phone. 
3. Pressing new does nothing, selecting an existing conversation and replying does nothing.

B.
1. Drop to terminal and execute: kdeconnect-cli --destination ###-###-#### -n 'Galaxy Note9' --send-sms "test"

OBSERVED RESULT
Returns error: No such method 'sendSms' in interface 'org.kde.kdeconnect.device.sms' at object path '/modules/kdeconnect/devices/3c625e3b210e463d/sms' (signature 'ss')


EXPECTED RESULT
Send SMS and see it on my phone.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Manjaro 20.1 Mikah x86_64 Linux 5.4.58-1-MANJARO
KDE Plasma Version:5.19.4
KDE Frameworks Version:5.73 
Qt Version:5.15 
KDEConnect:20.08.0-1

ADDITIONAL INFORMATION
None
Comment 1 Nicolas Fella 2020-08-24 12:35:28 UTC
Will be fixed with https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/311
Comment 2 alekksander 2020-10-03 20:28:05 UTC
this one most likely is a dupe of https://bugs.kde.org/show_bug.cgi?id=425638. fix was merged 5 days ago. is it known when will it see the daylight?
Comment 3 Bug Janitor Service 2020-10-09 01:44:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/329
Comment 4 voncloft 2020-10-09 05:18:39 UTC
The merge is not working
Comment 5 voncloft 2020-10-10 20:10:39 UTC
This version works flawlessly

https://github.com/voncloft/kdeconnect-kde/tree/c17972881b68a5979f4cc9c33dc09087b0dedece
Comment 6 Stephen Weeks 2020-10-10 23:01:10 UTC
unfortunately, not for me. Basically the same error. I rolled back to an earlier version for now.
Comment 7 voncloft 2020-10-10 23:17:14 UTC
What version? <1.3 segfaults for me
Comment 8 voncloft 2020-10-10 23:20:26 UTC
(In reply to Stephen Weeks from comment #6)
> unfortunately, not for me. Basically the same error. I rolled back to an
> earlier version for now.

Did you download the zip file?
Comment 9 Stephen Weeks 2020-10-10 23:24:50 UTC
1. version 20.04.3-1 from the arch repo. Just rolled it back from /var/cache/pacman/pkg.

2. No, i did a git clone and installed it from there.
Comment 10 voncloft 2020-10-10 23:27:18 UTC
(In reply to Stephen Weeks from comment #9)
> 1. version 20.04.3-1 from the arch repo. Just rolled it back from
> /var/cache/pacman/pkg.
> 
> 2. No, i did a git clone and installed it from there.


You will need to do a wget command and unzip the zipfle

When you click on code, there is a zip file option, right click it, copy the link and do wget before it, then unzip and compile like you normally would.
Comment 11 voncloft 2020-10-10 23:28:26 UTC
(In reply to voncloft from comment #10)
> (In reply to Stephen Weeks from comment #9)
> > 1. version 20.04.3-1 from the arch repo. Just rolled it back from
> > /var/cache/pacman/pkg.
> > 
> > 2. No, i did a git clone and installed it from there.
> 
> 
> You will need to do a wget command and unzip the zipfle
> 
> When you click on code, there is a zip file option, right click it, copy the
> link and do wget before it, then unzip and compile like you normally would.

Looks like July 27th was the day it broke, if you click on commits you can go through the history of revisions I'm running on the july 25th version I believe....don't know the commit
Comment 12 Stephen Weeks 2020-10-11 00:00:44 UTC
yea, i'm thinking now, all i did was get clone the main branch and not the fork because I was following the build directions which just circled backed to the main branch. 

Anyway, I'm not seeing what you describe from the posted link. I don't do a lot of install from source and now there are several sites with different formats. I don't see the zip file option, just a 'Go to file' button that takes me to the source files.

Thanks for the help BTW.
Comment 13 voncloft 2020-10-11 00:08:56 UTC
(In reply to Stephen Weeks from comment #12)
> yea, i'm thinking now, all i did was get clone the main branch and not the
> fork because I was following the build directions which just circled backed
> to the main branch. 
> 
> Anyway, I'm not seeing what you describe from the posted link. I don't do a
> lot of install from source and now there are several sites with different
> formats. I don't see the zip file option, just a 'Go to file' button that
> takes me to the source files.
> 
> Thanks for the help BTW.

https://imgur.com/a/S5PABN8

Glad to help.
Comment 14 voncloft 2020-10-11 00:10:31 UTC
(In reply to voncloft from comment #13)
> (In reply to Stephen Weeks from comment #12)
> > yea, i'm thinking now, all i did was get clone the main branch and not the
> > fork because I was following the build directions which just circled backed
> > to the main branch. 
> > 
> > Anyway, I'm not seeing what you describe from the posted link. I don't do a
> > lot of install from source and now there are several sites with different
> > formats. I don't see the zip file option, just a 'Go to file' button that
> > takes me to the source files.
> > 
> > Thanks for the help BTW.
> 
> https://imgur.com/a/S5PABN8
> 
> Glad to help.

Also here is a link from a repository I self maintain I saved the zip file there as well:

https://github.com/voncloft/Voncloft-OS/raw/master/KDE/ea29574c938f74484708aa609e5478c3faf6e089.zip
Comment 15 Stephen Weeks 2020-10-11 00:13:33 UTC
OMG. Yea, I have seen that before. I am using awesome WM now and had a split screen going which was covering up the other buttons. Feel like such a fool. lol.

Thanks again. will post how it goes.
Comment 16 voncloft 2020-10-11 00:14:46 UTC
(In reply to Stephen Weeks from comment #15)
> OMG. Yea, I have seen that before. I am using awesome WM now and had a split
> screen going which was covering up the other buttons. Feel like such a fool.
> lol.
> 
> Thanks again. will post how it goes.

No worries happens to all of us.
Comment 17 Stephen Weeks 2020-10-11 03:14:40 UTC
Thanks voncloft, your version works perfectly.
Comment 18 voncloft 2020-10-11 03:32:45 UTC
(In reply to Stephen Weeks from comment #17)
> Thanks voncloft, your version works perfectly.

Glad I could help, however I had nothing to do with that release lol. I just did trial and error to see which version would work.

I had about 20 versions unzipped and recompiled until I found the right one.
Comment 19 Stephen Weeks 2020-10-11 03:37:36 UTC
oh ok, well thanks for all the trial error work and passing along.
Comment 20 voncloft 2020-10-11 03:38:35 UTC
(In reply to Stephen Weeks from comment #19)
> oh ok, well thanks for all the trial error work and passing along.



No problem
Comment 21 Simon Redman 2023-11-10 14:55:23 UTC
If this is still happening to you, please reopen the bug with the latest information (OS version, KDE Connect version, Android version, etc.). `sendSms` is the correct name (as of today) of the dbus method.