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?

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)
coldsystem's avatar
31
coldsystem
asked 12 years ago, updated 12 years ago

Comments

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.

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)
Fitoria's avatar
1.1k
Fitoria
answered 12 years ago, updated 12 years ago
link

Comments

1

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

coldsystem's avatar coldsystem (12 years ago)
see more comments
0

any one have an answer of this ?

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)
coldsystem's avatar
31
coldsystem
answered 12 years ago
link

Comments

see more comments
0

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

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
link

Comments

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

coldsystem's avatar coldsystem (12 years ago)

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

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