1 | Environment:
|
---|
2 |
|
---|
3 |
|
---|
4 | Request Method: GET
|
---|
5 | Request URL: http://localhost:8000/bg/
|
---|
6 |
|
---|
7 | Django Version: 1.3 beta 1
|
---|
8 | Python Version: 2.6.6
|
---|
9 | Installed 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']
|
---|
19 | Installed 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 |
|
---|
28 | Traceback:
|
---|
29 | File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response
|
---|
30 | 111. response = callback(request, *callback_args, **callback_kwargs)
|
---|
31 | File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py" in _wrapped_view
|
---|
32 | 101. result = middleware.process_response(request, response)
|
---|
33 | File "/usr/local/lib/python2.6/dist-packages/django/middleware/cache.py" in process_response
|
---|
34 | 89. self.cache.set(cache_key, response, timeout)
|
---|
35 | File "/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))
|
---|
37 | File "/usr/local/lib/python2.6/dist-packages/memcache.py" in set
|
---|
38 | 525. return self._set("set", key, val, time, min_compress_len)
|
---|
39 | File "/usr/local/lib/python2.6/dist-packages/memcache.py" in _set
|
---|
40 | 739. store_info = self._val_to_store_info(val, min_compress_len)
|
---|
41 | File "/usr/local/lib/python2.6/dist-packages/memcache.py" in _val_to_store_info
|
---|
42 | 711. pickler.dump(val)
|
---|
43 | File "/usr/lib/python2.6/copy_reg.py" in _reduce_ex
|
---|
44 | 70. raise TypeError, "can't pickle %s objects" % base.__name__
|
---|
45 |
|
---|
46 | Exception Type: TypeError at /
|
---|
47 | Exception Value: can't pickle Input objects
|
---|
48 |
|
---|
49 |
|
---|
50 | META:
|
---|
51 | CSRF_COOKIE
|
---|
52 | 'be011988460192dcf0d69ef2b35e4ec8'
|
---|
53 | DISPLAY
|
---|
54 | ':0.0'
|
---|
55 | DOCUMENT_ROOT
|
---|
56 | '/home/urandom/Projects/location/public'
|
---|
57 | GATEWAY_INTERFACE
|
---|
58 | 'CGI/1.1'
|
---|
59 | HTTP_ACCEPT
|
---|
60 | 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
|
---|
61 | HTTP_ACCEPT_CHARSET
|
---|
62 | 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
|
---|
63 | HTTP_ACCEPT_ENCODING
|
---|
64 | 'gzip,deflate,sdch'
|
---|
65 | HTTP_ACCEPT_LANGUAGE
|
---|
66 | 'en-US,en;q=0.8'
|
---|
67 | HTTP_CONNECTION
|
---|
68 | 'keep-alive'
|
---|
69 | HTTP_HOST
|
---|
70 | 'localhost:8000'
|
---|
71 | HTTP_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'
|
---|
73 | PATH_INFO
|
---|
74 | u'/bg/'
|
---|
75 | PATH_TRANSLATED
|
---|
76 | '/home/urandom/Projects/location/apache/django.wsgi/bg/'
|
---|
77 | QUERY_STRING
|
---|
78 | ''
|
---|
79 | REMOTE_ADDR
|
---|
80 | '127.0.0.1'
|
---|
81 | REMOTE_PORT
|
---|
82 | '49293'
|
---|
83 | REQUEST_METHOD
|
---|
84 | 'GET'
|
---|
85 | REQUEST_URI
|
---|
86 | '/bg/'
|
---|
87 | SCRIPT_FILENAME
|
---|
88 | '/home/urandom/Projects/location/apache/django.wsgi'
|
---|
89 | SCRIPT_NAME
|
---|
90 | u''
|
---|
91 | SERVER_ADDR
|
---|
92 | '127.0.0.1'
|
---|
93 | SERVER_ADMIN
|
---|
94 | 'webmaster@localhost'
|
---|
95 | SERVER_NAME
|
---|
96 | 'localhost'
|
---|
97 | SERVER_PORT
|
---|
98 | '8000'
|
---|
99 | SERVER_PROTOCOL
|
---|
100 | 'HTTP/1.1'
|
---|
101 | SERVER_SIGNATURE
|
---|
102 | '<address>Apache/2.2.16 (Ubuntu) Server at localhost Port 8000</address>\n'
|
---|
103 | SERVER_SOFTWARE
|
---|
104 | 'Apache/2.2.16 (Ubuntu)'
|
---|
105 | mod_wsgi.application_group
|
---|
106 | 'localhost.localdomain:8000|'
|
---|
107 | mod_wsgi.callable_object
|
---|
108 | 'application'
|
---|
109 | mod_wsgi.handler_script
|
---|
110 | ''
|
---|
111 | mod_wsgi.input_chunked
|
---|
112 | '0'
|
---|
113 | mod_wsgi.listener_host
|
---|
114 | ''
|
---|
115 | mod_wsgi.listener_port
|
---|
116 | '8000'
|
---|
117 | mod_wsgi.process_group
|
---|
118 | ''
|
---|
119 | mod_wsgi.request_handler
|
---|
120 | 'wsgi-script'
|
---|
121 | mod_wsgi.script_reloading
|
---|
122 | '1'
|
---|
123 | mod_wsgi.version
|
---|
124 | (3, 2)
|
---|
125 | wsgi.errors
|
---|
126 | <mod_wsgi.Log object at 0x7ff49c14c730>
|
---|
127 | wsgi.file_wrapper
|
---|
128 | ''
|
---|
129 | wsgi.input
|
---|
130 | <mod_wsgi.Input object at 0x7ff49c14c6f0>
|
---|
131 | wsgi.multiprocess
|
---|
132 | True
|
---|
133 | wsgi.multithread
|
---|
134 | False
|
---|
135 | wsgi.run_once
|
---|
136 | False
|
---|
137 | wsgi.url_scheme
|
---|
138 | 'http'
|
---|
139 | wsgi.version
|
---|
140 | (1, 1)
|
---|
141 |
|
---|
142 | SETTINGS:
|
---|
143 |
|
---|
144 | ABSOLUTE_URL_OVERRIDES
|
---|
145 | {}
|
---|
146 | ACCOUNT_ACTIVATION_DAYS
|
---|
147 | 1
|
---|
148 | ADMINS
|
---|
149 | ()
|
---|
150 | ADMIN_FOR
|
---|
151 | ()
|
---|
152 | ADMIN_MEDIA_PREFIX
|
---|
153 | '/media/'
|
---|
154 | ALLOWED_INCLUDE_ROOTS
|
---|
155 | ()
|
---|
156 | APPEND_SLASH
|
---|
157 | True
|
---|
158 | AUTHENTICATION_BACKENDS
|
---|
159 | ('django.contrib.auth.backends.ModelBackend',)
|
---|
160 | AUTH_PROFILE_MODULE
|
---|
161 | 'main.UserProfile'
|
---|
162 | BANNED_IPS
|
---|
163 | ()
|
---|
164 | CACHES
|
---|
165 | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
---|
166 | 'LOCATION': '127.0.0.1:11211'}}
|
---|
167 | CACHE_BACKEND
|
---|
168 | 'locmem://'
|
---|
169 | CACHE_MIDDLEWARE_ALIAS
|
---|
170 | 'default'
|
---|
171 | CACHE_MIDDLEWARE_KEY_PREFIX
|
---|
172 | ''
|
---|
173 | CACHE_MIDDLEWARE_SECONDS
|
---|
174 | 600
|
---|
175 | COMMENTS_ALLOW_PROFANITIES
|
---|
176 | False
|
---|
177 | COMMENTS_BANNED_USERS_GROUP
|
---|
178 | None
|
---|
179 | COMMENTS_FIRST_FEW
|
---|
180 | 0
|
---|
181 | COMMENTS_MODERATORS_GROUP
|
---|
182 | None
|
---|
183 | COMMENTS_SKETCHY_USERS_GROUP
|
---|
184 | None
|
---|
185 | CSRF_COOKIE_DOMAIN
|
---|
186 | None
|
---|
187 | CSRF_COOKIE_NAME
|
---|
188 | 'csrftoken'
|
---|
189 | CSRF_FAILURE_VIEW
|
---|
190 | 'django.views.csrf.csrf_failure'
|
---|
191 | DATABASES
|
---|
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'}}
|
---|
204 | DATABASE_ENGINE
|
---|
205 | ''
|
---|
206 | DATABASE_HOST
|
---|
207 | ''
|
---|
208 | DATABASE_NAME
|
---|
209 | ''
|
---|
210 | DATABASE_OPTIONS
|
---|
211 | {}
|
---|
212 | DATABASE_PASSWORD
|
---|
213 | '********************'
|
---|
214 | DATABASE_PORT
|
---|
215 | ''
|
---|
216 | DATABASE_ROUTERS
|
---|
217 | []
|
---|
218 | DATABASE_USER
|
---|
219 | ''
|
---|
220 | DATETIME_FORMAT
|
---|
221 | 'N j, Y, P'
|
---|
222 | DATETIME_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')
|
---|
232 | DATE_FORMAT
|
---|
233 | 'N j, Y'
|
---|
234 | DATE_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')
|
---|
246 | DEBUG
|
---|
247 | True
|
---|
248 | DEBUG_PROPAGATE_EXCEPTIONS
|
---|
249 | False
|
---|
250 | DECIMAL_SEPARATOR
|
---|
251 | '.'
|
---|
252 | DEFAULT_CHARSET
|
---|
253 | 'utf-8'
|
---|
254 | DEFAULT_CONTENT_TYPE
|
---|
255 | 'text/html'
|
---|
256 | DEFAULT_FILE_STORAGE
|
---|
257 | 'django.core.files.storage.FileSystemStorage'
|
---|
258 | DEFAULT_FROM_EMAIL
|
---|
259 | 'webmaster@location.bg'
|
---|
260 | DEFAULT_INDEX_TABLESPACE
|
---|
261 | ''
|
---|
262 | DEFAULT_TABLESPACE
|
---|
263 | ''
|
---|
264 | DISALLOWED_USER_AGENTS
|
---|
265 | ()
|
---|
266 | EMAIL_BACKEND
|
---|
267 | 'django.core.mail.backends.smtp.EmailBackend'
|
---|
268 | EMAIL_HOST
|
---|
269 | 'localhost'
|
---|
270 | EMAIL_HOST_PASSWORD
|
---|
271 | '********************'
|
---|
272 | EMAIL_HOST_USER
|
---|
273 | ''
|
---|
274 | EMAIL_PORT
|
---|
275 | 25
|
---|
276 | EMAIL_SUBJECT_PREFIX
|
---|
277 | '[Django] '
|
---|
278 | EMAIL_USE_TLS
|
---|
279 | False
|
---|
280 | FILE_CHARSET
|
---|
281 | 'utf-8'
|
---|
282 | FILE_UPLOAD_HANDLERS
|
---|
283 | ('django.core.files.uploadhandler.MemoryFileUploadHandler',
|
---|
284 | 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
|
---|
285 | FILE_UPLOAD_MAX_MEMORY_SIZE
|
---|
286 | 2621440
|
---|
287 | FILE_UPLOAD_PERMISSIONS
|
---|
288 | None
|
---|
289 | FILE_UPLOAD_TEMP_DIR
|
---|
290 | None
|
---|
291 | FIRST_DAY_OF_WEEK
|
---|
292 | 0
|
---|
293 | FIXTURE_DIRS
|
---|
294 | ()
|
---|
295 | FORCE_SCRIPT_NAME
|
---|
296 | None
|
---|
297 | FORMAT_MODULE_PATH
|
---|
298 | None
|
---|
299 | IGNORABLE_404_ENDS
|
---|
300 | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
|
---|
301 | IGNORABLE_404_STARTS
|
---|
302 | ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
|
---|
303 | INSTALLED_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']
|
---|
313 | INTERNAL_IPS
|
---|
314 | ()
|
---|
315 | KEYS_PATH
|
---|
316 | '/home/urandom/Projects/location/apache/keys'
|
---|
317 | LANGUAGES
|
---|
318 | (('bg', 'Bulgarian'), ('en', 'English'))
|
---|
319 | LANGUAGES_BIDI
|
---|
320 | ('he', 'ar', 'fa')
|
---|
321 | LANGUAGE_CODE
|
---|
322 | 'bg-bg'
|
---|
323 | LANGUAGE_COOKIE_NAME
|
---|
324 | 'django_language'
|
---|
325 | LOCALE_PATHS
|
---|
326 | ()
|
---|
327 | LOGGING
|
---|
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}
|
---|
348 | LOGGING_CONFIG
|
---|
349 | 'django.utils.log.dictConfig'
|
---|
350 | LOGIN_REDIRECT_URL
|
---|
351 | '/'
|
---|
352 | LOGIN_URL
|
---|
353 | '/accounts/login/'
|
---|
354 | LOGOUT_URL
|
---|
355 | '/accounts/logout/'
|
---|
356 | MANAGERS
|
---|
357 | ()
|
---|
358 | MEDIA_ROOT
|
---|
359 | '/home/urandom/Projects/location/public/media/'
|
---|
360 | MEDIA_URL
|
---|
361 | '/media/'
|
---|
362 | MESSAGE_STORAGE
|
---|
363 | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
|
---|
364 | MIDDLEWARE_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')
|
---|
371 | MONTH_DAY_FORMAT
|
---|
372 | 'F j'
|
---|
373 | NUMBER_GROUPING
|
---|
374 | 0
|
---|
375 | PASSWORD_RESET_TIMEOUT_DAYS
|
---|
376 | '********************'
|
---|
377 | PREPEND_WWW
|
---|
378 | False
|
---|
379 | PROFANITIES_LIST
|
---|
380 | '********************'
|
---|
381 | ROOT_URLCONF
|
---|
382 | 'urls'
|
---|
383 | SECRET_KEY
|
---|
384 | '********************'
|
---|
385 | SEND_BROKEN_LINK_EMAILS
|
---|
386 | False
|
---|
387 | SERVER_EMAIL
|
---|
388 | 'root@localhost'
|
---|
389 | SESSION_COOKIE_AGE
|
---|
390 | 1209600
|
---|
391 | SESSION_COOKIE_DOMAIN
|
---|
392 | None
|
---|
393 | SESSION_COOKIE_HTTPONLY
|
---|
394 | False
|
---|
395 | SESSION_COOKIE_NAME
|
---|
396 | 'sessionid'
|
---|
397 | SESSION_COOKIE_PATH
|
---|
398 | '/'
|
---|
399 | SESSION_COOKIE_SECURE
|
---|
400 | False
|
---|
401 | SESSION_ENGINE
|
---|
402 | 'django.contrib.sessions.backends.db'
|
---|
403 | SESSION_EXPIRE_AT_BROWSER_CLOSE
|
---|
404 | False
|
---|
405 | SESSION_FILE_PATH
|
---|
406 | None
|
---|
407 | SESSION_SAVE_EVERY_REQUEST
|
---|
408 | False
|
---|
409 | SETTINGS_MODULE
|
---|
410 | 'settings'
|
---|
411 | SHORT_DATETIME_FORMAT
|
---|
412 | 'm/d/Y P'
|
---|
413 | SHORT_DATE_FORMAT
|
---|
414 | 'm/d/Y'
|
---|
415 | SITE_ID
|
---|
416 | 1
|
---|
417 | STATICFILES_DIRS
|
---|
418 | ()
|
---|
419 | STATICFILES_FINDERS
|
---|
420 | ('django.contrib.staticfiles.finders.FileSystemFinder',
|
---|
421 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
|
---|
422 | STATICFILES_STORAGE
|
---|
423 | 'django.contrib.staticfiles.storage.StaticFilesStorage'
|
---|
424 | STATIC_ROOT
|
---|
425 | ''
|
---|
426 | STATIC_URL
|
---|
427 | None
|
---|
428 | TEMPLATE_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')
|
---|
436 | TEMPLATE_DEBUG
|
---|
437 | True
|
---|
438 | TEMPLATE_DIRS
|
---|
439 | ('/home/urandom/Projects/location/templates',)
|
---|
440 | TEMPLATE_LOADERS
|
---|
441 | ('django.template.loaders.filesystem.Loader',
|
---|
442 | 'django.template.loaders.app_directories.Loader')
|
---|
443 | TEMPLATE_STRING_IF_INVALID
|
---|
444 | ''
|
---|
445 | TEST_DATABASE_CHARSET
|
---|
446 | None
|
---|
447 | TEST_DATABASE_COLLATION
|
---|
448 | None
|
---|
449 | TEST_DATABASE_NAME
|
---|
450 | None
|
---|
451 | TEST_RUNNER
|
---|
452 | 'django.test.simple.DjangoTestSuiteRunner'
|
---|
453 | THOUSAND_SEPARATOR
|
---|
454 | ','
|
---|
455 | TIME_FORMAT
|
---|
456 | 'P'
|
---|
457 | TIME_INPUT_FORMATS
|
---|
458 | ('%H:%M:%S', '%H:%M')
|
---|
459 | TIME_ZONE
|
---|
460 | 'Europe/Sofia'
|
---|
461 | TRANSACTIONS_MANAGED
|
---|
462 | False
|
---|
463 | URL_VALIDATOR_USER_AGENT
|
---|
464 | 'Django/1.3 beta 1 (http://www.djangoproject.com)'
|
---|
465 | USE_ETAGS
|
---|
466 | False
|
---|
467 | USE_I18N
|
---|
468 | True
|
---|
469 | USE_L10N
|
---|
470 | True
|
---|
471 | USE_THOUSAND_SEPARATOR
|
---|
472 | False
|
---|
473 | YEAR_MONTH_FORMAT
|
---|
474 | 'F Y'
|
---|