2006年01月15日 星期日 16:51
Traceback (most recent call last):
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\core\servers\basehttp.py",
line 272, in run
self.result = application(self.environ, self.start_response)
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\core\servers\basehttp.py",
line 615, in __call__
return self.application(environ, start_response)
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\core\handlers\wsgi.py",
line 155, in __call__
response = self.get_response(request.path, request)
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\core\handlers\base.py",
line 59, in get_response
response = middleware_method(request)
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\middleware\sessions.py",
line 63, in process_request
request.session =
SessionWrapper(request.COOKIES.get(SESSION_COOKIE_NAME, None))
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\core\handlers\wsgi.py",
line 101, in _get_cookies
self._cookies =
httpwrappers.parse_cookie(self.environ.get('HTTP_COOKIE', ''))
File "c:\program
files\python\lib\site-packages\django-0.91-py2.4.egg\django\utils\httpwrappers.py",
line 133, in parse_cookie
c.load(cookie)
File "C:\Program Files\python\lib\Cookie.py", line 621, in load
self.__ParseString(rawdata)
File "C:\Program Files\python\lib\Cookie.py", line 652, in __ParseString
self.__set(K, rval, cval)
File "C:\Program Files\python\lib\Cookie.py", line 574, in __set
M.set(key, real_value, coded_value)
File "C:\Program Files\python\lib\Cookie.py", line 453, in set
raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: /
一直都好的,按LIMODOU的前几个例子做也是好的,但今天打开前几天弄的例子,竟然出错,打开页面都是这样的这是怎么回事
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060115/0ee53691/attachment-0001.html
2006年01月16日 星期一 21:12
清空下Cookie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060116/b5a9b996/attachment.html
Zeuux © 2025
京ICP备05028076号