First time here? Check out the FAQ!
0

Makemessages error
 

So, I'am in askbot directory and launch command:

python ../manage.py jinja2_makemessages -l ru -e html,py,txt

... and get error (traceback)

How to solve that?

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)
bluebyte's avatar
65
bluebyte
asked 12 years ago

Comments

Do other commands work? For example - can you launch "runserver"?

Evgeny's avatar Evgeny (12 years ago)

runserver works. compilemessages, collectstatic, migrate also works

bluebyte's avatar bluebyte (12 years ago)

@Evgeny no ideas?

bluebyte's avatar bluebyte (12 years ago)

Btw there may be an alternative way to deal with the translations - using the babel package, but I have not investigated this method.

Evgeny's avatar Evgeny (12 years ago)
see more comments

1 Answer

0

I've tried to run that command and there were some issues - now fixed in the repo - (but not related to the ones that you have encountered).

This: askbot.deps.livesettings.models.SettingNotSet: ("Startup error, couldn't load EXTERNAL_KEYS.RECAPTCHA_SECRET", None) is often a sign of either a missing library dependency, issues with the cache setup (please use at least locmem, do not use dummy), possibly issue with the database support in MySQL - this latter one could be due to a bugs in Askbot.

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
answered 12 years ago, updated 12 years ago
link

Comments

see more comments