<type 'exceptions.AttributeError'>
Python 2.7.16: /usr/bin/python
Tue Mar 19 02:41:27 2024

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.7/dist-packages/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object>, path_info='/')
    668                     if self.handler:
    669                         self.stage = 'handler'
=>  670                         response.body = self.handler()
    671 
    672                     # Finalize
response = <cherrypy._cprequest.Response object>, response.body = [], self = <cherrypy._cprequest.Request object>, self.handler = <cherrypy.lib.encoding.ResponseEncoder instance>
 /usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py in __call__(self=<cherrypy.lib.encoding.ResponseEncoder instance>, *args=(), **kwargs={})
    218     def __call__(self, *args, **kwargs):
    219         response = cherrypy.serving.response
=>  220         self.body = self.oldhandler(*args, **kwargs)
    221 
    222         if isinstance(self.body, text_or_bytes):
self = <cherrypy.lib.encoding.ResponseEncoder instance>, self.body undefined, self.oldhandler = <cherrypy._cpdispatch.LateParamPageHandler object>, args = (), kwargs = {}
 /usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
     58     def __call__(self):
     59         try:
=>   60             return self.callable(*self.args, **self.kwargs)
     61         except TypeError:
     62             x = sys.exc_info()[1]
self = <cherrypy._cpdispatch.LateParamPageHandler object>, self.callable = <bound method app.index of <app.workshop_interpolation.app.app object>>, self.args = (), self.kwargs = {}
 /home/oudre/ipol/demo/lib/base_app.py in index(self=<app.workshop_interpolation.app.app object>)
    146 
    147         return self.tmpl_out("input.html",
=>  148                              inputd=inputd)
    149 
    150     #
inputd = {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}
 /home/oudre/ipol/demo/lib/base_app.py in tmpl_out(self=<app.workshop_interpolation.app.app object>, tmpl_fname='input.html', **kwargs={'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False})
    119 
    120         tmpl = self.tmpl_lookup.get_template(tmpl_fname)
=>  121         return tmpl.render(**kwargs)
    122 
    123     #
tmpl = <mako.template.Template object>, tmpl.render = <bound method Template.render of <mako.template.Template object>>, kwargs = {'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False}
 /usr/lib/python2.7/dist-packages/mako/template.py in render(self=<mako.template.Template object>, *args=(), **data={'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False})
    460 
    461         """
=>  462         return runtime._render(self, self.callable_, args, data)
    463 
    464     def render_unicode(self, *args, **data):
global runtime = <module 'mako.runtime' from '/usr/lib/python2.7/dist-packages/mako/runtime.pyc'>, runtime._render = <function _render>, self = <mako.template.Template object>, self.callable_ = <function render_body>, args = (), data = {'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False}
 /usr/lib/python2.7/dist-packages/mako/runtime.py in _render(template=<mako.template.Template object>, callable_=<function render_body>, args=(), data={'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False}, as_unicode=False)
    836 
    837     _render_context(template, callable_, context, *args,
=>  838                     **_kwargs_for_callable(callable_, data))
    839     return context._pop_buffer().getvalue()
    840 
global _kwargs_for_callable = <function _kwargs_for_callable>, callable_ = <function render_body>, data = {'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False}
 /usr/lib/python2.7/dist-packages/mako/runtime.py in _render_context(tmpl=<mako.template.Template object>, callable_=<function render_body>, context=<mako.runtime.Context object>, *args=(), **kwargs={'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False})
    871         # if main render method, call from the base of the inheritance stack
    872         (inherit, lclcontext) = _populate_self_namespace(context, tmpl)
=>  873         _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    874     else:
    875         # otherwise, call the actual rendering method specified
global _exec_template = <function _exec_template>, inherit = <function render_body>, lclcontext = <mako.runtime.Context object>, args = (), kwargs = {'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False}
 /usr/lib/python2.7/dist-packages/mako/runtime.py in _exec_template(callable_=<function render_body>, context=<mako.runtime.Context object>, args=(), kwargs={'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False})
    897             _render_error(template, context, e)
    898     else:
=>  899         callable_(context, *args, **kwargs)
    900 
    901 
callable_ = <function render_body>, context = <mako.runtime.Context object>, args = (), kwargs = {'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False}
 /home/oudre/ipol/input_html in render_body(context=<mako.runtime.Context object>, **pageargs={'app': <app.workshop_interpolation.app.app object>, 'inputd': {'sig_noise': {'files': 'noise.png noise.wav', '...olden_slumbers.png'], 'title': 'GoldenSlumbers'}}, 'prod': False})
 /usr/lib/python2.7/dist-packages/mako/runtime.py in _include_file(context=<mako.runtime.Context object>, uri=u'header.html', calling_uri='input.html', **kwargs={})
    759                 compat.reraise(*sys.exc_info())
    760     else:
=>  761         callable_(ctx, **kwargs)
    762 
    763 
callable_ = <function render_body>, ctx = <mako.runtime.Context object>, kwargs = {}
 /home/oudre/ipol/header_html in render_body(context=<mako.runtime.Context object>, **pageargs={})
 /usr/lib/python2.7/dist-packages/mako/runtime.py in _include_file(context=<mako.runtime.Context object>, uri=u'xlinks.html', calling_uri=u'header.html', **kwargs={})
    759                 compat.reraise(*sys.exc_info())
    760     else:
=>  761         callable_(ctx, **kwargs)
    762 
    763 
callable_ = <function render_body>, ctx = <mako.runtime.Context object>, kwargs = {}
 /home/oudre/ipol/xlinks_html in render_body(context=<mako.runtime.Context object>, **pageargs={})
 /home/oudre/ipol/demo/lib/empty_app.py in __getattr__(self=<app.workshop_interpolation.app.app object>, attr='xlink_article')
     92         # real attribute
     93         else:
=>   94             value = object.__getattribute__(self, attr)
     95         return value
     96 
value undefined, builtin object = <type 'object'>, object.__getattribute__ = <slot wrapper '__getattribute__' of 'object' objects>, self = <app.workshop_interpolation.app.app object>, attr = 'xlink_article'

<type 'exceptions.AttributeError'>: 'app' object has no attribute 'xlink_article'
      args = ("'app' object has no attribute 'xlink_article'",)
      message = "'app' object has no attribute 'xlink_article'"