Ticket #15012: cache_page.error

File cache_page.error, 10.7 KB (added by vkojouharov@…, 14 years ago)

traceback, META and settings

Line 
1Environment:
2
3
4Request Method: GET
5Request URL: http://localhost:8000/bg/
6
7Django Version: 1.3 beta 1
8Python Version: 2.6.6
9Installed Applications:
10['localeurl',
11 'django.contrib.auth',
12 'django.contrib.contenttypes',
13 'django.contrib.sessions',
14 'django.contrib.sites',
15 'django.contrib.messages',
16 'django.contrib.admin',
17 'registration',
18 'main']
19Installed Middleware:
20('localeurl.middleware.LocaleURLMiddleware',
21 'django.middleware.common.CommonMiddleware',
22 'django.contrib.sessions.middleware.SessionMiddleware',
23 'django.middleware.csrf.CsrfViewMiddleware',
24 'django.contrib.auth.middleware.AuthenticationMiddleware',
25 'django.contrib.messages.middleware.MessageMiddleware')
26
27
28Traceback:
29File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response
30 111. response = callback(request, *callback_args, **callback_kwargs)
31File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py" in _wrapped_view
32 101. result = middleware.process_response(request, response)
33File "/usr/local/lib/python2.6/dist-packages/django/middleware/cache.py" in process_response
34 89. self.cache.set(cache_key, response, timeout)
35File "/usr/local/lib/python2.6/dist-packages/django/core/cache/backends/memcached.py" in set
36 64. self._cache.set(key, value, self._get_memcache_timeout(timeout))
37File "/usr/local/lib/python2.6/dist-packages/memcache.py" in set
38 525. return self._set("set", key, val, time, min_compress_len)
39File "/usr/local/lib/python2.6/dist-packages/memcache.py" in _set
40 739. store_info = self._val_to_store_info(val, min_compress_len)
41File "/usr/local/lib/python2.6/dist-packages/memcache.py" in _val_to_store_info
42 711. pickler.dump(val)
43File "/usr/lib/python2.6/copy_reg.py" in _reduce_ex
44 70. raise TypeError, "can't pickle %s objects" % base.__name__
45
46Exception Type: TypeError at /
47Exception Value: can't pickle Input objects
48
49
50META:
51CSRF_COOKIE
52'be011988460192dcf0d69ef2b35e4ec8'
53DISPLAY
54':0.0'
55DOCUMENT_ROOT
56'/home/urandom/Projects/location/public'
57GATEWAY_INTERFACE
58'CGI/1.1'
59HTTP_ACCEPT
60'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
61HTTP_ACCEPT_CHARSET
62'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
63HTTP_ACCEPT_ENCODING
64'gzip,deflate,sdch'
65HTTP_ACCEPT_LANGUAGE
66'en-US,en;q=0.8'
67HTTP_CONNECTION
68'keep-alive'
69HTTP_HOST
70'localhost:8000'
71HTTP_USER_AGENT
72'Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.15 (KHTML, like Gecko) Ubuntu/10.10 Chromium/10.0.612.1 Chrome/10.0.612.1 Safari/534.15'
73PATH_INFO
74u'/bg/'
75PATH_TRANSLATED
76'/home/urandom/Projects/location/apache/django.wsgi/bg/'
77QUERY_STRING
78''
79REMOTE_ADDR
80'127.0.0.1'
81REMOTE_PORT
82'49293'
83REQUEST_METHOD
84'GET'
85REQUEST_URI
86'/bg/'
87SCRIPT_FILENAME
88'/home/urandom/Projects/location/apache/django.wsgi'
89SCRIPT_NAME
90u''
91SERVER_ADDR
92'127.0.0.1'
93SERVER_ADMIN
94'webmaster@localhost'
95SERVER_NAME
96'localhost'
97SERVER_PORT
98'8000'
99SERVER_PROTOCOL
100'HTTP/1.1'
101SERVER_SIGNATURE
102'<address>Apache/2.2.16 (Ubuntu) Server at localhost Port 8000</address>\n'
103SERVER_SOFTWARE
104'Apache/2.2.16 (Ubuntu)'
105mod_wsgi.application_group
106'localhost.localdomain:8000|'
107mod_wsgi.callable_object
108'application'
109mod_wsgi.handler_script
110''
111mod_wsgi.input_chunked
112'0'
113mod_wsgi.listener_host
114''
115mod_wsgi.listener_port
116'8000'
117mod_wsgi.process_group
118''
119mod_wsgi.request_handler
120'wsgi-script'
121mod_wsgi.script_reloading
122'1'
123mod_wsgi.version
124(3, 2)
125wsgi.errors
126<mod_wsgi.Log object at 0x7ff49c14c730>
127wsgi.file_wrapper
128''
129wsgi.input
130<mod_wsgi.Input object at 0x7ff49c14c6f0>
131wsgi.multiprocess
132True
133wsgi.multithread
134False
135wsgi.run_once
136False
137wsgi.url_scheme
138'http'
139wsgi.version
140(1, 1)
141
142SETTINGS:
143
144ABSOLUTE_URL_OVERRIDES
145{}
146ACCOUNT_ACTIVATION_DAYS
1471
148ADMINS
149()
150ADMIN_FOR
151()
152ADMIN_MEDIA_PREFIX
153'/media/'
154ALLOWED_INCLUDE_ROOTS
155()
156APPEND_SLASH
157True
158AUTHENTICATION_BACKENDS
159('django.contrib.auth.backends.ModelBackend',)
160AUTH_PROFILE_MODULE
161'main.UserProfile'
162BANNED_IPS
163()
164CACHES
165{'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
166 'LOCATION': '127.0.0.1:11211'}}
167CACHE_BACKEND
168'locmem://'
169CACHE_MIDDLEWARE_ALIAS
170'default'
171CACHE_MIDDLEWARE_KEY_PREFIX
172''
173CACHE_MIDDLEWARE_SECONDS
174600
175COMMENTS_ALLOW_PROFANITIES
176False
177COMMENTS_BANNED_USERS_GROUP
178None
179COMMENTS_FIRST_FEW
1800
181COMMENTS_MODERATORS_GROUP
182None
183COMMENTS_SKETCHY_USERS_GROUP
184None
185CSRF_COOKIE_DOMAIN
186None
187CSRF_COOKIE_NAME
188'csrftoken'
189CSRF_FAILURE_VIEW
190'django.views.csrf.csrf_failure'
191DATABASES
192{'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
193 'HOST': '',
194 'NAME': 'location',
195 'OPTIONS': {},
196 'PASSWORD': '********************',
197 'PORT': '',
198 'TEST_CHARSET': None,
199 'TEST_COLLATION': None,
200 'TEST_MIRROR': None,
201 'TEST_NAME': None,
202 'TIME_ZONE': 'Europe/Sofia',
203 'USER': 'urandom'}}
204DATABASE_ENGINE
205''
206DATABASE_HOST
207''
208DATABASE_NAME
209''
210DATABASE_OPTIONS
211{}
212DATABASE_PASSWORD
213'********************'
214DATABASE_PORT
215''
216DATABASE_ROUTERS
217[]
218DATABASE_USER
219''
220DATETIME_FORMAT
221'N j, Y, P'
222DATETIME_INPUT_FORMATS
223('%Y-%m-%d %H:%M:%S',
224 '%Y-%m-%d %H:%M',
225 '%Y-%m-%d',
226 '%m/%d/%Y %H:%M:%S',
227 '%m/%d/%Y %H:%M',
228 '%m/%d/%Y',
229 '%m/%d/%y %H:%M:%S',
230 '%m/%d/%y %H:%M',
231 '%m/%d/%y')
232DATE_FORMAT
233'N j, Y'
234DATE_INPUT_FORMATS
235('%Y-%m-%d',
236 '%m/%d/%Y',
237 '%m/%d/%y',
238 '%b %d %Y',
239 '%b %d, %Y',
240 '%d %b %Y',
241 '%d %b, %Y',
242 '%B %d %Y',
243 '%B %d, %Y',
244 '%d %B %Y',
245 '%d %B, %Y')
246DEBUG
247True
248DEBUG_PROPAGATE_EXCEPTIONS
249False
250DECIMAL_SEPARATOR
251'.'
252DEFAULT_CHARSET
253'utf-8'
254DEFAULT_CONTENT_TYPE
255'text/html'
256DEFAULT_FILE_STORAGE
257'django.core.files.storage.FileSystemStorage'
258DEFAULT_FROM_EMAIL
259'webmaster@location.bg'
260DEFAULT_INDEX_TABLESPACE
261''
262DEFAULT_TABLESPACE
263''
264DISALLOWED_USER_AGENTS
265()
266EMAIL_BACKEND
267'django.core.mail.backends.smtp.EmailBackend'
268EMAIL_HOST
269'localhost'
270EMAIL_HOST_PASSWORD
271'********************'
272EMAIL_HOST_USER
273''
274EMAIL_PORT
27525
276EMAIL_SUBJECT_PREFIX
277'[Django] '
278EMAIL_USE_TLS
279False
280FILE_CHARSET
281'utf-8'
282FILE_UPLOAD_HANDLERS
283('django.core.files.uploadhandler.MemoryFileUploadHandler',
284 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
285FILE_UPLOAD_MAX_MEMORY_SIZE
2862621440
287FILE_UPLOAD_PERMISSIONS
288None
289FILE_UPLOAD_TEMP_DIR
290None
291FIRST_DAY_OF_WEEK
2920
293FIXTURE_DIRS
294()
295FORCE_SCRIPT_NAME
296None
297FORMAT_MODULE_PATH
298None
299IGNORABLE_404_ENDS
300('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
301IGNORABLE_404_STARTS
302('/cgi-bin/', '/_vti_bin', '/_vti_inf')
303INSTALLED_APPS
304['localeurl',
305 'django.contrib.auth',
306 'django.contrib.contenttypes',
307 'django.contrib.sessions',
308 'django.contrib.sites',
309 'django.contrib.messages',
310 'django.contrib.admin',
311 'registration',
312 'main']
313INTERNAL_IPS
314()
315KEYS_PATH
316'/home/urandom/Projects/location/apache/keys'
317LANGUAGES
318(('bg', 'Bulgarian'), ('en', 'English'))
319LANGUAGES_BIDI
320('he', 'ar', 'fa')
321LANGUAGE_CODE
322'bg-bg'
323LANGUAGE_COOKIE_NAME
324'django_language'
325LOCALE_PATHS
326()
327LOGGING
328{'formatters': {'db': {'format': '%(asctime)s %(module)s %(message)s > %(sql)s - %(params)s : %(duration)s'},
329 'simple': {'format': '%(levelname)s %(message)s'},
330 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}},
331 'handlers': {'console': {'class': 'logging.StreamHandler',
332 'formatter': 'simple',
333 'level': 'DEBUG'},
334 'django_debug': {'backupCount': 3,
335 'class': 'logging.handlers.RotatingFileHandler',
336 'filename': '/home/urandom/Projects/location/apache/django_debug.log',
337 'formatter': 'db',
338 'level': 'DEBUG',
339 'maxBytes': 1073741824},
340 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
341 'level': 'ERROR'},
342 'null': {'class': 'django.utils.log.NullHandler',
343 'level': 'DEBUG'}},
344 'loggers': {'django.db.backends': {'handlers': ['django_debug'],
345 'level': 'DEBUG',
346 'propagate': False}},
347 'version': 1}
348LOGGING_CONFIG
349'django.utils.log.dictConfig'
350LOGIN_REDIRECT_URL
351'/'
352LOGIN_URL
353'/accounts/login/'
354LOGOUT_URL
355'/accounts/logout/'
356MANAGERS
357()
358MEDIA_ROOT
359'/home/urandom/Projects/location/public/media/'
360MEDIA_URL
361'/media/'
362MESSAGE_STORAGE
363'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
364MIDDLEWARE_CLASSES
365('localeurl.middleware.LocaleURLMiddleware',
366 'django.middleware.common.CommonMiddleware',
367 'django.contrib.sessions.middleware.SessionMiddleware',
368 'django.middleware.csrf.CsrfViewMiddleware',
369 'django.contrib.auth.middleware.AuthenticationMiddleware',
370 'django.contrib.messages.middleware.MessageMiddleware')
371MONTH_DAY_FORMAT
372'F j'
373NUMBER_GROUPING
3740
375PASSWORD_RESET_TIMEOUT_DAYS
376'********************'
377PREPEND_WWW
378False
379PROFANITIES_LIST
380'********************'
381ROOT_URLCONF
382'urls'
383SECRET_KEY
384'********************'
385SEND_BROKEN_LINK_EMAILS
386False
387SERVER_EMAIL
388'root@localhost'
389SESSION_COOKIE_AGE
3901209600
391SESSION_COOKIE_DOMAIN
392None
393SESSION_COOKIE_HTTPONLY
394False
395SESSION_COOKIE_NAME
396'sessionid'
397SESSION_COOKIE_PATH
398'/'
399SESSION_COOKIE_SECURE
400False
401SESSION_ENGINE
402'django.contrib.sessions.backends.db'
403SESSION_EXPIRE_AT_BROWSER_CLOSE
404False
405SESSION_FILE_PATH
406None
407SESSION_SAVE_EVERY_REQUEST
408False
409SETTINGS_MODULE
410'settings'
411SHORT_DATETIME_FORMAT
412'm/d/Y P'
413SHORT_DATE_FORMAT
414'm/d/Y'
415SITE_ID
4161
417STATICFILES_DIRS
418()
419STATICFILES_FINDERS
420('django.contrib.staticfiles.finders.FileSystemFinder',
421 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
422STATICFILES_STORAGE
423'django.contrib.staticfiles.storage.StaticFilesStorage'
424STATIC_ROOT
425''
426STATIC_URL
427None
428TEMPLATE_CONTEXT_PROCESSORS
429('django.contrib.auth.context_processors.auth',
430 'django.core.context_processors.debug',
431 'django.core.context_processors.i18n',
432 'django.core.context_processors.media',
433 'django.core.context_processors.static',
434 'django.contrib.messages.context_processors.messages',
435 'main.context_processors.language')
436TEMPLATE_DEBUG
437True
438TEMPLATE_DIRS
439('/home/urandom/Projects/location/templates',)
440TEMPLATE_LOADERS
441('django.template.loaders.filesystem.Loader',
442 'django.template.loaders.app_directories.Loader')
443TEMPLATE_STRING_IF_INVALID
444''
445TEST_DATABASE_CHARSET
446None
447TEST_DATABASE_COLLATION
448None
449TEST_DATABASE_NAME
450None
451TEST_RUNNER
452'django.test.simple.DjangoTestSuiteRunner'
453THOUSAND_SEPARATOR
454','
455TIME_FORMAT
456'P'
457TIME_INPUT_FORMATS
458('%H:%M:%S', '%H:%M')
459TIME_ZONE
460'Europe/Sofia'
461TRANSACTIONS_MANAGED
462False
463URL_VALIDATOR_USER_AGENT
464'Django/1.3 beta 1 (http://www.djangoproject.com)'
465USE_ETAGS
466False
467USE_I18N
468True
469USE_L10N
470True
471USE_THOUSAND_SEPARATOR
472False
473YEAR_MONTH_FORMAT
474'F Y'
Back to Top