Op Vr, 2009-11-27 om 15:10 +0800 skryf Bernard Chan:
>
> Hello,
>
> One thing to add to my previous response to another helpful person
> out
> there, as the HTTP request did not return at all, I pressed Ctrl-C on
> the terminal and got this backtrace:
>
> Traceback (most recent call last):
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/servers/basehttp.py",
>
> line 279, in run
> self.result = application(self.environ, self.start_response)
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/servers/basehttp.py",
>
> line 651, in __call__
> return self.application(environ, start_response)
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/handlers/wsgi.py",
>
> line 245, in __call__
> response = middleware_method(request, response)
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/sessions/middleware.py",
>
> line 36, in process_response
> request.session.save()
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/sessions/backends/db.py",
>
> line 51, in save
> obj = Session(
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/sessions/backends/base.py",
>
> line 152, in _get_session_key
> self._session_key = self._get_new_session_key()
> File
> "/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/contrib/sessions/backends/base.py",
>
> line 141, in _get_new_session_key
> session_key = md5_constructor("%s%s%s%s"
> File "/usr/lib/python2.4/random.py", line 189, in randrange
> return int(istart + self._randbelow(width))
> File "/usr/lib/python2.4/random.py", line 238, in _randbelow
> r = getrandbits(k)
> File "/usr/lib/python2.4/random.py", line 769, in getrandbits
> return x >> (bytes * 8 - k) # trim excess bits
> KeyboardInterrupt
>
> Does that seem to shed some light?
This is strange. Is the CPU 100% busy all the time? Did you make any
changes to the default localsettings.py file?
One small possibility: did you perhaps configure the use of memcached in
localsettings.py? Is your memcached server running and accessible at
the configured address? If you did enable the use of memcached, perhaps
you can try to just use the standard setup first.
Otherwise, what is your exact version of Python 2.4?
Friedel
--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/interview-sourceforge-community-blog
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle