Monday, September 26, 2005

How not to make money

On the first visit to your site, I get this:
Mod_python error: "PythonHandler mod_python.servlet"

Traceback (most recent call last):

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

File "/usr/local/lib/python2.4/site-packages/mod_python/servlet.py", line 1464, in handler
servlet.prep()

File "/home/hosting/users/metald/web/index.mps", line 23, in prep
SitePage.prep(self)

File "/home/hosting/users/metald/lib/pages.py", line 42, in prep
HTMLPage.prep(self)

File "/usr/local/lib/python2.4/site-packages/mod_python/servlet.py", line 593, in prep
timeout=self.session_timeout)

File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 389, in Session
timeout=timeout, lock=lock)

File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 294, in __init__
timeout=timeout, lock=lock)

File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 132, in __init__
Cookie.add_cookie(self._req, self.make_cookie())

File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 160, in make_cookie
c.path = dirpath[len(docroot):]

TypeError: unsubscriptable object

Ouch...Talk about bad first impressions. This is what happened when I tried to go to Metal Direct. I guess they don't like customers.

1 comment:

Anonymous said...

I'm guessing this is why Ruby on Rails has such a strong emphasis on testing ;)