-->
--> -->
<class 'pkg_resources.ExtractionError'> | Python 2.6.1: /usr/local/bin/python Tue Jan 6 13:43:52 2009 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py in resource_filename(self=<pkg_resources.ResourceManager instance at 0x87d232c>, package_or_requirement='_mysql', resource_name='_mysql.so') |
839 """Return a true filesystem path for specified resource"""
|
840 return get_provider(package_or_requirement).get_resource_filename(
|
841 self, resource_name
|
842 )
|
843
|
| self = <pkg_resources.ResourceManager instance at 0x87d232c>, resource_name = '_mysql.so' |
| /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py in get_resource_filename(self=<pkg_resources.ZipProvider instance at 0x868824c>, manager=<pkg_resources.ResourceManager instance at 0x87d232c>, resource_name='_mysql.so') |
1308 if '/'.join(self._parts(zip_path)) in eagers:
|
1309 for name in eagers:
|
1310 self._extract_resource(manager, self._eager_to_zip(name))
|
1311 return self._extract_resource(manager, zip_path)
|
1312
|
| self = <pkg_resources.ZipProvider instance at 0x868824c>, self._extract_resource = <bound method ZipProvider._extract_resource of <pkg_resources.ZipProvider instance at 0x868824c>>, manager = <pkg_resources.ResourceManager instance at 0x87d232c>, self._eager_to_zip = <bound method ZipProvider._eager_to_zip of <pkg_resources.ZipProvider instance at 0x868824c>>, name = '_mysql.so' |
| /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py in _extract_resource(self=<pkg_resources.ZipProvider instance at 0x868824c>, manager=<pkg_resources.ResourceManager instance at 0x87d232c>, zip_path='_mysql.so') |
1330 try:
|
1331 real_path = manager.get_cache_path(
|
1332 self.egg_name, self._parts(zip_path)
|
1333 )
|
1334
|
| self = <pkg_resources.ZipProvider instance at 0x868824c>, self.egg_name = 'MySQL_python-1.2.2-py2.6-freebsd-6.2-RELEASE-p1-i386.egg', self._parts = <bound method ZipProvider._parts of <pkg_resources.ZipProvider instance at 0x868824c>>, zip_path = '_mysql.so' |
| /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py in get_cache_path(self=<pkg_resources.ResourceManager instance at 0x87d232c>, archive_name='MySQL_python-1.2.2-py2.6-freebsd-6.2-RELEASE-p1-i386.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 at 0x87d232c>, self.extraction_error = <bound method ResourceManager.extraction_error o...resources.ResourceManager instance at 0x87d232c>> |
<class 'pkg_resources.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: '/nonexistent'
The Python egg cache directory is currently set to:
/nonexistent/.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 =
'/nonexistent/.python-eggs'
manager =
<pkg_resources.ResourceManager instance at 0x87d232c>
message =
"Can't extract file(s) to egg cache\n\nThe followin...nt\nvariable to point to an accessible directory.\n"
original_error =
OSError(13, 'Permission denied')