First time here? Check out the FAQ!
1

coffin warning: cannot translate loader

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.

Benoit's avatar
875
Benoit
asked 2010-10-26 09:45:56 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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).

Evgeny's avatar
13.2k
Evgeny
updated 2010-10-26 12:07:30 -0500, answered 2010-10-26 11:49:18 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments