Notices


Reply
Thread Tools
maya's Avatar
Posts: 141 | Thanked: 5 times | Joined on Dec 2009 @ Brasil
#161
Originally Posted by blubbi View Post
100% Ack.

Thanks

Maya, I already asked you to provide some details about the error codes returned, without these error codes it is impossible for me to check for success or failure. Currently www2sms just prints the result and checks if urllib exited normaly, but does not check for replies from the provider. So all www2sms can tell you is, if urllib got a valid response from the webserver.
Well it checks if the response contains an "OK" and if this is found it assumes the SMS was delivered. But this is just a bad and unclean guess.
Well, do I have two personal cell phone and sent one to the other for your application.
Believed not need the code, since the message arrived correctly.
But then here's the message that is displayed for confirmation of submission.:
Code:
Failed Provider responded: <?phpxml version="1.0" enconding="utf-8"?>
<SmsResponse>
<version>1</version>
<result>1<result>
<resultstring>sucess</resultstring>
<description></description>
<endcause></endcause>
</SmsResponse>
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#162
Originally Posted by maya View Post
Well, do I have two personal cell phone and sent one to the other for your application.
Believed not need the code, since the message arrived correctly.
But then here's the message that is displayed for confirmation of submission.:
Code:
Failed Provider responded: <?phpxml version="1.0" enconding="utf-8"?>
<SmsResponse>
<version>1</version>
<result>1<result>
<resultstring>sucess</resultstring>
<description></description>
<endcause></endcause>
</SmsResponse>
Sweet, here we have the first "Success" Code.
Now I can check for successfully delivered messages and with this your message will be stored in the default conversation app.

You can try it by changing "re_suc = re.compile('OK')" to
re_suc = re.compile('sucess') in www2sms_providers.py

Cheers
Bjoern
 
maya's Avatar
Posts: 141 | Thanked: 5 times | Joined on Dec 2009 @ Brasil
#163
Originally Posted by blubbi View Post
Sweet, here we have the first "Success" Code.
Now I can check for successfully delivered messages and with this your message will be stored in the default conversation app.

You can try it by changing "re_suc = re.compile('OK')" to
re_suc = re.compile('sucess') in www2sms_providers.py

Cheers
Bjoern
Okay, so it would have to be via a terminal, right?
I am not an advanced user (and not speak English lol) but if I learn all the steps, I can try to help.
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#164
I released version 1.1.1.

It just fixes the detection for successfully send SMS via Telbo and VoipBusterPro. Now the SMS are stored in the conversation app.

I need to figure out how I can timeout mechanize... this is really annoying me since I can't handle a staled mechanize instance... *grml*

Cheers
Bjoern
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#165
Anyone else, except me, experienced problems with o2online.de since today?

Cheers
Bjoern
 
Maerkus's Avatar
Posts: 24 | Thanked: 1 time | Joined on Sep 2009 @ Germany
#166
Originally Posted by blubbi View Post
Anyone else, except me, experienced problems with o2online.de since today?

Cheers
Bjoern
You aren't the only one. Your program stops at "Following the redirect" since yesterday.
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#167
Originally Posted by Maerkus View Post
You aren't the only one. Your program stops at "Following the redirect" since yesterday.
I am investigating but due to a lack of spare time it could take some more days

In my eyes the website O2 has coded is the worst I have ever seen. To use all feature under Linux, I have to use three browser, Opera, Firefox and Chromium... some features do not work here some not there. _I_ hate the website.

The link from MyO2 to the sms-Center does not work in Opera, it asks me to login again and again and again and again.... Sucks!

A direct link to the SMS-Center would be nice... would speed up the scraping tremendous.

Cheers
Bjoern
 
Posts: 35 | Thanked: 3 times | Joined on Jan 2010 @ Germany - Northern Bavaria
#168
O2-Germany. The same problem since some days.
Will press my tumbs (?!) to solve the problem :-)
thanxs in advance!!!
GREETINGS
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#169
Hmm, strange: web2sms works.
 
NightShift79's Avatar
Posts: 417 | Thanked: 200 times | Joined on Apr 2010 @ Germany
#170
Yes, www2sms seem not to work anymore in the latest version.
At least not with O2 germany.
As for me, it also stops at 54% of following the redirect.

Any hint ?

//EDIT:
Tried to reinstall version 1.1.0. cos that version worked good.
But seems old versions got wiped out from the repo...

//EDIT:
Just sent an sms directly from the O2.de website.
That worked out good...
Hope someone finds out why sms2www doesn't work with it anymore...

Last edited by NightShift79; 2010-09-04 at 15:39.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:06.