--> --> -->
 
 
<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/www/users/stlpartn/telco2.net/event/november2008/register.cgi in ()
    6 sys.path.append(os.path.normpath(os.path.join(os.environ['DOCUMENT_ROOT'], '..', 'cgi-bin', 'lib')))
    7 import cgitb; cgitb.enable()
    8 import registration
    9 
   10 class Form(registration.RegistrationForm):
registration undefined
 /usr/www/users/stlpartn/cgi-bin/lib/registration.py in ()
  169 
  170 
  171 class RegistrationForm(object):
  172 
  173     url = None
RegistrationForm undefined, builtin object = <type 'object'>
 /usr/www/users/stlpartn/cgi-bin/lib/registration.py in RegistrationForm()
  253         ]
  254         
  255     @with_conn
  256     def save_details(self, request, vresult, conn):
  257         """
global with_conn = None
 /usr/www/users/stlpartn/cgi-bin/lib/utils.py in with_conn(fn=<function save_details at 0x868664c>)
  180 
  181 def with_conn(fn):
  182     import db
  183     conn = db.getconn()
  184     def with_conn(*args, **kwargs):
db undefined
 /usr/www/users/stlpartn/cgi-bin/lib/db.py in ()
    2 import socket
    3 
    4 hostname = socket.gethostname()
    5 _conn = None
    6 def getconn():
MySQLdb undefined
 /usr/www/users/stlpartn/telco2.net/event/november2008/build/bdist.freebsd-6.2-RELEASE-p1-i386/egg/MySQLdb/__init__.py in ()
 /usr/www/users/stlpartn/telco2.net/event/november2008/build/bdist.freebsd-6.2-RELEASE-p1-i386/egg/_mysql.py in ()
 /usr/www/users/stlpartn/telco2.net/event/november2008/build/bdist.freebsd-6.2-RELEASE-p1-i386/egg/_mysql.py in __bootstrap__()
 /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>>
 /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py in extraction_error(self=<pkg_resources.ResourceManager instance at 0x87d232c>)
  885         err.cache_path     = cache_path
  886         err.original_error = old_exc
  887         raise err
  888 
  889 
err = ExtractionError("Can't extract file(s) to egg ca...ariable to point to an accessible directory.\n",)

<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')