[mod_python] ImportError: No module named _mp_6a56a751b58d143e34982c81384539ef

Buck Golemon workitharder at gmail.com
Mon Jul 14 12:20:59 EDT 2008


I'm completely dumbfounded by this error. I'm sure you guys have seen it
before. I looked at the documentation and mailing list and didn't find
anything useful. Here's the full error:

MOD_PYTHON ERROR

ProcessId:      12137
Interpreter:    '127.0.1.1'

ServerName:     '127.0.1.1'
DocumentRoot:   '/var/www/'

URI:            '/modpython/xmlrpc.py'
Location:       None
Directory:      '/home/golemon/software/mod_python/'
Filename:       '/home/golemon/software/mod_python/xmlrpc.py'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'xmlrpc'

Traceback (most recent call last):

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

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

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

  File "/home/golemon/software/mod_python/xmlrpc.py", line 38, in handler
    session = Session.Session(req)

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

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

  File "/usr/lib/python2.5/site-packages/mod_python/Session.py", line
180, in __init__
    if self.load():

  File "/usr/lib/python2.5/site-packages/mod_python/Session.py", line
250, in load
    dict = self.do_load()

  File "/usr/lib/python2.5/site-packages/mod_python/Session.py", line
396, in do_load
    return cPickle.loads(dbm[self._sid])

ImportError: No module named _mp_6a56a751b58d143e34982c81384539ef


MODULE CACHE DETAILS

Accessed:       Mon Jul 14 09:09:22 2008
Generation:     0

_mp_a096311fc03d37d9ee4e366174222b70 {
  FileName:
'/home/golemon/software/mod_python/ApacheXMLRPCRequestHandler.py'
  Instance:     1 [IMPORT]
  Generation:   1
  Modified:     Sat Jul 12 18:23:08 2008
  Imported:     Mon Jul 14 09:09:22 2008
}

_mp_6a56a751b58d143e34982c81384539ef {
  FileName:     '/home/golemon/software/mod_python/xmlrpc.py'
  Instance:     1 [IMPORT]
  Generation:   2
  Modified:     Mon Jul 14 08:48:26 2008
  Imported:     Mon Jul 14 09:09:22 2008
  Children:
'/home/golemon/software/mod_python/ApacheXMLRPCRequestHandler.py'
}


Here's my apache config. The last two lines are my lame attempt to fix the
problem, not anything that's necessary.

Alias /modpython /home/golemon/software/mod_python/

<Directory /home/golemon/software/mod_python/>
      AddHandler mod_python .py
      PythonHandler xmlrpc
      PythonDebug On
      PythonOption mod_python.session.application_path "."
      PythonPath "sys.path+['/home/golemon/software/modpython']"
</Directory>


-- 
Buck Golemon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080714/be868937/attachment.html


More information about the Mod_python mailing list