[Bug 459507] [NEW] Can not log in as superuser in newly created project
Dylan McCall
DylanMcCall at Gmail.com
Sat Oct 24 01:25:35 UTC 2009
Public bug reported:
Binary package hint: python-django
The following steps should reproduce this bug...
Create a Django project, following the Django tutorial, to the point that you have created a superuser via the syncdb command. Run the test server and navigate to http://127.0.0.1:8000/admin.
Logging in with the superuser that was created earlier consistently fails with "incorrect username or password." Trying to create a second superuser confirms that the first one does exist (since one of the same name can't be created). Logging in through a new superuser still fails.
Usually I do not experience any errors, but from time to time it
generates an error message which may be a reasonable hint of what is
going on here...
% python manage.py testserver
Creating test database...
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table pages_page
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Validating models...
0 errors found
Django version 1.1.1, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[23/Oct/2009 20:12:53] "GET /admin/ HTTP/1.1" 200 1676
[23/Oct/2009 20:12:55] "POST /admin/ HTTP/1.1" 200 1790
[23/Oct/2009 20:13:01] "POST /admin/ HTTP/1.1" 200 1790
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 280, in run
self.finish_response()
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 320, in finish_response
self.write(data)
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 399, in write
self.send_headers()
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 463, in send_headers
self.send_preamble()
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 381, in send_preamble
'Date: %s\r\n' % http_date()
File "/usr/lib/python2.6/socket.py", line 300, in write
self.flush()
File "/usr/lib/python2.6/socket.py", line 286, in flush
self._sock.sendall(buffer)
error: [Errno 32] Broken pipe
[23/Oct/2009 20:13:09] "POST /admin/ HTTP/1.1" 200 1790
^C
Server stopped.
Note that the test database, ':memory:', has not been deleted. You can explore it on your own.
ProblemType: Bug
Architecture: i386
Date: Fri Oct 23 18:19:54 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: python-django 1.1.1-1ubuntu1
PackageArchitecture: all
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: python-django
Uname: Linux 2.6.31-14-generic i686
** Affects: python-django (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
Can not log in as superuser in newly created project
https://bugs.launchpad.net/bugs/459507
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list