Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mod_python error: "PythonHandler mod_python.publisher"
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/dist-packages/mod_python/apache.py", line 398, in HandlerDispatch
- result = obj(req)
- File "/usr/local/lib/python2.7/dist-packages/mod_python/publisher.py", line 213, in handler
- module = page_cache[req]
- File "/usr/local/lib/python2.7/dist-packages/mod_python/cache.py", line 89, in __getitem__
- return self._checkitem(name)[2]
- File "/usr/local/lib/python2.7/dist-packages/mod_python/cache.py", line 131, in _checkitem
- value = self.build(key, name, opened, entry)
- File "/usr/local/lib/python2.7/dist-packages/mod_python/publisher.py", line 86, in build
- return ModuleCache.build(self, key, req, opened, entry)
- File "/usr/local/lib/python2.7/dist-packages/mod_python/cache.py", line 380, in build
- exec(opened_as_str, module.__dict__)
- File "<string>", line 7, in <module>
- File "/var/www/reshuege/module/mysql_session.py", line 41, in <module>
- tempdir = tempfile.gettempdir()
- File "/usr/lib/python2.7/tempfile.py", line 261, in gettempdir
- tempdir = _get_default_tempdir()
- File "/usr/lib/python2.7/tempfile.py", line 208, in _get_default_tempdir
- ("No usable temporary directory found in %s" % dirlist))
- IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Advertisement
Add Comment
Please, Sign In to add comment