You are not logged in.

1

Wednesday, February 1st 2006, 10:42am

[kopete] sending sms via smssend

I used to send sms via smssend. It worked well, but no I only get an error message (containing no information). I am using kopete 0.12 and smssend 3.4, the sms-provider is gmxde. I don't have any idea wether tihs is a problem with kopete, smssend or the gmxde.sms-script.
Perhaps anyone here is sending sms the same way? Any help would be great.
I attached the console output, maybe it helps (I replaced some private information).

QDateTime::fromString: Parameter out of range
kopete (sms): WARNING: [static SMSService* ServiceLoader::loadService(const QString&, Kopete::Account*)]
kopete (sms): WARNING: [SMSSend::SMSSend(Kopete::Account*)] this = 0x84da080
QFont::setPointSize: Point size <= 0 (-1)
QObject::connect: No such signal Kopete::ChatSession::typing(bool)
QObject::connect: (sender name: 'editPart')
QObject::connect: (receiver name: 'unnamed')
libkopete: WARNING: Failed to cast view to QObject *
kopete (sms): WARNING: [virtual void SMSAccount::slotSendMessage(Kopete::Message&)] this = 0x84dd188
kopete (sms): WARNING: [virtual int SMSSend::maxSize()] m_account = 0x84dd188 (should be non-zero!!)
kopete (sms): WARNING: [SMSSendProvider::SMSSendProvider(const QString&, const QString&, Kopete::Account*, QObject*, const char*)] this = 0x820aac0, m_account = 0x84dd188 (should be ok if zero!!)
kopete (sms): WARNING: [virtual int SMSSend::maxSize()] m_account = 0x84dd188 (should be non-zero!!)
kopete (sms): WARNING: [virtual SMSSendProvider::~SMSSendProvider()] this = 0x820aac0
kopete (sms): WARNING: [SMSSendProvider::SMSSendProvider(const QString&, const QString&, Kopete::Account*, QObject*, const char*)] this = 0x820aac0, m_account = 0x84dd188 (should be ok if zero!!)
kopete (sms): WARNING: [virtual void SMSSend::send(const Kopete::Message&)] m_account = 0x84dd188 (should be non-zero!!)
kopete (sms): WARNING: [SMSSendProvider::SMSSendProvider(const QString&, const QString&, Kopete::Account*, QObject*, const char*)] this = 0x8542d20, m_account = 0x84dd188 (should be ok if zero!!)
kopete (sms): WARNING: Executing /usr/local//bin/smssend "gmxde" gmx_customer_number" "gmx_smsmanager_code" "my_number" "recipient_number" "Blablabla"
kopete (sms): WARNING: [void SMSSendProvider::slotSendFinished(KProcess*)] this = 0x8542d20, es = 127, p = 0x8647448 (should be non-zero!!)

2

Wednesday, February 1st 2006, 11:00am

Well, I tried sending a sms via smssend NOT using kopete (i.e. using console).
I issued the following command:
smssend gmxde gmx_customer_number gmx_smsmanager_code my_number recipient_number "test"

Which resulted in the following error message:
SkyUtils_SU_ExecuteActions Error : Cannot connect to the host

Issueing the command
"smssend -update" or "smssend gmxde -update"
results in
"Trying to update SmsSend...
You already have the latest version of SmsSend"
and
"Trying to update gmxde script...
You already have the latest version of /usr/local/share/smssend/gmxde.sms"

So I guess that smssend is working correctly, but the script for gmxde is not? I do not have another account for sending sms, so perhaps anyone else has smssend (via kopete) working with any provider other than gmxde?

3

Wednesday, February 1st 2006, 12:19pm

Well I did some more research and it seems as if the problem is within the gmxde-script for smssend and not a problem with kopete.

For anyone who is interested:
I contacted the author of the script, so perhaps there will be an updated version (soon?).

4

Saturday, March 4th 2006, 2:16pm

Well, the author of the script replied several weeks ago, telling me he would try to figure out what has to be changed. Nothing happened since then.
So I started working on it myself, and I managed to send SMS via gmx again. So, it really was not a problem with kopete but with the script.
Anyone who is interested may ask for the new script, use ingmarweiss gmx.de
If it works correctly, I will send it to the maintainer of smssend.

But there is one problem:
Kopete crashes on exit, if I have an sms-account configured. Doesn't matter if the account is set to "online" or "offline", kopete crashes every time. I submitted a report on the kopete-devel mailing list.
But perhaps someone around here has an idea what could be changed?

mattr

Trainee

Posts: 105

Location: US

Occupation: Software Engineer

  • Send private message

5

Tuesday, March 7th 2006, 5:42pm

this is the report where the backtrace crashes in the Yahoo account right?
--Matt

6

Tuesday, March 7th 2006, 6:09pm

No, this is not. This was the error message I got some time ago, because smssend could not deliver the SMS to gmx.de
I submitted a bug report on bugs.kde.org, containing the report: http://bugs.kde.org/show_bug.cgi?id=123074
Well, just have a look at the crash report, I am no expert.