okfn / ckanext-datahub

Plugin for datahub
datahub.io
11 stars 7 forks source link

TemplateNotFound: Template package/resource_embedded_dataviewer.html cannot be found #76

Open pwalsh opened 8 years ago

pwalsh commented 8 years ago

Background

@amercader

Browser: Googlebot 2.1 URL: http://datahub.io/dataset/8c26a921-fd8b-4c28-af67-060a0bf9cf4a/resource/e52cb310-f66b-497f-898e-24f418970d12/embed

Issue

TemplateNotFound: Template package/resource_embedded_dataviewer.html cannot be found
  File "raven/middleware.py", line 35, in __call__
    iterable = self.application(environ, start_response)
  File "webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "fanstatic/publisher.py", line 234, in __call__
    return request.get_response(self.app)
  File "webob/request.py", line 1053, in get_response
    application, catch_exc_info=False)
  File "webob/request.py", line 1022, in call_application
    app_iter = application(self.environ, start_response)
  File "webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "fanstatic/injector.py", line 54, in __call__
    response = request.get_response(self.app)
  File "webob/request.py", line 1053, in get_response
    application, catch_exc_info=False)
  File "webob/request.py", line 1022, in call_application
    app_iter = application(self.environ, start_response)
  File "ckan/config/middleware.py", line 389, in inner
    result = application(environ, start_response)
  File "beaker/middleware.py", line 73, in __call__
    return self.app(environ, start_response)
  File "beaker/middleware.py", line 155, in __call__
    return self.wrap_app(environ, session_start_response)
  File "routes/middleware.py", line 131, in __call__
    response = self.app(environ, start_response)
  File "pylons/wsgiapp.py", line 125, in __call__
    response = self.dispatch(controller, environ, start_response)
  File "pylons/wsgiapp.py", line 324, in dispatch
    return controller(environ, start_response)
  File "ckan/lib/base.py", line 338, in __call__
    res = WSGIController.__call__(self, environ, start_response)
  File "pylons/controllers/core.py", line 221, in __call__
    response = self._dispatch_call()
  File "pylons/controllers/core.py", line 172, in _dispatch_call
    response = self._inspect_call(func)
  File "pylons/controllers/core.py", line 107, in _inspect_call
    result = self._perform_call(func, args)
  File "ckan/controllers/package.py", line 1395, in resource_embedded_dataviewer
    extra_vars={'dataset_type': dataset_type})
  File "ckan/lib/base.py", line 217, in render
    loader_class=loader_class)
  File "pylons/templating.py", line 249, in cached_template
    return render_func()
  File "ckan/lib/base.py", line 129, in render_template
    template_path, template_type = render_.template_info(template_name)
  File "ckan/lib/render.py", line 54, in template_info
    raise TemplateNotFound('Template %s cannot be found' % template_name)