Ask Your Question
1

Error on upload [fixed]

asked Nov 01 '10

graeme gravatar image graeme
307 1 4 11
http://investmentqa.com/

updated Nov 01 '10

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

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.

1 Answer

Sort by ยป oldest newest most voted
1
graeme has selected this answer as correct

answered Nov 01 '10

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

updated Nov 01 '10

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.

link

Comments

Both this and the migration work correctly after I did pip install --upgrade askbot and then applied the migration. Thanks again. graeme (Nov 02 '10)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Nov 01 '10

Seen: 37 times

Last updated: Nov 01 '10