(c2) Advanced screen on offices folder gives CompilationError: Bad attribute for namespace 'http://xml.zope.org/namespaces/tal'

Bug #909119 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Carlos de la Guardia

Bug Description

https://karlstaging.gocept.com/branch2/osf/offices/files/network-news/advanced.html

Traceback (most recent call last):
  File "/srv/osfkarltest/staging/branch2/src/karl/karl/errorpage.py", line 60, in __call__
    resp = req.get_response(self.app)
  File "/srv/osfkarltest/staging/branch2/eggs/WebOb-1.1.1-py2.6.egg/webob/request.py", line 1086, in get_response
    application, catch_exc_info=False)
  File "/srv/osfkarltest/staging/branch2/eggs/WebOb-1.1.1-py2.6.egg/webob/request.py", line 1055, in call_application
    app_iter = application(self.environ, start_response)
  File "/srv/osfkarltest/staging/branch2/src/karl/karl/errorlog.py", line 18, in middleware
    return app(environ, start_response)
  File "/srv/osfkarltest/staging/branch2/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/srv/osfkarltest/staging/branch2/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__
    result = self.next_app(environ, start_response)
  File "/srv/osfkarltest/staging/branch2/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/srv/osfkarltest/staging/branch2/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 176, in __call__
    response = self.handle_request(request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/tweens.py", line 17, in excview_tween
    response = handler(request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 153, in handle_request
    response = view_callable(context, request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 523, in __call__
    return view(context, request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 186, in _secured_view
    return view(context, request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 311, in rendered_view
    context)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/renderers.py", line 393, in render_view
    return self.render_to_response(response, system, request=request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/renderers.py", line 422, in render_to_response
    result = self.render(value, system_values, request=request)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/renderers.py", line 418, in render
    result = renderer(value, system_values)
  File "/srv/osfkarltest/staging/branch2/eggs/pyramid-1.2.1-py2.6.egg/pyramid/chameleon_zpt.py", line 49, in __call__
    result = self.template(**system)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 136, in __call__
    return self.render(**kwargs)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 247, in render
    return super(PageTemplate, self).render(**vars)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 197, in render
    raise_with_traceback(exc, tb)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 183, in render
    self._render(stream, econtext, rcontext)
  File "layout_formish_form_fe48eee3d79ce2960bf7cb83b4dc5d62a7fb79f3.py", line 290, in render
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 251, in include
    self._render(*args, **kwargs)
  File "community_layout_199785d42d543e00bf313f6f303791e787bf7452.py", line 1264, in render
  File "layout_formish_form_fe48eee3d79ce2960bf7cb83b4dc5d62a7fb79f3.py", line 242, in __fill_content
  File "/srv/osfkarltest/staging/branch2/eggs/formish-0.8.5.2agendaless-py2.6.egg/formish/forms.py", line 1148, in __call__
    return self.renderer('/formish/form/main.html', {'form':self})
  File "/srv/osfkarltest/staging/branch2/src/pyramid_formish/pyramid_formish/__init__.py", line 75, in __call__
    return template(**args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 136, in __call__
    return self.render(**kwargs)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 247, in render
    return super(PageTemplate, self).render(**vars)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 197, in render
    raise_with_traceback(exc, tb)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 183, in render
    self._render(stream, econtext, rcontext)
  File "main_90306aa339e0dad8a90e28518c76ebe0f0a3b420.py", line 502, in render
  File "/srv/osfkarltest/staging/branch2/eggs/formish-0.8.5.2agendaless-py2.6.egg/formish/forms.py", line 750, in __call__
    return self.form.renderer('/formish/form/fields.html', {'form':self.form,'fields':fields})
  File "/srv/osfkarltest/staging/branch2/src/pyramid_formish/pyramid_formish/__init__.py", line 75, in __call__
    return template(**args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 136, in __call__
    return self.render(**kwargs)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 247, in render
    return super(PageTemplate, self).render(**vars)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 197, in render
    raise_with_traceback(exc, tb)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 183, in render
    self._render(stream, econtext, rcontext)
  File "fields_f8e3a56641260495d8ad872ead63a681ea58f856.py", line 53, in render
  File "/srv/osfkarltest/staging/branch2/eggs/formish-0.8.5.2agendaless-py2.6.egg/formish/forms.py", line 296, in __call__
    return fall_back_renderer(renderer, name, widget, vars)
  File "/srv/osfkarltest/staging/branch2/eggs/formish-0.8.5.2agendaless-py2.6.egg/formish/forms.py", line 115, in fall_back_renderer
    return renderer('/formish/%s.html'%(name), vars)
  File "/srv/osfkarltest/staging/branch2/src/pyramid_formish/pyramid_formish/__init__.py", line 75, in __call__
    return template(**args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 136, in __call__
    return self.render(**kwargs)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 247, in render
    return super(PageTemplate, self).render(**vars)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 197, in render
    raise_with_traceback(exc, tb)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 183, in render
    self._render(stream, econtext, rcontext)
  File "main_c80b42138b959abb2f6144d25cf96a26e579e545.py", line 438, in render
  File "/srv/osfkarltest/staging/branch2/eggs/formish-0.8.5.2agendaless-py2.6.egg/formish/forms.py", line 729, in __call__
    return self.field.form.renderer('/formish/widgets/%s/%s.html'%(widget, widget_template), vars)
  File "/srv/osfkarltest/staging/branch2/src/pyramid_formish/pyramid_formish/__init__.py", line 75, in __call__
    return template(**args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 136, in __call__
    return self.render(**kwargs)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 247, in render
    return super(PageTemplate, self).render(**vars)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 180, in render
    self.cook_check()
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 290, in cook_check
    self.cook(body)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 158, in cook
    program = self._cook(body, digest, names)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 211, in _cook
    source = self._make(body, builtins)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/template.py", line 242, in _make
    program = self.parse(body)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/template.py", line 191, in parse
    implicit_i18n_attributes=self.implicit_i18n_attributes,
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/program.py", line 136, in __init__
    super(MacroProgram, self).__init__(*args, **kwargs)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/program.py", line 32, in __init__
    node = self.visit(kind, args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/program.py", line 38, in visit
    return visitor(*args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/program.py", line 502, in visit_element
    body.append(self.visit(*child))
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/program.py", line 38, in visit
    return visitor(*args)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/program.py", line 159, in visit_element
    validate_attributes(ns, TAL, tal.WHITELIST)
  File "/srv/osfkarltest/staging/branch2/eggs/Chameleon-2.6.1-py2.6.egg/chameleon/zpt/program.py", line 62, in validate_attributes
    "Bad attribute for namespace '%s'" % ns, name
CompilationError: Bad attribute for namespace 'http://xml.zope.org/namespaces/tal'

 - String: "class"
 - Filename: /srv/osfkarltest/staging/branch2/src/karl/karl/views/forms/templates/formish/widgets/VerticalRadioChoice/widget.html

 - Expression: "field.widget()"
 - Filename: /srv/osfkarltest/staging/branch2/src/karl/karl/views/forms/templates/formish/field/main.html
 - Location: (6:45)

 - Source: ... s" tal:content="structure:field.widget()">
                                             ^^^^^^^^^^^^^^
 - Expression: "structure:field.widget()"
 - Filename: /srv/osfkarltest/staging/branch2/src/karl/karl/views/forms/templates/formish/field/main.html
 - Location: (6:35)

 - Source: ... inputs" tal:content="structure:field.widget()">
                                        ^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments: field: <Field - at 0xc65d72c>
               repeat: {...} (0)
               escape: False

 - Expression: "f()"
 - Filename: /srv/osfkarltest/staging/branch2/src/karl/karl/views/forms/templates/formish/form/fields.html
 - Location: (4:31)

 - Source: tal:replace="structure f()"/>
                                      ^^^
 - Arguments: repeat: {...} (0)
               f: <Field - at 0xc65d72c>
               form: <Form - at 0xc65ddec>
               fields: <NoneType - at 0xb7768340L>

 - Expression: "form.fields()"
 - Filename: /srv/osfkarltest/staging/branch2/src/karl/karl/views/forms/templates/formish/form/main.html
 - Location: (16:33)

 - Source: ... pan tal:replace="structure form.fields()"/>
                                              ^^^^^^^^^^^^^
 - Arguments: repeat: {...} (0)
               form: <Form - at 0xc65ddec>
               escape: False

 - Expression: "request.form()"
 - Filename: /srv/osfkarltest/staging/branch2/src/karl/karl/views/forms/templates/layout_formish_form.pt
 - Location: (14:33)

 - Source: ... an tal:content="structure request.form()" tal:omit-tag=""/>
                                             ^^^^^^^^^^^^^^
 - Arguments: repeat: {...} (0)
               renderer_name: karl.views.forms:templates/layout_formish_form.pt
               actions: <tuple - at 0xb745402cL>
               renderer_info: <RendererHelper - at 0xb7d602c>
               api: <TemplateAPI - at 0xc65da4c>
               panel: <instancemethod render_panel at 0xd7f598c>
               layout: <PageTemplateFile - at 0xb5253ec>
               request: <Request - at 0xd16982c>
               main_template: <PageTemplateFile - at 0xb6c57ec>
               context: <CommunityFolder network-news at 0xbc2cdec>
               view: <FormView - at 0xb7cdb4c>

Tags: r3.78
Changed in karl3:
status: New → Fix Committed
JimPGlenn (jpglenn09)
tags: added: r3.78
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.