"Layout has no attribute" ux2 error on global calendar

Bug #1003108 reported by Nat Katin-Borland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Balazs Ree

Bug Description

On UX2 there is a General Error if you click on the Calendar Tab (view-source:https://karl.soros.org/offices/calendar/month.html). Here's the traceback:

 <!--
         Traceback (most recent call last):
  File "/srv/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/tweens.py", line 17, in excview_tween
    response = handler(request)
  File "/srv/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 153, in handle_request
    response = view_callable(context, request)
  File "/srv/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 186, in _secured_view
    return view(context, request)
  File "/srv/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 319, in viewresult_to_response
    result = view(context, request)
  File "/srv/osfkarl/production/45/eggs/karl-3.86-py2.6.egg/karl/content/views/calendar_events.py", line 486, in show_month_view
    response = _show_calendar_view(context, request, MonthViewPresenter, selection)
  File "/srv/osfkarl/production/45/eggs/karl-3.86-py2.6.egg/karl/content/views/calendar_events.py", line 478, in _show_calendar_view
    request=request,
  File "/srv/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/renderers.py", line 114, in render_to_response
    return helper.render_to_response(value, None, request=request)
  File "/srv/osfkarl/production/45/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/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/renderers.py", line 418, in render
    result = renderer(value, system_values)
  File "/srv/osfkarl/production/45/eggs/karl-3.86-py2.6.egg/karl/application.py", line 130, in metarenderer
    return ux2_renderer(value, system)
  File "/srv/osfkarl/production/45/eggs/pyramid-1.2.1-py2.6.egg/pyramid/chameleon_zpt.py", line 49, in __call__
    result = self.template(**system)
  File "/srv/osfkarl/production/45/eggs/Chameleon-2.8.2-py2.6.egg/chameleon/template.py", line 125, in __call__
    return self.render(**kwargs)
  File "/srv/osfkarl/production/45/eggs/Chameleon-2.8.2-py2.6.egg/chameleon/zpt/template.py", line 258, in render
    return super(PageTemplate, self).render(**vars)
  File "/srv/osfkarl/production/45/eggs/Chameleon-2.8.2-py2.6.egg/chameleon/template.py", line 191, in render
    raise_with_traceback(exc, tb)
  File "/srv/osfkarl/production/45/eggs/Chameleon-2.8.2-py2.6.egg/chameleon/template.py", line 172, in render
    self._render(stream, econtext, rcontext)
  File "calendar_month_91bcdd68bf278e13f7ebb2fca16610f361e2df36.py", line 2102, in render
  File "/srv/osfkarl/production/45/eggs/Chameleon-2.8.2-py2.6.egg/chameleon/zpt/template.py", line 262, in include
    self._render(*args, **kwargs)
  File "layout_a7d03902a906d0c9e68a5415a5989cbf10c8156e.py", line 1828, in render
  File "calendar_month_91bcdd68bf278e13f7ebb2fca16610f361e2df36.py", line 400, in __fill_content
  File "macros_35b4db18307bb4a47287a4ec54de6d84ca13bb90.py", line 880, in render_cal_search
  File "/srv/osfkarl/production/45/eggs/Chameleon-2.8.2-py2.6.egg/chameleon/py26.py", line 8, in lookup_attr
    raise exc
AttributeError: 'Layout' object has no attribute 'community_info'

Tags: tested r3.88 ux2
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

A normal bug on porting to ux2. This was reported for production, last updated a few weeks ago. Perhaps this is fixed by now.

summary: - General Error if you Click on Calendar Tab
+ "Layout has no attribute" error if you Click on Calendar Tab
summary: - "Layout has no attribute" error if you Click on Calendar Tab
+ "Layout has no attribute" ux2 error on global calendar
Changed in karl3:
assignee: nobody → Balazs Ree (ree)
importance: Undecided → Medium
milestone: none → m105
Revision history for this message
Balazs Ree (ree) wrote :

This should be fixed already so I am marking it so (check on ux2 branch and please mark it new again, if still persists!)

Changed in karl3:
status: New → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

looks good

tags: added: tested ux2
JimPGlenn (jpglenn09)
tags: added: r3.88
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.