Opened 19 years ago
Closed 19 years ago
#1775 closed defect (fixed)
Admin page error
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
-- Django version 0.95 on WinXP
Traceback (most recent call last):
File "C:\Python23\lib\site-packages\django\core\servers\basehttp.py", line 272, in run
self.result = application(self.environ, self.start_response)
File "C:\Python23\lib\site-packages\django\core\servers\basehttp.py", line 615, in call
return self.application(environ, start_response)
File "C:\Python23\lib\site-packages\django\core\handlers\wsgi.py", line 145, in call
response = self.get_response(request.path, request)
File "C:\Python23\lib\site-packages\django\core\handlers\base.py", line 100, in get_response
return self.get_technical_error_response(request)
File "C:\Python23\lib\site-packages\django\core\handlers\base.py", line 133, in get_technical_error_response
return debug.technical_500_response(request, *sys.exc_info())
File "C:\Python23\lib\site-packages\django\views\debug.py", line 103, in technical_500_response
frames.append({
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Change History (3)
comment:1 by , 19 years ago
priority: | high → normal |
---|
comment:2 by , 19 years ago
just download django on WinXP
Im trying to go through tutorial
on tutorial2 when you trying to open http://localhost:8000/admin
I got this error
in the file
File "C:\Python23\lib\site-packages\django\views\debug.py", line 99
variable "pre_context_lineno" becomes None
and this code just fails
'pre_context_lineno': pre_context_lineno + 1,
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was fixed a couple of days ago.
Without more information about what you were trying to do, what your model setup is, what your settings are, etc., it's impossible to tell if this is a configuration error or an actual bug. Your best bet is to post details to the Django users mailing list (http://groups.google.com/group/django-users/) or in the Django IRC channel (#django on irc.freenode.net) and ask for help tracing the source of the problem.