| <type 'exceptions.AttributeError'> | Python 2.5: /usr/bin/python Mon May 21 07:16:56 2012 |
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/lib/python2.5/site-packages/flup-0.5-py2.5.egg/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object at 0x8db7f4c>) |
| 556 """Runs the handler, flushes the streams, and ends the request.""" |
| 557 try: |
| 558 protocolStatus, appStatus = self.server.handler(self) |
| 559 except: |
| 560 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object at 0x8db7f4c>, self.server = <flup.server.fcgi.WSGIServer object at 0xb78cc9ac>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object at 0xb78cc9ac>> |
| /usr/lib/python2.5/site-packages/flup-0.5-py2.5.egg/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object at 0xb78cc9ac>, req=<flup.server.fcgi_base.Request object at 0x8db7f4c>) |
| 1112 result = self.application(environ, start_response) |
| 1113 try: |
| 1114 for data in result: |
| 1115 if data: |
| 1116 write(data) |
| data undefined, result = <application.project_app object at 0x8dcd88c> |
| /usr/lib/python2.5/site-packages/Colubrid-0.10-py2.5.egg/colubrid/application.py in __iter__(self=<application.project_app object at 0x8dcd88c>) |
| 72 def __iter__(self): |
| 73 try: |
| 74 response = self.process_request() |
| 75 if isinstance(self.request, ResponseRequest): |
| 76 response = self.request |
| response undefined, self = <application.project_app object at 0x8dcd88c>, self.process_request = <bound method project_app.process_request of <application.project_app object at 0x8dcd88c>> |
| /usr/lib/python2.5/site-packages/Colubrid-0.10-py2.5.egg/colubrid/application.py in process_request(self=<application.project_app object at 0x8dcd88c>) |
| 371 if match['action'] == 'index': |
| 372 del match['action'] |
| 373 del match['controller'] |
| 374 |
| 375 return handler(app, **match) |
| handler = <unbound method Register.wrapped>, app = <controllers.register.Register object at 0x8dcd70c>, match = {} |
| /var/www/underwatervj.tv/web/build/bdist.linux-i686/egg/phenopy/aop/aop.py in wrapped(*args=(<controllers.register.Register object at 0x8dcd70c>,), **kwargs={}) |
| 7 if before: |
| 8 before(*args, **kwargs) |
| 9 result = f(*args, **kwargs) |
| 10 if after: |
| 11 after(*args, **kwargs) |
| /var/www/underwatervj.tv/web/<string> in restore_password(self=<controllers.register.Register object at 0x8dcd70c>) |
| /var/www/underwatervj.tv/web/build/bdist.linux-i686/egg/phenopy/webutils/xslt/render.py in __call__(self=<phenopy.webutils.xslt.render.render object at 0x8bd63ac>, template='restore-password.xsl', format=True, root_tag='data', content_type='text/html', raw=False, cut_xml_header=False) |
| 97 # PROC, begin processing xml |
| 98 |
| 99 result_dom = xslt.apply_to_doc(dom) |
| 100 result_dom = self._postprocess_dom(result_dom) |
| 101 results = result_dom.serialize(format=format, encoding=settings.charset) |
| /var/www/underwatervj.tv/web/build/bdist.linux-i686/egg/phenopy/xml_tools/xslt.py in apply_to_doc(self=<phenopy.xml_tools.xslt.Xslt instance at 0x8dc15ec>, doc=<xmlDoc (None) object at 0x8dc150c>) |
| 10 |
| 11 def apply_to_doc(self, doc): |
| 12 output = self.template.applyStylesheet(doc, None) |
| 13 return output |
| 14 |
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'applyStylesheet'