-
Notifications
You must be signed in to change notification settings - Fork 38
Description
When am trying to send a message from rapidsms using the rapidsms-httprouter console I get the following Error ,I have also attached the full traceback.
Environment:
Request Method: POST
Request URL: http://127.0.0.1/router/console
Django Version: 1.3
Python Version: 2.7.3
Installed Applications:
['django.contrib.sites',
'rapidsms_httprouter',
'django_nose',
'djtables',
'rapidsms',
'eav',
'alerts',
'zregistration',
'profile',
'zpolls',
'poll',
'simple_locations',
'rapidsms.contrib.handlers',
'djcelery',
'django.contrib.auth',
'django.contrib.admin',
'django.contrib.sessions',
'django.contrib.contenttypes',
'django.contrib.staticfiles',
'rapidsms.contrib.default',
'rapidsms.contrib.export',
'rapidsms.contrib.locations',
'rapidsms.contrib.messaging',
'rapidsms.contrib.registration',
'rapidsms.contrib.scheduler',
'rapidsms.contrib.echo']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/home/emmanuel/unicef/test/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
-
File "/home/emmanuel/unicef/test/local/lib/python2.7/site-packages/django/contrib/admin/views/decorators.py" in _checklogin
response = callback(request, _callback_args, *_callback_kwargs) -
File "/home/emmanuel/unicef/test/local/lib/python2.7/site-packages/rapidsms_httprouter-0.3.0-py2.7.egg/rapidsms_httprouter/views.py" in console
return view_func(request, _args, *_kwargs) -
reply_form.errors['recipient'].append("This number isn't in the system")
Exception Type: KeyError at /router/console
Exception Value: 'recipient'