Ask Your Question

Error on upload [fixed]

asked 2010-11-01 16:26:35 -0500

graeme's avatar

updated 2010-11-01 22:02:09 -0500

Evgeny's avatar

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

MSG: "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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2010-11-01 18:23:54 -0500

Evgeny's avatar

updated 2010-11-01 22:01:53 -0500

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.

edit flag offensive delete link more


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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2010-11-01 16:26:35 -0500

Seen: 181 times

Last updated: Nov 01 '10