What you can do is copy the project files over to your local computer, 
install a copy of Django 0.97 on it and run it off there.

If it works, then you can be sure that it's the Django install in your 
environment that has problems. Else, it's your project files that is 
causing problems.

 From your error log, something is wrong with your password 
authentication. I think more experienced folks here may help better.

Kelvin Quee
+65 9177 3635

http://kquee.com/contact



dbee wrote:
> Been using django for sometime - never had any serious issues with it
> as a framework. Now, all of a sudden it won't allow me to login.
>
> I'm beginning to wonder if perhaps someone hasn't hacked the server
> and done some messing about with the backend ....
>
> Environment:
>
> Request Method: POST
> Request URL: http://tait.com/xlogin/
> Django Version: 0.97-pre-SVN-unknown
> Python Version: 2.3.4
> Installed Applications:
> ['django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.sessions',
>  'django.contrib.sites',
>  'django.contrib.admin'
> ]
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.middleware.doc.XViewMiddleware',
>  'django.middleware.transaction.TransactionMiddleware')
>
>
> Traceback:
> File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py"
> in get_response
>   82.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "/home/babo/django/tait/tait1/views.py" in xlogin
>   894.         user = authenticate(username=request.POST['username'],
> password=request.POST['password'])
> File "/usr/lib/python2.3/site-packages/django/contrib/auth/
> __init__.py" in authenticate
>   36.             user = backend.authenticate(**credentials)
> File "/usr/lib/python2.3/site-packages/django/contrib/auth/
> backends.py" in authenticate
>   18.             if user.check_password(password):
> File "/usr/lib/python2.3/site-packages/django/contrib/auth/models.py"
> in check_password
>   204.             return check_password(raw_password, self.password)
> File "/usr/lib/python2.3/site-packages/django/contrib/auth/models.py"
> in check_password
>   54.     algo, salt, hsh = enc_password.split('$')
>
> Exception Type: ValueError at /xlogin/
> Exception Value: unpack list of wrong size
>
> I run 4 django apps, none of them will login properly. It must be the
> backend that's gone wrong. If this happened to your system, what would
> you suspect ?
>
> Also, how do i fix it ? I took a django version from trunk (.97) and i
> never got the official version number. Seems now that this info is
> gone and I won't be able to recover. Can anyone give me a 'heads-up'
> here ?
>
> Thanks,
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to