Missing Template on edit_intranet page

Bug #612576 reported by Jim B. Glenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Chris Rossi

Bug Description

Happened on SFU and CSEF, not sure of others.

When I go to /offices -> Intranets -> Edit (next to one of the listed intranets)
/offices/nameofoffice//edit_intranet.html

I get general error:

       Traceback (most recent call last):
  File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/errorpage.py", line 51, in __call__
    resp = req.get_response(self.app)
  File "/opt/karl/gcfe/3.0.1-0/eggs/WebOb-0.9.8.0_osi1-py2.5.egg/webob/request.py", line 920, in get_response
    application, catch_exc_info=False)
  File "/opt/karl/gcfe/3.0.1-0/eggs/WebOb-0.9.8.0_osi1-py2.5.egg/webob/request.py", line 888, in call_application
    app_iter = application(self.environ, start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.errorlog-0.7-py2.5.egg/repoze/errorlog/__init__.py", line 85, in __call__
    return self.application(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/errorlog.py", line 15, in middleware
    return app(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call__
    result = self.next_app(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/opt/karl/gcfe/3.0.1-0/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
    app_iter = self.application(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __call__
    return self.app(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1520, in __call__
    return view(context, request)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_view
    return view(context, request)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1704, in _rendered_view
    response = view(context, request)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg.formish-0.3-py2.5.egg/repoze/bfg/formish/zcml.py", line 171, in __call__
    return controller()
  File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/content/views/intranets.py", line 245, in __call__
    layout = layout_provider('generic')
  File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/content/views/adapters.py", line 828, in __call__
    layout = getattr(self, 'intranet_layout')
  File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/content/views/adapters.py", line 802, in intranet_layout
    layout = get_template('karl.content.views:templates/generic_layout.pt')
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/chameleon_zpt.py", line 62, in get_template
    renderer = renderer_factory(path)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/chameleon_zpt.py", line 25, in renderer_factory
    return template_renderer_factory(path, ZPTTemplateRenderer)
  File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/renderers.py", line 59, in template_renderer_factory
    'Missing template resource: %s (%s)' % (spec, abspath))
ValueError: Missing template resource: karl.content.views:templates/generic_layout.pt (/opt/karl/gcfe/3.0.1-0/src/karl/karl/content/views/templates/generic_layout.pt)

Revision history for this message
Jim B. Glenn (jimbglenn) wrote :

on Fahamu too.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Hmm, neat one. Probably easy to fix.

Changed in karl3:
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Undecided → Medium
milestone: none → m45
Revision history for this message
JimPGlenn (jpglenn09) wrote :

Fahamu and CSEF also are getting same error. The other instances either do not have Offices configured or are not getting errors.

Revision history for this message
Jim B. Glenn (jimbglenn) wrote :

Reported by gcfe (csef) in RT https://rt01.sixfeetup.com/Ticket/Display.html?id=80927
Going to be important for this user since they are in process of setting up offices.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 612576] Re: Missing Template on edit_intranet page
Download full text (4.6 KiB)

If you can let us know your schedule for production updates, we can prioritize this one. Stated differently, do you need a production rollout for this today, or tomorrow, or some time this week?

--Paul

On Aug 3, 2010, at 10:14 AM, Jim B. Glenn wrote:

> Reported by gcfe (csef) in RT https://rt01.sixfeetup.com/Ticket/Display.html?id=80927
> Going to be important for this user since they are in process of setting up offices.
>
>
> ** Bug watch added: rt01.sixfeetup.com/ #80927
> http://rt01.sixfeetup.com/Ticket/Display.html?id=80927
>
> --
> Missing Template on edit_intranet page
> https://bugs.launchpad.net/bugs/612576
> You received this bug notification because you are subscribed to KARL3.
>
> Status in KARL3: New
>
> Bug description:
> Happened on SFU and CSEF, not sure of others.
>
> When I go to /offices -> Intranets -> Edit (next to one of the listed intranets)
> /offices/nameofoffice//edit_intranet.html
>
> I get general error:
>
> Traceback (most recent call last):
> File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/errorpage.py", line 51, in __call__
> resp = req.get_response(self.app)
> File "/opt/karl/gcfe/3.0.1-0/eggs/WebOb-0.9.8.0_osi1-py2.5.egg/webob/request.py", line 920, in get_response
> application, catch_exc_info=False)
> File "/opt/karl/gcfe/3.0.1-0/eggs/WebOb-0.9.8.0_osi1-py2.5.egg/webob/request.py", line 888, in call_application
> app_iter = application(self.environ, start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.errorlog-0.7-py2.5.egg/repoze/errorlog/__init__.py", line 85, in __call__
> return self.application(environ, start_response)
> File "/opt/karl/gcfe/3.0.1-0/src/karl/karl/errorlog.py", line 15, in middleware
> return app(environ, start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call__
> result = self.next_app(environ, start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
> app_iter = self.application(environ, replace_start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
> result = self.application(environ, save_status_and_headers)
> File "/opt/karl/gcfe/3.0.1-0/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
> app_iter = self.application(environ, start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
> app_iter = app(environ, wrapper.wrap_start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __call__
> return self.app(environ, start_response)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
> response = view_callable(context, request)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1520, in __call__
> return view(context, request)
> File "/opt/karl/gcfe/3.0.1-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_v...

Read more...

Changed in karl3:
status: New → In Progress
Changed in karl3:
status: In Progress → Fix Committed
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.