Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[14:22:18] bcorrales:askbot-mac $ python manage.py runserver
Validating models...
************************
* *
* Askbot self-test *
* *
************************
Your output encoding is not UTF-8, there may be issues with the software when anything is printed to the terminal or log files
Traceback (most recent call last):
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/values.py", line 306, in _value
val = self.setting.value
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/values.py", line 288, in _setting
return find_setting(self.group.key, self.key)
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/models.py", line 37, in find_setting
setting = cache_get(ck)
File "/Library/Python/2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg/keyedcache/__init__.py", line 184, in cache_get
cache_require()
File "/Library/Python/2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg/keyedcache/__init__.py", line 295, in cache_require
cache_set(key,value='1')
File "/Library/Python/2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg/keyedcache/__init__.py", line 234, in cache_set
cache.set(key, val, length)
File "/Library/Python/2.7/site-packages/redis_cache/cache.py", line 214, in set
result = self._set(key, pickle.dumps(value), int(timeout), client)
File "/Library/Python/2.7/site-packages/redis_cache/cache.py", line 195, in _set
return client.setex(key, value, int(timeout))
File "/Library/Python/2.7/site-packages/redis/client.py", line 1144, in setex
return self.execute_command('SETEX', name, time, value)
File "/Library/Python/2.7/site-packages/redis/client.py", line 283, in execute_command
connection.send_command(*args)
File "/Library/Python/2.7/site-packages/redis/connection.py", line 260, in send_command
self.send_packed_command(self.pack_command(*args))
File "/Library/Python/2.7/site-packages/redis/connection.py", line 243, in send_packed_command
self.connect()
File "/Library/Python/2.7/site-packages/redis/connection.py", line 191, in connect
raise ConnectionError(self._error_message(e))
ConnectionError: Error 61 connecting localhost:6379. Connection refused.
("Startup error, couldn't load EXTERNAL_KEYS.RECAPTCHA_SECRET", None)
Traceback (most recent call last):
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/values.py", line 306, in _value
val = self.setting.value
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/values.py", line 288, in _setting
return find_setting(self.group.key, self.key)
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/models.py", line 37, in find_setting
setting = cache_get(ck)
File "/Library/Python/2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg/keyedcache/__init__.py", line 198, in cache_get
obj = cache.get(key)
File "/Library/Python/2.7/site-packages/redis_cache/cache.py", line 182, in get
value = self._client.get(key)
File "/Library/Python/2.7/site-packages/redis/client.py", line 423, in get
return self.execute_command('GET', name)
File "/Library/Python/2.7/site-packages/redis/client.py", line 283, in execute_command
connection.send_command(*args)
File "/Library/Python/2.7/site-packages/redis/connection.py", line 260, in send_command
self.send_packed_command(self.pack_command(*args))
File "/Library/Python/2.7/site-packages/redis/connection.py", line 243, in send_packed_command
self.connect()
File "/Library/Python/2.7/site-packages/redis/connection.py", line 191, in connect
raise ConnectionError(self._error_message(e))
ConnectionError: Error 61 connecting localhost:6379. Connection refused.
Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x108cc03d0>>
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/django/core/management/commands/runserver.py", line 88, in inner_run
self.validate(display_num_errors=True)
File "/Library/Python/2.7/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/Library/Python/2.7/site-packages/django/core/management/validation.py", line 35, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/Library/Python/2.7/site-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/Library/Python/2.7/site-packages/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/Library/Python/2.7/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/Library/Python/2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/models/__init__.py", line 25, in <module>
from askbot.models.question import Thread
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/models/question.py", line 18, in <module>
from askbot.models.post import Post, PostRevision
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/models/post.py", line 26, in <module>
from askbot.models.user import EmailFeedSetting
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/models/user.py", line 16, in <module>
from askbot.forms import DomainNameField
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/forms.py", line 586, in <module>
class NotARobotForm(forms.Form):
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/forms.py", line 588, in NotARobotForm
private_key = askbot_settings.RECAPTCHA_SECRET,
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/conf/settings_wrapper.py", line 50, in __getattr__
return getattr(self.__instance, key).value
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/values.py", line 384, in value
val = self._value()
File "/Users/bcorrales/code/django/personal/askbot-devel/askbot/deps/livesettings/values.py", line 340, in _value
raise SettingNotSet("Startup error, couldn't load %s.%s" %(self.group.key, self.key))
askbot.deps.livesettings.models.SettingNotSet: ("Startup error, couldn't load EXTERNAL_KEYS.RECAPTCHA_SECRET", None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.