Message60

Author chrism
Recipients chrism
Date 2008-02-26.19:05:14
Content
#
TypeError       Python 2.4.4: /usr/bin/python
#
Tue Feb 26 17:24:24 2008
#
 
#
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/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/Paste-1.5-py2.4.egg/paste/cgitb_catcher.py
in __call__(self=<paste.cgitb_catcher.CgitbMiddleware object>,
environ={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...},
start_response=<built-in method start_response of mod_wsgi.Adapter object>)
#
   41     def __call__(self, environ, start_response):
#
   42         try:
#
   43             app_iter = self.app(environ, start_response)
#
   44             return self.catching_iter(app_iter, environ)
#
   45         except:
#
app_iter undefined, self = <paste.cgitb_catcher.CgitbMiddleware object>,
self.app = <paste.httpexceptions.HTTPExceptionHandler object>, environ =
{'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response =
<built-in method start_response of mod_wsgi.Adapter object>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/Paste-1.5-py2.4.egg/paste/httpexceptions.py
in __call__(self=<paste.httpexceptions.HTTPExceptionHandler object>,
environ={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...},
start_response=<built-in method start_response of mod_wsgi.Adapter object>)
#
  630                            []).append(HTTPException)
#
  631         try:
#
  632             return self.application(environ, start_response)
#
  633         except HTTPException, exc:
#
  634             return exc(environ, start_response)
