I'm attempting to configure AD/ldap authentication for a domain (just upgraded 
to 1.1.2), but keep receiving the following error (below) from Django debug. I 
initially applied the patches, but received the same result and decided to move 
from apt pkgs to source install [for easier/quicker updates and the ability to 
use virtualenv]. This error persisted even after my change... Any help would be 
greatly appreciated. I need to get started evaluating this product before 
considering production use...

Thanks,

>JR

IndexError at /settings/domains/1/add/authhost/

list index out of range
Request Method:

POST

Request URL:

http://grubarpr01.gruadmin.gru.com/settings/domains/1/add/authhost/

Django Version:

1.4.2

Exception Type:

IndexError

Exception Value:


list index out of range

Exception Location:

/usr/local/lib/python2.7/dist-packages/baruwa-1.1.2-py2.7.egg/baruwa/config/views.py
 in add_auth_host, line 289

Python Executable:

/usr/bin/python

Python Version:

2.7.3

Python Path:


['/usr/local/lib/python2.7/dist-packages/baruwa-1.1.2-py2.7.egg',

 '/usr/lib/pymodules/python2.7',

 '/usr/lib/python2.7',

 '/usr/lib/python2.7/plat-linux2',

 '/usr/lib/python2.7/lib-tk',

 '/usr/lib/python2.7/lib-old',

 '/usr/lib/python2.7/lib-dynload',

 '/usr/local/lib/python2.7/dist-packages',

 '/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg-info',

 '/usr/lib/python2.7/dist-packages',

 '/usr/lib/python2.7/dist-packages/PIL']

Server time:

Thu, 1 Nov 2012 21:05:23 +0200

Traceback
*         /usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py 
in get_response

111.                                  response = callback(request, 
*callback_args, **callback_kwargs)
...
*         
/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py in 
_wrapped_view

20.                 return view_func(request, *args, **kwargs)
...
*         
/usr/local/lib/python2.7/dist-packages/baruwa-1.1.2-py2.7.egg/baruwa/utils/decorators.py
 in _inner

35.         return function(request, *args, **kwargs)
...
*         
/usr/local/lib/python2.7/dist-packages/baruwa-1.1.2-py2.7.egg/baruwa/config/views.py
 in add_auth_host

289.                              'auth': AUTH_TYPES[host.protocol], 'host': 
host.address,
...

Environment:


Request Method: POST
Request URL: http://mybaruwahost/settings/domains/1/add/authhost/

Django Version: 1.4.2
Python Version: 2.7.3
Installed Applications:
('baruwa.fixups',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'baruwa.auth',
'baruwa.accounts',
'baruwa.messages',
'baruwa.lists',
'baruwa.reports',
'baruwa.status',
'baruwa.config',
'djcelery',
'south')
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in 
get_response
  111.                         response = callback(request, *callback_args, 
**callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" 
in _wrapped_view
  20.                 return view_func(request, *args, **kwargs)
File 
"/usr/local/lib/python2.7/dist-packages/baruwa-1.1.2-py2.7.egg/baruwa/utils/decorators.py"
 in _inner
  35.         return function(request, *args, **kwargs)
File 
"/usr/local/lib/python2.7/dist-packages/baruwa-1.1.2-py2.7.egg/baruwa/config/views.py"
 in add_auth_host
  289.                     'auth': AUTH_TYPES[host.protocol], 'host': 
host.address,

Exception Type: IndexError at /settings/domains/1/add/authhost/
Exception Value: list index out of range
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to