Cannot translate loader: askbot.skins.loaders.filesystem_load_template_source

When I run the django development server I get the following error: "" /site-packages/coffin/common.py:73: UserWarning: Cannot translate loader: askbot.skins.loaders.filesystem_load_template_source warnings.warn('Cannot translate loader: %s' % loader) 0 errors found Django version 1.3.1, using settings 'server.settings' Development server is running at http://127.0.0.1:8000/ "" The server continues to run however I get a "TemplateNotFound" Error. We have our customs skins in a separate directory and have "ASKBOT_EXTRA_SKINS_DIR" set.

This could be 2 separate problems but looking at the trace it seems that they're probably related since Jinja is failing to load the template.

Here are what I think to be the relevant dependencies.

Coffin==0.3.8 Django==1.3.1 Jinja2==2.7 askbot==0.7.43

Here is the TemplateNotFound error trace:

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/django/core/handlers/base.py in get_response response = callback(request, callback_args, *callback_kwargs) ... ▶ Local vars

/home/vogelsang/ChallengeHunting/Aerio/server/../server/website/views.py in home return render_into_skin('home.html', {'active_tab':'h'}, request) ... ▶ Local vars

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/askbot/skins/loaders.py in render_into_skin template = get_template(template, request) ... ▶ Local vars

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/askbot/skins/loaders.py in get_template return skin.get_template(template) ... ▶ Local vars

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/jinja2/environment.py in get_template return self._load_template(name, self.make_globals(globals)) ... ▶ Local vars

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/jinja2/environment.py in _load_template template = self.loader.load(self, name, globals) ... ▶ Local vars

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/jinja2/loaders.py in load raise TemplateNotFound(name) ... ▶ Local vars

CitizenKevin's avatar
1
CitizenKevin
asked 2013-07-15 12:59:59 -0600
edit flag offensive 0 remove flag close merge delete

Comments

I added a line to the livesetting_setting table that indicated which custom skin to use, which solved the "TemplateNotFound" error. However, the warning from Coffin is still persisting. But, the test environment is working!

CitizenKevin's avatar CitizenKevin (2013-07-15 13:46:59 -0600) edit
add a comment see more comments