#
self = <paste.httpexceptions.HTTPExceptionHandler object>, self.application =
<repoze.retry.Retry instance>, environ = {'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response =
<built-in method start_response of mod_wsgi.Adapter object>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.retry-0.6-py2.4.egg/repoze/retry/__init__.py
in __call__(self=<repoze.retry.Retry instance>, environ={'DOCUMENT_ROOT':
'/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...},
start_response=<built-in method start_response of mod_wsgi.Adapter object>)
#
   24         while 1:
#
   25             try:
#
   26                 result = self.application(environ, self.buffer_start_response)
#
   27             except ConflictError, why:
#
   28                 if environ.get('wsgi.errors'):
#
result undefined, self = <repoze.retry.Retry instance>, self.application =
<repoze.tm.TM instance>, environ = {'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...},
self.buffer_start_response = <bound method Retry.buffer_start_response of
<repoze.retry.Retry instance>>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.tm-0.8-py2.4.egg/repoze/tm/__init__.py
in __call__(self=<repoze.tm.TM instance>, environ={'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response=<bound
method Retry.buffer_start_response of <repoze.retry.Retry instance>>)
#
   12         transaction.begin()
#
   13         try:
#
   14             result = self.application(environ, start_response)
#
   15         except:
#
   16             self.abort()
#
result undefined, self = <repoze.tm.TM instance>, self.application =
<repoze.vhm.xheaders.VHMFilter instance>, environ = {'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response =
<bound method Retry.buffer_start_response of <repoze.retry.Retry instance>>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.vhm-0.3-py2.4.egg/repoze/vhm/xheaders.py
in __call__(self=<repoze.vhm.xheaders.VHMFilter instance>,
environ={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response=<bound
method Retry.buffer_start_response of <repoze.retry.Retry instance>>)
#
   36             environ['repoze.vhm.virtual_root'] = root_header
#
   37 
#
   38         return self.application(environ, start_response)
#
   39 
#
   40 def make_filter(app, global_conf):
#
self = <repoze.vhm.xheaders.VHMFilter instance>, self.application =
<repoze.errorlog.ErrorLog instance>, environ = {'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response =
<bound method Retry.buffer_start_response of <repoze.retry.Retry instance>>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.errorlog-0.5-py2.4.egg/repoze/errorlog/__init__.py
in __call__(self=<repoze.errorlog.ErrorLog instance>, environ={'DOCUMENT_ROOT':
'/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response=<bound
method Retry.buffer_start_response of <repoze.retry.Retry instance>>)
#
   83             environ['repoze.errorlog.entryid'] = identifier
#
   84             try:
#
   85                 return self.application(environ, start_response)
#
   86             except self.ignored_exceptions:
#
   87                 # just reraise an ignored exception
#
self = <repoze.errorlog.ErrorLog instance>, self.application =
<repoze.obob.publisher.ObobPublisher instance>, environ = {'DOCUMENT_ROOT':
'/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response =
<bound method Retry.buffer_start_response of <repoze.retry.Retry instance>>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.obob-0.2-py2.4.egg/repoze/obob/publisher.py
in __call__(self=<repoze.obob.publisher.ObobPublisher instance>,
environ={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'tree-s="eJzTyCkw5NLIKTDiClZ3hALXlHJbda4CY65EoIQJ...ClZ3hANXW3WuAmOuRKCECUjWFEnWNSkQJGvGlQgEegADLhAU"',
'HTTP_HOST': 'localhost', 'HTTP_KEEP_ALIVE': '300', ...}, start_response=<bound
method Retry.buffer_start_response of <repoze.retry.Retry instance>>)
#
  155
#
  156             helper.before_invoke(published)
#
  157             result = helper.invoke(published)
#
  158
#
  159             status, headers, body_iter = helper.map_result(result)
#
result undefined, helper = <repoze.zope2.z2bob.Zope2ObobHelper instance>,
helper.invoke = <bound method Zope2ObobHelper.invoke of
<repoze.zope2.z2bob.Zope2ObobHelper instance>>, published =
<Products.ExternalEditor.ExternalEditor.ExternalEditor object>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.zope2-0.3.0-py2.4.egg/repoze/zope2/z2bob.py
in invoke(self=<repoze.zope2.z2bob.Zope2ObobHelper instance>, published=<bound
method ExternalEditor.index_html of
<Prod...rnalEditor.ExternalEditor.ExternalEditor object>>)
#
  332                              handle_class = dont_publish_class,
#
  333                              context = request,
#
  334                              bind=1)
#
  335
#
  336         except Redirect, what:
#
bind undefined
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/repoze.zope2-0.3.0-py2.4.egg/repoze/zope2/mapply.py
in mapply(object=<bound method ExternalEditor.index_html of
<Prod...rnalEditor.ExternalEditor.ExternalEditor object>>, positional=(),
keyword=<HTTPRequest, URL=None>, debug=None, maybe=1, missing_name=<function
missing_name>, handle_class=<function dont_publish_class>, context=<HTTPRequest,
URL=None>, bind=1)
#
   92         args.append(v)
#
   93
#
   94     args=tuple(args)
#
   95     if debug is not None: return debug(object,args,context)
#
   96     else: return object(*args)
#
object = <bound method ExternalEditor.index_html of
<Prod...rnalEditor.ExternalEditor.ExternalEditor object>>, args = (<HTTPRequest,
URL=None>, HTTPResponse(''), None)
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/ploneproducts-3.0.1.0-py2.4.egg/Products/ExternalEditor/ExternalEditor.py
in index_html(self=<Products.ExternalEditor.ExternalEditor.ExternalEditor
object>, REQUEST=<HTTPRequest, URL=None>, RESPONSE=HTTPResponse(''), path=None)
#
  106             parent = self.aq_parent
#
  107             try:
#
  108                 ob = parent[REQUEST['target']] # Try getitem
#
  109             except KeyError:
#
  110                 ob = getattr(parent, REQUEST['target']) # Try getattr
#
ob undefined, parent = <DirectoryViewSurrogate at
/plone/portal_skins/plone_templates>, REQUEST = <HTTPRequest, URL=None>
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/zopelib-2.10.4.2-py2.4-linux-i686.egg/OFS/ObjectManager.py
in __getitem__(self=<DirectoryViewSurrogate at
/plone/portal_skins/plone_templates>, key=None)
#
  742
#
  743     def __getitem__(self, key):
#
  744         v=self._getOb(key, None)
#
  745         if v is not None: return v
#
  746         if hasattr(self, 'REQUEST'):
#
v undefined, self = <DirectoryViewSurrogate at
/plone/portal_skins/plone_templates>, self._getOb = <bound method
DirectoryViewSurrogate._getOb of <...urrogate at
/plone/portal_skins/plone_templates>>, key = None, builtin None = None
#
 /home/ddurham/downloads/wsgi/sandbox/lib/python2.4/site-packages/zopelib-2.10.4.2-py2.4-linux-i686.egg/OFS/ObjectManager.py
in _getOb(self=<DirectoryViewSurrogate at /plone/portal_skins/plone_templates>,
id=None, default=None)
#
  285         # on performance as things are currently implemented, so for
#
  286         # the moment we just make sure not to expose private attrs.
#
  287         if id[:1] != '_' and hasattr(aq_base(self), id):
#
  288             return getattr(self, id)
#
  289         if default is _marker:
#
id = None, builtin hasattr = <built-in function hasattr>, global aq_base =
<built-in function aq_base>, self = <DirectoryViewSurrogate at
/plone/portal_skins/plone_templates>
#
 
#
TypeError: unsubscriptable object
#
      args = ('unsubscriptable object',)
History
Date User Action Args
2008-02-26 19:05:15 chrism set recipients: + chrism
2008-02-26 19:05:15 chrism set messageid:
2008-02-26 19:05:15 chrism link issue26 messages
2008-02-26 19:05:14 chrism create