Active Topics

 



Notices


Reply
Thread Tools
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#301
Attached as Zip
Attached Files
File Type: zip 160by2-log.zip (9.0 KB, 99 views)
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!
 
Posts: 21 | Thanked: 1 time | Joined on Dec 2011 @ India
#302
I'm a total amateur at coding...but never too late...installed python 2.7 on my pc...now how do I go about getting "mechanize"?
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#303
Originally Posted by aadityak View Post
I'm a total amateur at coding...but never too late...installed python 2.7 on my pc...now how do I go about getting "mechanize"?
Install ActivePython ans use the build in package manager or ask Google how to install python modules on Windows. I have no clue how to do it properly on Windows but with ActivePython and the build in package manager it is really easy!

Cheers,
Bjoern
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#304
Originally Posted by ejasmudar View Post
Attached as Zip
Looks exactly like mine log when I try to send a Message.
So there seems to be a problem in the sending mechanism.

Ejas, I still have your login information and I was able to send a SMS via the webinterface (at least it told me success).
Maybe I can make it work now.

Did you get the message I sent to the number used for the login?
Or maybe you can give me a number where I can send test SMS and you can send me a feedback if it was delivered

Cheers,
Bjoern
 

The Following User Says Thank You to blubbi For This Useful Post:
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#305
Yes, the message was successfully received :-)
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!
 
Posts: 28 | Thanked: 1 time | Joined on Mar 2012
#306
Is there a list of supported service providers/operators?

if so can it be displayed on the first post (so we don't read the whole 31 - at the moment - pages just to find out that our provider is not supported) ?
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#307
Okay, here we go.
The latest code should work.

Can someone verify this by executing the code from Gitorius?
https://gitorious.org/web2sms/plugin...0by2/160by2.py

Is someone volunteering to port this code back to web2sms (integrate it into www2sms_providers.py)

Ejas, did you receive a couple of SMS containing the following text:
"This is a test message for 160by2. Euro: € Umlaut: ö"

The € and ö are most probably garbled.

Cheers,
Bjoern
 

The Following User Says Thank You to blubbi For This Useful Post:
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#308
Originally Posted by a_petrov303 View Post
Is there a list of supported service providers/operators?

if so can it be displayed on the first post (so we don't read the whole 31 - at the moment - pages just to find out that our provider is not supported) ?
http://olausson.de/downloads/viewcategory/2-www2sms

Or have a look at:
https://gitorious.org/www2sms/www2sm...s_providers.py

Cheers,
Bjoern
 

The Following User Says Thank You to blubbi For This Useful Post:
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#309
Originally Posted by blubbi View Post
Okay, here we go.
The latest code should work.

Can someone verify this by executing the code from Gitorius?
https://gitorious.org/web2sms/plugin...0by2/160by2.py
Ok checked and it works. Initially it gave me an error:
Code:
{'STATUS': {'MESSAGE': '[Errno 11004] getaddrinfo failed', 'TYPE': 'Error'}, 'BA
LANCE': None}
On running again, I got this error:
Code:
{'STATUS': {'MESSAGE': '160by2 responded: Invalid Mobile number.', 'TYPE': 'Erro
r'}, 'BALANCE': None}
I then changed the number in the cfg file to my number and it worked!

Code:
{'STATUS': {'MESSAGE': '160by2 responded: Your message has been Sent !!!', 'TYPE
': 'Success'}, 'BALANCE': None}
BTW, Euro comes as @ and umalaut as v.


Is someone volunteering to port this code back to web2sms (integrate it into www2sms_providers.py)
I have never undertaken such a project before but am willing to try. May take some time due to my inexperience.

Ejas, did you receive a couple of SMS containing the following text:
"This is a test message for 160by2. Euro: € Umlaut: ö"

The € and ö are most probably garbled.
No, I did not receive this message from you. I only got the one with "(I realize I still have your login information)". Nothing else after that.
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!
 
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#310
Okay, then 160by2 accepts the SMS from my code but does not deliver it (maybe because I am sending it from Germany - But why did it work over the website?!?).
At least I do get a success message with my code

When you changed the number, did the SMS also arrive on your cellphone?

I modified the www2sms_providers.py already.
Please test it before I push a global update.
https://gitorious.org/www2sms/www2sm...s_providers.py

Just place it in "/home/user/MyDocs/www2sms/" as www2sms_providers_web.py (if there is already such a file, back it up and replace it with www2sms_providers.py)

The name MUST be www2sms_providers_web.py.

If everything worked, the plug-in version should increase from 1.2.5 to 1.2.6 (Lower right in www2sms).

Cheers,
Bjoern

Last edited by blubbi; 2012-03-27 at 16:02.
 

The Following User Says Thank You to blubbi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:22.