simonb.com: blog > articles from Thursday, 11 May 2006

skip to content
You are here: 

On Thursday, 11 May 2006 we wrote…

Thursday, 11 May 2006

Thursday, 11 May 2006

Django technical_500_response error

I recently switched from the Django magic-removal branch to the trunk post-magic-removal. I was getting this bizarre error:

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

File "/sw/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)

File "/Users/simonb/src/dj/trunk/django/core/handlers/modpython.py", line 157, in handler
return ModPythonHandler()(req)

File "/Users/simonb/src/dj/trunk/django/core/handlers/modpython.py", line 129, in __call__
response = self.get_response(req.uri, request)

File "/Users/simonb/src/dj/magic-removal/django/core/handlers/base.py", line 100, in get_response

File "/Users/simonb/src/dj/magic-removal/django/core/handlers/base.py", line 133, in get_technical_error_response

File "/Users/simonb/src/dj/trunk/django/views/debug.py", line 115, in technical_500_response
c = Context({
IndexError: list index out of range

Well, it took me a while to figure out. Notice that the directory name used for the Django distribution…

read more

Tags: 

 

Thursday, 11 May 2006

Google Trends China

google trends
Google has a new function that lets you compare search and news results for keywords. Above is an image for the trends for Shanghai, Beijing and Hong Kong. It is interesting to note the following:

  • Search Volume: Beijing has the lowest search volume, Shanghai is double Beijing’s and Hong Kong is more than double Shanghai’s
  • News volume: Shanghai has the lowest news volume, Beijing and Hong Kong are approximately equal at double Shanghai’s volume

It’s interesting the Beijing and Hong Kong generate about the same amount of news. One would expect Beijing, as the capital, to…

read more

Tags: 

   

Thursday, 11 May 2006

Spore Demo Video E3 2006

Will Wright gave a demo of Spore at E3 2006. Here’s a direct link to the video (200M mov). Also YouTube has a short demo piece here.

I last blogged about Spore a year ago.

It is inspiring.

Official Spore Page

Another Spore site

read more

Tags: