Ask Your Question
1

coffin warning: cannot translate loader

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

Benoit gravatar image Benoit flag of United States
865 22 8 31

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.

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

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

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 185 times

Last updated: Oct 26 '10