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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Benoit's avatar
875
Benoit
asked 14 years ago

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
link

Comments

see more comments