Ask Your Question
1

Error on upload [fixed]

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

graeme gravatar image graeme
317 16 5 15
http://investmentqa.com/

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

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
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.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

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

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

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.

link publish delete flag offensive edit

Comments

Both this and the migration work correctly after I did pip install --upgrade askbot and then applied the migration. Thanks again. graeme ( 2010-11-02 05:27:05 -0500 )edit

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]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 42 times

Last updated: Nov 01 '10