Ask Your Question
1

coffin warning: cannot translate loader

asked 2010-10-26 09:45:56 -0500

Benoit gravatar image

I'm running the send_mail_alerts command and I get the following warning:

/usr/local/lib/python2.6/site-packages/Coffin-0.3-py2.6.egg/coffin/common.py:54:
  UserWarning: Cannot translate loader: askbot.skins.loaders.load_template_source
    warnings.warn('Cannot translate loader: %s' % loader)

Is there some environment variable I forgot to set? The askbot/skins/loader.py is present.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2010-10-26 11:49:18 -0500

Evgeny gravatar image

updated 2010-10-26 12:07:30 -0500

No, it won't stop the program from working since it's a warning, not exception. The coffin module for some reason does not like the django version of askbot skin template loader.

The send_email_alerts is slow and probably won't work when number of users gets to several thousand. It will have to be rewritten (or at least the queries will need to be optimized).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-10-26 09:45:56 -0500

Seen: 413 times

Last updated: Oct 26 '10