First time here? Check out the FAQ!
1

Error on upload [fixed]
 

When I try to upload a new logo from "Skin and User Interface Settings" I get the following error:

MSG: pagesize.py:process_exception:44 "Key 'GENERAL_SKIN_SETTINGS__LOCAL_LOGIN_ICON' not found in <MultiValueDict: {u'GENERAL_SKIN_SETTINGS__SITE_LOGO_URL': [<InMemoryUploadedFile: logo.png (image/png)>]}>"

The error is as it appears in the askbot log.

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
updated 14 years ago
graeme's avatar
319
graeme
asked 14 years ago

Comments

see more comments

1 Answer

1

I think I've fixed this one more or less - you can upload logo as long as you use only .jpg, .png or .gif file extensions (code is both on github and pypi)

There is still a strange issue - if you upload file with extension outside above list (e.g. .jpeg), it will let you upload, but will not allow uploading any more files on the same page. Very odd, I'll try to sort this out soon too.

Found the bug finally. Thanks.

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

Comments

Both this and the migration work correctly after I did pip install --upgrade askbot and then applied the migration. Thanks again.
graeme's avatar graeme (14 years ago)
see more comments