ptahproject/ptah — Issue #106: broken view
Author: runyaga
Created: 2011-12-15 07:05:09+00:00
State: open

http://localhost:6543/ptah-manage/introspect/ptah.form:field/

```
Traceback (most recent call last):
File "c:\ptah\birthday\lib\site-packages\pyramid_debugtoolbar-0.9.7-py2.7.egg\pyramid_debugtoolbar\panels\performance.py", line 69, in noresource_timer_handler
result = handler(request)
File "c:\ptah\birthday\lib\site-packages\pyramid_debugtoolbar-0.9.7-py2.7.egg\pyramid_debugtoolbar\panels\performance.py", line 85, in profile_handler
result = self.profiler.runcall(handler, request)
File "C:\Python27-32bit\Lib\cProfile.py", line 149, in runcall
return func(*args, **kw)
File "c:\ptah\birthday\lib\site-packages\pyramid\tweens.py", line 20, in excview_tween
response = handler(request)
File "c:\ptah\birthday\lib\site-packages\pyramid_tm-0.3-py2.7.egg\pyramid_tm\__init__.py", line 61, in tm_tween
response = handler(request)
File "c:\ptah\birthday\lib\site-packages\pyramid\router.py", line 164, in handle_request
response = view_callable(context, request)
File "c:\ptah\birthday\lib\site-packages\pyramid\config\views.py", line 148, in _owrapped_view
response = view(context, request)
File "c:\ptah\birthday\lib\site-packages\pyramid\config\views.py", line 334, in rendered_view
context)
File "c:\ptah\birthday\lib\site-packages\pyramid\renderers.py", line 395, in render_view
return self.render_to_response(response, system, request=request)
File "c:\ptah\birthday\lib\site-packages\pyramid\renderers.py", line 424, in render_to_response
result = self.render(value, system_values, request=request)
File "c:\ptah\birthday\lib\site-packages\pyramid\renderers.py", line 420, in render
result = renderer(value, system_values)
File "c:\ptah\birthday\lib\site-packages\pyramid\chameleon_zpt.py", line 51, in __call__
result = self.template(**system)
File "c:\ptah\birthday\lib\site-packages\chameleon\template.py", line 128, in __call__
return self.render(**kwargs)
File "c:\ptah\birthday\lib\site-packages\chameleon\zpt\template.py", line 247, in render
return super(PageTemplate, self).render(**vars)
File "c:\ptah\birthday\lib\site-packages\chameleon\template.py", line 189, in render
raise_with_traceback(exc, tb)
File "c:\ptah\birthday\lib\site-packages\chameleon\template.py", line 175, in render
self._render(stream, econtext, rcontext)
File "c:\users\arunyan\appdata\local\temp\tmpcehfqb\introspect_intr_356284f0b47d993a6d998a2df02bf66b3710e564.py", line 259, in render
__content_40144864 = _lookup_attr(getitem('view'), 'renderer')(getitem('intr'), getitem('request'))
File "c:\ptah\birthday\src\ptah\ptah\view.py", line 200, in __call__
return self.renderer.render(value, system, request)
File "c:\ptah\birthday\lib\site-packages\pyramid\renderers.py", line 420, in render
result = renderer(value, system_values)
File "c:\ptah\birthday\lib\site-packages\pyramid\chameleon_zpt.py", line 51, in __call__
result = self.template(**system)
File "c:\ptah\birthday\lib\site-packages\chameleon\template.py", line 128, in __call__
return self.render(**kwargs)
File "c:\ptah\birthday\lib\site-packages\chameleon\zpt\template.py", line 247, in render
return super(PageTemplate, self).render(**vars)
File "c:\ptah\birthday\lib\site-packages\chameleon\template.py", line 189, in render
raise_with_traceback(exc, tb)
File "c:\ptah\birthday\lib\site-packages\chameleon\template.py", line 175, in render
self._render(stream, econtext, rcontext)
File "c:\users\arunyan\appdata\local\temp\tmpxawd6o\intr_field_737a5d215993e581983c1c986a62762199b3e6f8.py", line 55, in render
__attr_href = _lookup_attr(getitem('view'), 'manage_url')
File "c:\ptah\birthday\lib\site-packages\chameleon\py26.py", line 8, in lookup_attr
raise exc
AttributeError: 'FieldRenderer' object has no attribute 'manage_url'

- Expression: "view.manage_url"
- Filename: c:\ptah\birthday\src\ptah\ptah\manage\templates\intr-field.pt
- Location: (2:13)

- Source:
previews: {...} (15)
renderer_info:
context: {...} (3)
view:

- Expression: " view.renderer(intr, request)"
- Filename: c:\ptah\birthday\src\ptah\ptah\manage\templates\introspect-intr.pt
- Location: (12:17)

- Source: ${structure: view.renderer(intr, request)}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Expression: "structure: view.renderer(intr, request)"
- Filename: c:\ptah\birthday\src\ptah\ptah\manage\templates\introspect-intr.pt
- Location: (12:7)

- Source: ${structure: view.renderer(intr, request)}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Expression: "
${structure: view.renderer(intr, request)}
"
- Filename: c:\ptah\birthday\src\ptah\ptah\manage\templates\introspect-intr.pt
- Location: (11:7)

- Source:
^
- Arguments: repeat: {...} (0)
renderer_name: ptah.manage:templates/introspect-intr.pt
request:
renderer_info:
escape: False
context:
intr: {...} (3)
view:
```