MOD_PYTHON ERROR

ProcessId:      8772
Interpreter:    'wingolog.org'

ServerName:     'wingolog.org'
DocumentRoot:   '/var/www/wingolog.org'

URI:            '/photos/index.py/tags/estaci\xc3\xb3+de+fran\xc3\xa7a'
Location:       None
Directory:      '/var/www/wingolog.org/photos/'
Filename:       '/var/www/wingolog.org/photos/index.py'
PathInfo:       '/tags/estaci\xc3\xb3+de+fran\xc3\xa7a'

Phase:          'PythonHandler'
Handler:        'index'

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/var/www/wingolog.org/photos/index.py", line 605, in handler
    out = show_tag(tag)

  File "/var/www/wingolog.org/photos/index.py", line 426, in show_tag
    display_thumbs_for_tag(tag),

  File "/var/www/wingolog.org/photos/index.py", line 223, in display_thumbs_for_tag
    cur.execute(sql, (tag,))

ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.


MODULE CACHE DETAILS

Accessed:       Thu May 24 02:09:09 2012
Generation:     2

_mp_8ab3bf4d693018cc78d6a24be56c97eb {
  FileName:     '/var/www/wingolog.org/photos/EXIF.py'
  Instance:     1
  Generation:   1
  Modified:     Mon Jul 18 19:49:41 2005
  Imported:     Sun May 20 06:26:43 2012
}

_mp_3e17c08d9175f11e5b7812198727afb7 {
  FileName:     '/var/www/wingolog.org/photos/index.py'
  Instance:     1
  Generation:   2
  Modified:     Sat Dec 22 15:23:20 2007
  Imported:     Sun May 20 06:26:43 2012
  Children:     '/var/www/wingolog.org/photos/EXIF.py'
}