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.

Evgeny's avatar
13.2k
Evgeny
updated 2010-11-01 22:02:09 -0600
graeme's avatar
319
graeme
asked 2010-11-01 16:26:35 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment 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.

Evgeny's avatar
13.2k
Evgeny
updated 2010-11-01 22:01:53 -0600, answered 2010-11-01 18:23:54 -0600
edit flag offensive 0 remove flag delete 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 (2010-11-02 05:27:05 -0600) edit
add a comment see more comments