SMS not sent

25 views
Skip to first unread message

Gowrav

unread,
Dec 25, 2012, 7:49:33 AM12/25/12
to erpnext-dev...@googlegroups.com
When trying to send SMS the following error I found in console

My SMS gateway Api url is

http://enterprise.smsgupshup.com/GatewayAPI/rest?xyz=abc

so I put only
http://enterprise.smsgupshup.com/GatewayAPI/rest
in gateway api url

The Error is
------

Traceback (innermost last): File "../lib/webnotes/handler.py", line 165, in handle execute_cmd(cmd) File "../lib/webnotes/handler.py", line 198, in execute_cmd ret = call(method, webnotes.form_dict) File "../lib/webnotes/handler.py", line 217, in call return fn(**newargs) File "../lib/webnotes/handler.py", line 64, in runserverobj webnotes.widgets.form.run_method.runserverobj() File "../lib/webnotes/widgets/form/run_method.py", line 54, in runserverobj r = webnotes.model.code.run_server_obj(so, method, arg) File "../lib/webnotes/model/code.py", line 185, in run_server_obj return getattr(server_obj, method_name)() File "../app/selling/doctype/sms_center/sms_center.py", line 75, in send_sms msgprint(get_obj('SMS Control', 'SMS Control').send_sms(receiver_list, cstr(self.doc.message))) File "../app/utilities/doctype/sms_control/sms_control.py", line 98, in send_sms receiver_list = self.validate_receiver_nos(receiver_list) File "../app/utilities/doctype/sms_control/sms_control.py", line 44, in validate_receiver_nos if webnotes.conn.webnotes.conn.get_value('SMS Settings', None, 'sms_gateway_url'): AttributeError: Database instance has no attribute 'webnotes'

----------------
Any gudance

an...@iwebnotes.com

unread,
Dec 25, 2012, 8:33:34 AM12/25/12
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com
Hi,

We have fixed this. Please update.

Thanks,
Anand.
--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/ZVybCzOeAgwJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages