First time here? Check out the FAQ!
0

KeyError at /questions/

Upgraded from 07.43 to 0.7.48 manage.py syncdb manage.py migrate askbot 0160

manager runserver ip:port

i have this :

KeyError at /questions/
u'common'
Request Method: GET
Request URL:    http://xxxx.com:443/questions/
Django Version: 1.4.3
Exception Type: KeyError
Exception Value:    
u'common'
Exception Location: /opt/SITE-PROJECT/askbot/skins/loaders.py in get_skin, line 84
Python Executable:  /usr/bin/python
Python Version: 2.6.6

How to solve this?

coldsystem's avatar
31
coldsystem
asked 2013-02-07 05:03:50 -0500, updated 2013-02-07 05:04:23 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

1

try this: Login into the django shell

python manage.py  shell

and then do the following.

from askbot.conf import settings
settings.update('ASKBOT_DEFAULT_SKIN', 'default')

The "common" skin is no longer usable.

Fitoria's avatar
1.1k
Fitoria
answered 2013-02-12 10:16:05 -0500, updated 2013-02-12 10:17:03 -0500
edit flag offensive 0 remove flag delete link

Comments

1

i have one word for you : Thanks. oh my god , my forum comes back

coldsystem's avatar coldsystem (2013-02-12 10:20:35 -0500) edit
add a comment see more comments
0

any one have an answer of this ?

coldsystem's avatar
31
coldsystem
answered 2013-02-12 04:43:56 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Go to /settings/GENERAL_SKIN_SETTINGS/ and change default skin to something that exists in the dropdown.

Evgeny's avatar
13.2k
Evgeny
answered 2013-02-12 10:07:45 -0500
edit flag offensive 0 remove flag delete link

Comments

you mean that i have to edit setting.py ? i see no GENERAL_SKIN_SETTINGS on this file ?

coldsystem's avatar coldsystem (2013-02-12 10:14:12 -0500) edit

You can do it either from shell like Adolfo says or at url on your site that I gave.

Evgeny's avatar Evgeny (2013-02-12 10:18:01 -0500) edit
add a comment see more comments