Wiki index gives ValueError: Missing template asset: karl.content.views:show_wikitoc.pt

Bug #958597 reported by JimPGlenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
High
Chris Rossi

Bug Description

This error occurs on staging for UX1 and UX2. General error when clicking on index for wiki pages.

JimPGlenn (jpglenn09)
Changed in karl3:
importance: Undecided → Medium
milestone: none → m95
tags: added: ux2 wiki
tags: added: wiki-index
removed: wiki
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Jim, as a reminder, don't just say "general error". Go to the HTML source and paste it in.

Changed in karl3:
assignee: nobody → JimPGlenn (jpglenn09)
Revision history for this message
JimPGlenn (jpglenn09) wrote :
Download full text (5.3 KiB)

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title>General Error</title>
    <link href="https://karlstaging.gocept.com/static/images/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
    <link href="https://karlstaging.gocept.com/static/images/favicon.ico" rel="icon" type="image/vnd.microsoft.icon" />
    <link href="https://karlstaging.gocept.com/static/themedstyles.css" rel="stylesheet" type="text/css" />
    <link href="https://karlstaging.gocept.com/static/custom.css" rel="stylesheet" type="text/css" />

  </head>

  <body id="login-wrapper">
    <img src="https://karlstaging.gocept.com/static/images/login_gradient.gif" id="login-gradient" />
    <div id="outer">
      <div id="inner">
        <h1 class="kscreentitle" style="margin-top: 50px">
          <span></span>
        </h1>
 <h2 style="margin-top: 20px; text-align: center">General Error</h2>

        <p align="center">
KARL encountered an application error. Please click
the link below to return to the KARL home page.
</p>
 <p align="center">
   Return to the <a href="https://karlstaging.gocept.com/">home page</a>.
 </p>

   <!--
       Traceback (most recent call last):
  File "/srv/karlstaging/staging/11/src/karl/karl/errorpage.py", line 60, in __call__
    resp = req.get_response(self.app)
  File "/srv/karlstaging/staging/11/eggs/WebOb-1.1.1-py2.6.egg/webob/request.py", line 1086, in get_response
    application, catch_exc_info=False)
  File "/srv/karlstaging/staging/11/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/karlstaging/staging/11/src/karl/karl/errorlog.py", line 18, in middleware
    return app(environ, start_response)
  File "/srv/karlstaging/staging/11/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/karlstaging/staging/11/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/karlstaging/staging/11/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/karlstaging/staging/11/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/karlstaging/staging/11/eggs/repoze.urchin-0.2-py2.6.egg/repoze/urchin/__init__.py", line 53, in __call__
    resp = req.get_response(self.app)
  File "/srv/karlstaging/staging/11/eggs/WebOb-1.1.1-py2.6.egg/webob/request.py", line 1086, in get_response
    application, catch_exc_info=False)
  File "/srv/karlstaging/staging/11/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/karlstaging/staging/11/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 176, in __call__
    response = self.handle_request(request)
  File "/srv/karlstaging/staging/1...

Read more...

Changed in karl3:
assignee: JimPGlenn (jpglenn09) → Paul Everitt (paul-agendaless)
summary: - getting general error for accessing wiki index
+ Wiki index gives ValueError: Missing template asset:
+ karl.content.views:show_wikitoc.pt
Changed in karl3:
assignee: Paul Everitt (paul-agendaless) → Carlos de la Guardia (cguardia)
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

This is because Chris's metarenderer is looking for:

  src/karl/karl/content/views/show_wikitoc.pt

...instead of:

  src/karl/karl/content/views/templates/show_wikitoc.pt

Changed in karl3:
importance: Medium → High
milestone: m95 → m96
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Chris fixed this one. I confirmed the fix.

Changed in karl3:
assignee: Carlos de la Guardia (cguardia) → Chris Rossi (chris-archimedeanco)
status: New → Fix Committed
JimPGlenn (jpglenn09)
tags: added: r3.83
JimPGlenn (jpglenn09)
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.