ExtractionError
Python 2.4.3: /usr/bin/python2.4
Wed Jul 27 15:41:53 2016

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/welvicor/public_html/staging/data/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.CGIRequest object>)
 /home/welvicor/public_html/staging/data/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_fork.WSGIServer object>, req=<flup.server.fcgi_base.CGIRequest object>)
 /home/welvicor/public_html/staging/data/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler instance>, environ={'DJANGO_SETTINGS_MODULE': 'welsite.settings', 'DOCUMENT_ROOT': '/home/welvicor/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'www.welvic.org.au', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': '/', ...}, start_response=<function start_response>)
 /home/welvicor/public_html/staging/data/django/core/db/__init__.py
 /home/welvicor/public_html/staging/data/django/core/db/backends/mysql.py
 /home/welvicor/public_html/build/bdist.linux-x86_64/egg/MySQLdb/__init__.py
 /home/welvicor/public_html/build/bdist.linux-x86_64/egg/_mysql.py
 /home/welvicor/public_html/build/bdist.linux-x86_64/egg/_mysql.py in __bootstrap__()
 /usr/lib/python2.4/site-packages/pkg_resources.py in resource_filename(self=<pkg_resources.ResourceManager instance>, package_or_requirement='_mysql', resource_name='_mysql.so')
  838     def resource_filename(self, package_or_requirement, resource_name):
  839         """Return a true filesystem path for specified resource"""
  840         return get_provider(package_or_requirement).get_resource_filename(
  841             self, resource_name
  842         )
global get_provider = <function get_provider>, package_or_requirement = '_mysql', ).get_resource_filename undefined, self = <pkg_resources.ResourceManager instance>, resource_name = '_mysql.so'
 /usr/lib/python2.4/site-packages/pkg_resources.py in get_resource_filename(self=<pkg_resources.ZipProvider instance>, manager=<pkg_resources.ResourceManager instance>, resource_name='_mysql.so')
 1309             for name in eagers:
 1310                 self._extract_resource(manager, self._eager_to_zip(name))
 1311         return self._extract_resource(manager, zip_path)
 1312 
 1313     def _extract_resource(self, manager, zip_path):
self = <pkg_resources.ZipProvider instance>, self._extract_resource = <bound method ZipProvider._extract_resource of <pkg_resources.ZipProvider instance>>, manager = <pkg_resources.ResourceManager instance>, zip_path = '_mysql.so'
 /usr/lib/python2.4/site-packages/pkg_resources.py in _extract_resource(self=<pkg_resources.ZipProvider instance>, manager=<pkg_resources.ResourceManager instance>, zip_path='_mysql.so')
 1329 
 1330         try:
 1331             real_path = manager.get_cache_path(
 1332                 self.egg_name, self._parts(zip_path)
 1333             )
real_path undefined, manager = <pkg_resources.ResourceManager instance>, manager.get_cache_path = <bound method ResourceManager.get_cache_path of <pkg_resources.ResourceManager instance>>, self = <pkg_resources.ZipProvider instance>, self.egg_name = 'MySQL_python-1.2.3-py2.4-linux-x86_64.egg', self._parts = <bound method ZipProvider._parts of <pkg_resources.ZipProvider instance>>, zip_path = '_mysql.so'
 /usr/lib/python2.4/site-packages/pkg_resources.py in get_cache_path(self=<pkg_resources.ResourceManager instance>, archive_name='MySQL_python-1.2.3-py2.4-linux-x86_64.egg', names=['_mysql.so'])
  919             ensure_directory(target_path)
  920         except:
  921             self.extraction_error()
  922 
  923         self.cached_files[target_path] = 1
self = <pkg_resources.ResourceManager instance>, self.extraction_error = <bound method ResourceManager.extraction_error of <pkg_resources.ResourceManager instance>>
 /usr/lib/python2.4/site-packages/pkg_resources.py in extraction_error(self=<pkg_resources.ResourceManager instance>)
  885         err.cache_path     = cache_path
  886         err.original_error = old_exc
  887         raise err
  888 
  889 
err = <pkg_resources.ExtractionError instance>

ExtractionError: Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: [Errno 13] Permission denied: '/home/welvicor/.python-eggs/MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp' The Python egg cache directory is currently set to: /home/welvicor/.python-eggs Perhaps your account does not have write access to this directory? You can change the cache directory by setting the PYTHON_EGG_CACHE environment variable to point to an accessible directory.
      args = ("Can't extract file(s) to egg cache\n\nThe followin...nt\nvariable to point to an accessible directory.\n",)
      cache_path = '/home/welvicor/.python-eggs'
      manager = <pkg_resources.ResourceManager instance>
      original_error = <exceptions.OSError instance>