Cannot translate loader: askbot.skins.loaders.filesystem_load_template_source

asked 2013-07-15 12:59:59 -0600

CitizenKevin gravatar image

When I run the django development server I get the following error: "" /site-packages/coffin/ 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 "" 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/ in get_response response = callback(request, callback_args, *callback_kwargs) ... ▶ Local vars

/home/vogelsang/ChallengeHunting/Aerio/server/../server/website/ 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/ in render_into_skin template = get_template(template, request) ... ▶ Local vars

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

/home/vogelsang/.virtualenvs/iCheck/local/lib/python2.7/site-packages/jinja2/ 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/ in _load_template template = self.loader.load(self, name, globals) ... ▶ Local vars

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

edit retag flag offensive close merge delete


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 gravatar imageCitizenKevin ( 2013-07-15 13:46:59 -0600 )edit