SMS not sent

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



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@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.

 

 

Hi,


We have fixed this. Please update.

Thanks,
Anand.

On Tue, Dec 25, 2012 at 6:19 PM, Gowrav <go...@gmail.com> wrote:

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



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@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.

 

 




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.