MultiValueDictKeyError at /clean

Home

GET Request URL: http://wordoff.org/clean Exception Type: MultiValueDictKeyError Exception Value: "Key 'html' not found in " Exception Location: /base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/datastructures.py in __getitem__, line 136 Traceback (innermost last) Switch to copy-and-paste view /base/python_runtime/python_lib/versions/third_party/django-0.96/django/core/handlers/base.py in get_response response = callback(request, *callback_args, **callback_kwargs) ... ▶ Local vars /base/data/home/apps/tm/1.331713733357198298/views.py in clean input = request.POST["html"] ... ▶ Local vars /base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/datastructures.py in __getitem__ raise MultiValueDictKeyError, "Key %r not found in %r" % (key, self) ... ▶ Local vars Request information GET No GET data POST No POST data COOKIES No cookie data META Variable Value APPLICATION_ID 'tm' AUTH_DOMAIN 'gmail.com' CURRENT_VERSION_ID '1.331713733357198298' DATACENTER 'na7' DEFAULT_VERSION_HOSTNAME 'tm.appspot.com' HTTPS 'off' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_HOST 'wordoff.org' HTTP_REFERER 'http://boakes.org/links/wordoff/' HTTP_USER_AGENT 'Mozilla/5.0 (compatible; archive.org_bot +http://www.archive.org/details/archive.org_bot)' HTTP_X_APPENGINE_COUNTRY 'US' HTTP_X_ZOO 'app-id=tm' PATH_INFO '/clean' PATH_TRANSLATED '/base/data/home/apps/tm/1.331713733357198298/main.py' QUERY_STRING '' REMOTE_ADDR '207.241.237.234' REQUEST_ID_HASH 'A1B48A08' REQUEST_METHOD 'GET' SCRIPT_NAME '' SERVER_NAME 'wordoff.org' SERVER_PORT '80' SERVER_PROTOCOL 'HTTP/1.1' SERVER_SOFTWARE 'Google App Engine/1.5.1' TZ 'UTC' USER 'apphosting' USER_EMAIL '' USER_ID '' USER_IS_ADMIN '0' USER_NICKNAME '' USER_ORGANIZATION '' wsgi.errors wsgi.input wsgi.multiprocess False wsgi.multithread False wsgi.run_once True wsgi.url_scheme 'http' wsgi.version (1, 0) Settings Using settings module settings Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS (('Tom', 'thomasdyson@gmail.com'),) ADMIN_FOR () ADMIN_MEDIA_PREFIX '/media/' ALLOWED_INCLUDE_ROOTS () APPEND_SLASH False AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',) BANNED_IPS () CACHE_BACKEND 'simple://' CACHE_MIDDLEWARE_KEY_PREFIX '' COMMENTS_ALLOW_PROFANITIES False COMMENTS_BANNED_USERS_GROUP None COMMENTS_FIRST_FEW 0 COMMENTS_MODERATORS_GROUP None COMMENTS_SKETCHY_USERS_GROUP None DATABASE_ENGINE 'dummy' DATABASE_HOST '' DATABASE_NAME '' DATABASE_OPTIONS {} DATABASE_PASSWORD '********************' DATABASE_PORT '' DATABASE_USER '' DATETIME_FORMAT 'N j, Y, P' DATE_FORMAT 'N j, Y' DEBUG True DEFAULT_CHARSET 'utf-8' DEFAULT_CONTENT_TYPE 'text/html' DEFAULT_FROM_EMAIL 'website@wychnet.org' DISALLOWED_USER_AGENTS () EMAIL_HOST 'localhost' EMAIL_HOST_PASSWORD '********************' EMAIL_HOST_USER '' EMAIL_PORT 25 EMAIL_SUBJECT_PREFIX '[Django] ' FIXTURE_DIRS () IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf') INSTALLED_APPS ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin'] INTERNAL_IPS () JING_PATH '/usr/bin/jing' LANGUAGES (('ar', 'Arabic'), ('bn', 'Bengali'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fi', 'Finnish'), ('fr', 'French'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) LANGUAGES_BIDI ('he', 'ar') LANGUAGE_CODE 'en-gb' MANAGERS (('Tom', 'thomasdyson@gmail.com'),) MEDIA_ROOT '/usr/local/django/wychnet/static/' MEDIA_URL 'http://localhost:8000/static/' MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware') MONTH_DAY_FORMAT 'F j' PREPEND_WWW False PROFANITIES_LIST '********************' ROOT_PATH '/base/data/home/apps/tm/1.331713733357198298' ROOT_URLCONF 'urls' SECRET_KEY '********************' SEND_BROKEN_LINK_EMAILS False SERVER_EMAIL 'root@localhost' SESSION_COOKIE_AGE 1209600 SESSION_COOKIE_DOMAIN None SESSION_COOKIE_NAME 'sessionid' SESSION_COOKIE_SECURE False SESSION_EXPIRE_AT_BROWSER_CLOSE False SESSION_SAVE_EVERY_REQUEST False SETTINGS_MODULE 'settings' SITE_ID 1 TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n') TEMPLATE_DEBUG True TEMPLATE_DIRS ('/base/data/home/apps/tm/1.331713733357198298/templates',) TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source') TEMPLATE_STRING_IF_INVALID '' TEST_DATABASE_NAME None TEST_RUNNER 'django.test.simple.run_tests' TIME_FORMAT 'P' TIME_ZONE 'Europe/London' TRANSACTIONS_MANAGED False URL_VALIDATOR_USER_AGENT 'Django/0.96.2 (http://www.djangoproject.com)' USE_ETAGS False USE_I18N True YEAR_MONTH_FORMAT 'F Y' You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.