Ticket #15404: error-test-output.txt

File error-test-output.txt, 60.3 KB (added by plm_tower39, 9 years ago)
Line 
1$ python2.6 -m effectiveness_web_app.manage test >test-output.txt 2>&1
2
3
4        test-output.txt:
5
6
7...............EEEEEEEEEE.......................EE.EEE..EE.E.......................................E.......................E............................E................E.....EE........F.
8======================================================================
9ERROR: test_password_change_fails_with_invalid_old_password (django.contrib.auth.tests.views.ChangePasswordTest)
10----------------------------------------------------------------------
11Traceback (most recent call last):
12  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 155, in test_password_change_fails_with_invalid_old_password
13    self.login()
14  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 136, in login
15    'password': password
16  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
17    response = self.request(**r)
18  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
19    response = self.handler(environ)
20  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
21    response = self.get_response(request)
22  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
23    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
24  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
25    callback, param_dict = resolver.resolve500()
26  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
27    return self._resolve_special('500')
28  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
29    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
30AttributeError: 'module' object has no attribute 'handler500'
31
32======================================================================
33ERROR: test_password_change_fails_with_mismatched_passwords (django.contrib.auth.tests.views.ChangePasswordTest)
34----------------------------------------------------------------------
35Traceback (most recent call last):
36  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 166, in test_password_change_fails_with_mismatched_passwords
37    self.login()
38  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 136, in login
39    'password': password
40  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
41    response = self.request(**r)
42  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
43    response = self.handler(environ)
44  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
45    response = self.get_response(request)
46  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
47    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
48  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
49    callback, param_dict = resolver.resolve500()
50  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
51    return self._resolve_special('500')
52  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
53    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
54AttributeError: 'module' object has no attribute 'handler500'
55
56======================================================================
57ERROR: test_password_change_succeeds (django.contrib.auth.tests.views.ChangePasswordTest)
58----------------------------------------------------------------------
59Traceback (most recent call last):
60  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 177, in test_password_change_succeeds
61    self.login()
62  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 136, in login
63    'password': password
64  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
65    response = self.request(**r)
66  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
67    response = self.handler(environ)
68  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
69    response = self.get_response(request)
70  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
71    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
72  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
73    callback, param_dict = resolver.resolve500()
74  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
75    return self._resolve_special('500')
76  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
77    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
78AttributeError: 'module' object has no attribute 'handler500'
79
80======================================================================
81ERROR: test_current_site_in_context_after_login (django.contrib.auth.tests.views.LoginTest)
82----------------------------------------------------------------------
83Traceback (most recent call last):
84  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 192, in test_current_site_in_context_after_login
85    response = self.client.get(reverse('django.contrib.auth.views.login'))
86  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
87    response = self.request(**r)
88  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
89    response = self.handler(environ)
90  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 83, in __call__
91    response = middleware_method(request, response)
92  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/middleware.py", line 36, in process_response
93    request.session.save()
94  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
95    session_data = self.encode(self._get_session(no_load=must_create)),
96  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
97    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
98UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
99
100======================================================================
101ERROR: test_security_check (django.contrib.auth.tests.views.LoginTest)
102----------------------------------------------------------------------
103Traceback (most recent call last):
104  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 219, in test_security_check
105    'password': password,
106  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
107    response = self.request(**r)
108  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
109    response = self.handler(environ)
110  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
111    response = self.get_response(request)
112  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
113    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
114  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
115    callback, param_dict = resolver.resolve500()
116  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
117    return self._resolve_special('500')
118  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
119    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
120AttributeError: 'module' object has no attribute 'handler500'
121
122======================================================================
123ERROR: test_14377 (django.contrib.auth.tests.views.LogoutTest)
124----------------------------------------------------------------------
125Traceback (most recent call last):
126  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 269, in test_14377
127    self.login()
128  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 249, in login
129    'password': password
130  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
131    response = self.request(**r)
132  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
133    response = self.handler(environ)
134  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
135    response = self.get_response(request)
136  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
137    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
138  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
139    callback, param_dict = resolver.resolve500()
140  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
141    return self._resolve_special('500')
142  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
143    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
144AttributeError: 'module' object has no attribute 'handler500'
145
146======================================================================
147ERROR: Logout without next_page option renders the default template
148----------------------------------------------------------------------
149Traceback (most recent call last):
150  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 261, in test_logout_default
151    self.login()
152  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 249, in login
153    'password': password
154  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
155    response = self.request(**r)
156  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
157    response = self.handler(environ)
158  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
159    response = self.get_response(request)
160  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
161    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
162  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
163    callback, param_dict = resolver.resolve500()
164  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
165    return self._resolve_special('500')
166  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
167    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
168AttributeError: 'module' object has no attribute 'handler500'
169
170======================================================================
171ERROR: Logout with custom query string redirects to specified resource
172----------------------------------------------------------------------
173Traceback (most recent call last):
174  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 291, in test_logout_with_custom_redirect_argument
175    self.login()
176  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 249, in login
177    'password': password
178  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
179    response = self.request(**r)
180  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
181    response = self.handler(environ)
182  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
183    response = self.get_response(request)
184  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
185    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
186  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
187    callback, param_dict = resolver.resolve500()
188  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
189    return self._resolve_special('500')
190  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
191    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
192AttributeError: 'module' object has no attribute 'handler500'
193
194======================================================================
195ERROR: Logout with next_page option given redirects to specified resource
196----------------------------------------------------------------------
197Traceback (most recent call last):
198  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 275, in test_logout_with_next_page_specified
199    self.login()
200  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 249, in login
201    'password': password
202  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
203    response = self.request(**r)
204  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
205    response = self.handler(environ)
206  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
207    response = self.get_response(request)
208  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
209    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
210  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
211    callback, param_dict = resolver.resolve500()
212  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
213    return self._resolve_special('500')
214  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
215    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
216AttributeError: 'module' object has no attribute 'handler500'
217
218======================================================================
219ERROR: Logout with query string redirects to specified resource
220----------------------------------------------------------------------
221Traceback (most recent call last):
222  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 283, in test_logout_with_redirect_argument
223    self.login()
224  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/views.py", line 249, in login
225    'password': password
226  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
227    response = self.request(**r)
228  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
229    response = self.handler(environ)
230  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
231    response = self.get_response(request)
232  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
233    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
234  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
235    callback, param_dict = resolver.resolve500()
236  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
237    return self._resolve_special('500')
238  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
239    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
240AttributeError: 'module' object has no attribute 'handler500'
241
242======================================================================
243ERROR: test_known_user (django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
244----------------------------------------------------------------------
245Traceback (most recent call last):
246  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 160, in test_known_user
247    super(RemoteUserCustomTest, self).test_known_user()
248  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 66, in test_known_user
249    response = self.client.get('/remote_user/', REMOTE_USER=self.known_user)
250  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
251    response = self.request(**r)
252  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
253    response = self.handler(environ)
254  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
255    response = self.get_response(request)
256  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
257    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
258  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
259    callback, param_dict = resolver.resolve500()
260  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
261    return self._resolve_special('500')
262  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
263    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
264AttributeError: 'module' object has no attribute 'handler500'
265
266======================================================================
267ERROR: test_last_login (django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
268----------------------------------------------------------------------
269Traceback (most recent call last):
270  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 86, in test_last_login
271    response = self.client.get('/remote_user/', REMOTE_USER=self.known_user)
272  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
273    response = self.request(**r)
274  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
275    response = self.handler(environ)
276  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
277    response = self.get_response(request)
278  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
279    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
280  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
281    callback, param_dict = resolver.resolve500()
282  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
283    return self._resolve_special('500')
284  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
285    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
286AttributeError: 'module' object has no attribute 'handler500'
287
288======================================================================
289ERROR: test_unknown_user (django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
290----------------------------------------------------------------------
291Traceback (most recent call last):
292  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 168, in test_unknown_user
293    super(RemoteUserCustomTest, self).test_unknown_user()
294  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 50, in test_unknown_user
295    response = self.client.get('/remote_user/', REMOTE_USER='newuser')
296  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
297    response = self.request(**r)
298  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
299    response = self.handler(environ)
300  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
301    response = self.get_response(request)
302  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
303    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
304  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
305    callback, param_dict = resolver.resolve500()
306  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
307    return self._resolve_special('500')
308  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
309    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
310AttributeError: 'module' object has no attribute 'handler500'
311
312======================================================================
313ERROR: test_known_user (django.contrib.auth.tests.remote_user.RemoteUserNoCreateTest)
314----------------------------------------------------------------------
315Traceback (most recent call last):
316  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 66, in test_known_user
317    response = self.client.get('/remote_user/', REMOTE_USER=self.known_user)
318  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
319    response = self.request(**r)
320  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
321    response = self.handler(environ)
322  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
323    response = self.get_response(request)
324  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
325    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
326  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
327    callback, param_dict = resolver.resolve500()
328  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
329    return self._resolve_special('500')
330  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
331    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
332AttributeError: 'module' object has no attribute 'handler500'
333
334======================================================================
335ERROR: test_last_login (django.contrib.auth.tests.remote_user.RemoteUserNoCreateTest)
336----------------------------------------------------------------------
337Traceback (most recent call last):
338  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 86, in test_last_login
339    response = self.client.get('/remote_user/', REMOTE_USER=self.known_user)
340  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
341    response = self.request(**r)
342  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
343    response = self.handler(environ)
344  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
345    response = self.get_response(request)
346  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
347    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
348  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
349    callback, param_dict = resolver.resolve500()
350  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
351    return self._resolve_special('500')
352  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
353    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
354AttributeError: 'module' object has no attribute 'handler500'
355
356======================================================================
357ERROR: test_known_user (django.contrib.auth.tests.remote_user.RemoteUserTest)
358----------------------------------------------------------------------
359Traceback (most recent call last):
360  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 66, in test_known_user
361    response = self.client.get('/remote_user/', REMOTE_USER=self.known_user)
362  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
363    response = self.request(**r)
364  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
365    response = self.handler(environ)
366  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
367    response = self.get_response(request)
368  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
369    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
370  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
371    callback, param_dict = resolver.resolve500()
372  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
373    return self._resolve_special('500')
374  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
375    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
376AttributeError: 'module' object has no attribute 'handler500'
377
378======================================================================
379ERROR: test_last_login (django.contrib.auth.tests.remote_user.RemoteUserTest)
380----------------------------------------------------------------------
381Traceback (most recent call last):
382  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 86, in test_last_login
383    response = self.client.get('/remote_user/', REMOTE_USER=self.known_user)
384  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
385    response = self.request(**r)
386  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
387    response = self.handler(environ)
388  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
389    response = self.get_response(request)
390  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
391    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
392  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
393    callback, param_dict = resolver.resolve500()
394  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
395    return self._resolve_special('500')
396  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
397    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
398AttributeError: 'module' object has no attribute 'handler500'
399
400======================================================================
401ERROR: test_unknown_user (django.contrib.auth.tests.remote_user.RemoteUserTest)
402----------------------------------------------------------------------
403Traceback (most recent call last):
404  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/tests/remote_user.py", line 50, in test_unknown_user
405    response = self.client.get('/remote_user/', REMOTE_USER='newuser')
406  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 305, in get
407    response = self.request(**r)
408  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
409    response = self.handler(environ)
410  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 79, in __call__
411    response = self.get_response(request)
412  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 141, in get_response
413    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
414  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/handlers/base.py", line 179, in handle_uncaught_exception
415    callback, param_dict = resolver.resolve500()
416  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 263, in resolve500
417    return self._resolve_special('500')
418  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/core/urlresolvers.py", line 253, in _resolve_special
419    callback = getattr(self.urlconf_module, 'handler%s' % view_type)
420AttributeError: 'module' object has no attribute 'handler500'
421
422======================================================================
423ERROR: test_middleware_disabled_auth_user (django.contrib.messages.tests.cookie.CookieTest)
424----------------------------------------------------------------------
425Traceback (most recent call last):
426  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/messages/tests/base.py", line 204, in test_middleware_disabled_auth_user
427    self.client.login(username='test', password='test')
428  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 448, in login
429    login(request, user)
430  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/__init__.py", line 80, in login
431    request.session.cycle_key()
432  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 248, in cycle_key
433    self.create()
434  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
435    self.save(must_create=True)
436  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
437    session_data = self.encode(self._get_session(no_load=must_create)),
438  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
439    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
440UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
441
442======================================================================
443ERROR: test_middleware_disabled_auth_user (django.contrib.messages.tests.fallback.FallbackTest)
444----------------------------------------------------------------------
445Traceback (most recent call last):
446  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/messages/tests/base.py", line 204, in test_middleware_disabled_auth_user
447    self.client.login(username='test', password='test')
448  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 448, in login
449    login(request, user)
450  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/__init__.py", line 80, in login
451    request.session.cycle_key()
452  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 248, in cycle_key
453    self.create()
454  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
455    self.save(must_create=True)
456  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
457    session_data = self.encode(self._get_session(no_load=must_create)),
458  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
459    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
460UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
461
462======================================================================
463ERROR: test_middleware_disabled_auth_user (django.contrib.messages.tests.user_messages.LegacyFallbackTest)
464----------------------------------------------------------------------
465Traceback (most recent call last):
466  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/messages/tests/base.py", line 204, in test_middleware_disabled_auth_user
467    self.client.login(username='test', password='test')
468  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 448, in login
469    login(request, user)
470  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/__init__.py", line 80, in login
471    request.session.cycle_key()
472  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 248, in cycle_key
473    self.create()
474  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
475    self.save(must_create=True)
476  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
477    session_data = self.encode(self._get_session(no_load=must_create)),
478  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
479    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
480UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
481
482======================================================================
483ERROR: test_full_request_response_cycle (django.contrib.messages.tests.session.SessionTest)
484----------------------------------------------------------------------
485Traceback (most recent call last):
486  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/messages/tests/base.py", line 164, in test_full_request_response_cycle
487    response = self.client.post(add_url, data, follow=True)
488  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
489    response = self.request(**r)
490  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
491    response = self.handler(environ)
492  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 83, in __call__
493    response = middleware_method(request, response)
494  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/middleware.py", line 36, in process_response
495    request.session.save()
496  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
497    session_data = self.encode(self._get_session(no_load=must_create)),
498  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
499    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
500UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
501
502======================================================================
503ERROR: test_middleware_disabled_auth_user (django.contrib.messages.tests.session.SessionTest)
504----------------------------------------------------------------------
505Traceback (most recent call last):
506  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/messages/tests/base.py", line 204, in test_middleware_disabled_auth_user
507    self.client.login(username='test', password='test')
508  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 448, in login
509    login(request, user)
510  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/auth/__init__.py", line 80, in login
511    request.session.cycle_key()
512  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 248, in cycle_key
513    self.create()
514  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
515    self.save(must_create=True)
516  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
517    session_data = self.encode(self._get_session(no_load=must_create)),
518  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
519    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
520UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
521
522======================================================================
523ERROR: test_multiple_posts (django.contrib.messages.tests.session.SessionTest)
524----------------------------------------------------------------------
525Traceback (most recent call last):
526  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/messages/tests/base.py", line 189, in test_multiple_posts
527    self.client.post(add_url, data)
528  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 337, in post
529    response = self.request(**r)
530  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 245, in request
531    response = self.handler(environ)
532  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/client.py", line 83, in __call__
533    response = middleware_method(request, response)
534  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/middleware.py", line 36, in process_response
535    request.session.save()
536  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
537    session_data = self.encode(self._get_session(no_load=must_create)),
538  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
539    pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
540UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
541
542======================================================================
543FAIL: Doctest: django.contrib.sessions.tests
544----------------------------------------------------------------------
545Traceback (most recent call last):
546  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 2180, in runTest
547    raise self.failureException(self.format_failure(new.getvalue()))
548AssertionError: Failed doctest test for django.contrib.sessions.tests
549  File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 0, in tests
550
551----------------------------------------------------------------------
552File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 22, in django.contrib.sessions.tests
553Failed example:
554    db_session.save()
555Exception raised:
556    Traceback (most recent call last):
557      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
558        compileflags, 1) in test.globs
559      File "<doctest django.contrib.sessions.tests[14]>", line 1, in <module>
560        db_session.save()
561      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
562        session_data = self.encode(self._get_session(no_load=must_create)),
563      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
564        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
565    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
566----------------------------------------------------------------------
567File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 23, in django.contrib.sessions.tests
568Failed example:
569    db_session.exists(db_session.session_key)
570Expected:
571    True
572Got:
573    False
574----------------------------------------------------------------------
575File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 30, in django.contrib.sessions.tests
576Failed example:
577    db_session.save()
578Exception raised:
579    Traceback (most recent call last):
580      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
581        compileflags, 1) in test.globs
582      File "<doctest django.contrib.sessions.tests[19]>", line 1, in <module>
583        db_session.save()
584      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
585        session_data = self.encode(self._get_session(no_load=must_create)),
586      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
587        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
588    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
589----------------------------------------------------------------------
590File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 31, in django.contrib.sessions.tests
591Failed example:
592    db_session.exists(db_session.session_key)
593Expected:
594    True
595Got:
596    False
597----------------------------------------------------------------------
598File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 34, in django.contrib.sessions.tests
599Failed example:
600    db_session.flush()
601Exception raised:
602    Traceback (most recent call last):
603      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
604        compileflags, 1) in test.globs
605      File "<doctest django.contrib.sessions.tests[22]>", line 1, in <module>
606        db_session.flush()
607      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 240, in flush
608        self.create()
609      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
610        self.save(must_create=True)
611      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
612        session_data = self.encode(self._get_session(no_load=must_create)),
613      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
614        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
615    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
616----------------------------------------------------------------------
617File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 42, in django.contrib.sessions.tests
618Failed example:
619    db_session.save()
620Exception raised:
621    Traceback (most recent call last):
622      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
623        compileflags, 1) in test.globs
624      File "<doctest django.contrib.sessions.tests[27]>", line 1, in <module>
625        db_session.save()
626      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
627        session_data = self.encode(self._get_session(no_load=must_create)),
628      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
629        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
630    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
631----------------------------------------------------------------------
632File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 45, in django.contrib.sessions.tests
633Failed example:
634    db_session.cycle_key()
635Exception raised:
636    Traceback (most recent call last):
637      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
638        compileflags, 1) in test.globs
639      File "<doctest django.contrib.sessions.tests[30]>", line 1, in <module>
640        db_session.cycle_key()
641      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 248, in cycle_key
642        self.create()
643      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
644        self.save(must_create=True)
645      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
646        session_data = self.encode(self._get_session(no_load=must_create)),
647      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
648        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
649    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
650----------------------------------------------------------------------
651File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 55, in django.contrib.sessions.tests
652Failed example:
653    db_session.save()
654Exception raised:
655    Traceback (most recent call last):
656      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
657        compileflags, 1) in test.globs
658      File "<doctest django.contrib.sessions.tests[35]>", line 1, in <module>
659        db_session.save()
660      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
661        session_data = self.encode(self._get_session(no_load=must_create)),
662      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 172, in _get_session
663        self._session_cache = self.load()
664      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 24, in load
665        self.create()
666      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
667        self.save(must_create=True)
668      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
669        session_data = self.encode(self._get_session(no_load=must_create)),
670      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
671        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
672    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
673----------------------------------------------------------------------
674File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 56, in django.contrib.sessions.tests
675Failed example:
676    DatabaseSession('1').get('cat')
677Exception raised:
678    Traceback (most recent call last):
679      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
680        compileflags, 1) in test.globs
681      File "<doctest django.contrib.sessions.tests[36]>", line 1, in <module>
682        DatabaseSession('1').get('cat')
683      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 63, in get
684        return self._session.get(key, default)
685      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 172, in _get_session
686        self._session_cache = self.load()
687      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 24, in load
688        self.create()
689      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 40, in create
690        self.save(must_create=True)
691      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
692        session_data = self.encode(self._get_session(no_load=must_create)),
693      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
694        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
695    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
696----------------------------------------------------------------------
697File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 72, in django.contrib.sessions.tests
698Failed example:
699    cdb_session.save()
700Exception raised:
701    Traceback (most recent call last):
702      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
703        compileflags, 1) in test.globs
704      File "<doctest django.contrib.sessions.tests[43]>", line 1, in <module>
705        cdb_session.save()
706      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/cached_db.py", line 28, in save
707        super(SessionStore, self).save(must_create)
708      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/db.py", line 57, in save
709        session_data = self.encode(self._get_session(no_load=must_create)),
710      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
711        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
712    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
713----------------------------------------------------------------------
714File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 73, in django.contrib.sessions.tests
715Failed example:
716    cdb_session.exists(cdb_session.session_key)
717Expected:
718    True
719Got:
720    False
721----------------------------------------------------------------------
722File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 98, in django.contrib.sessions.tests
723Failed example:
724    file_session.save()
725Exception raised:
726    Traceback (most recent call last):
727      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
728        compileflags, 1) in test.globs
729      File "<doctest django.contrib.sessions.tests[56]>", line 1, in <module>
730        file_session.save()
731      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 121, in save
732        os.write(output_file_fd, self.encode(session_data))
733      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
734        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
735    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
736----------------------------------------------------------------------
737File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 107, in django.contrib.sessions.tests
738Failed example:
739    file_session.save()
740Exception raised:
741    Traceback (most recent call last):
742      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
743        compileflags, 1) in test.globs
744      File "<doctest django.contrib.sessions.tests[62]>", line 1, in <module>
745        file_session.save()
746      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 121, in save
747        os.write(output_file_fd, self.encode(session_data))
748      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
749        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
750    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
751----------------------------------------------------------------------
752File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 111, in django.contrib.sessions.tests
753Failed example:
754    file_session.flush()
755Exception raised:
756    Traceback (most recent call last):
757      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
758        compileflags, 1) in test.globs
759      File "<doctest django.contrib.sessions.tests[65]>", line 1, in <module>
760        file_session.flush()
761      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 240, in flush
762        self.create()
763      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 70, in create
764        self.save(must_create=True)
765      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 121, in save
766        os.write(output_file_fd, self.encode(session_data))
767      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
768        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
769    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
770----------------------------------------------------------------------
771File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 119, in django.contrib.sessions.tests
772Failed example:
773    file_session.save()
774Exception raised:
775    Traceback (most recent call last):
776      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
777        compileflags, 1) in test.globs
778      File "<doctest django.contrib.sessions.tests[70]>", line 1, in <module>
779        file_session.save()
780      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 121, in save
781        os.write(output_file_fd, self.encode(session_data))
782      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
783        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
784    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
785----------------------------------------------------------------------
786File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 122, in django.contrib.sessions.tests
787Failed example:
788    file_session.cycle_key()
789Exception raised:
790    Traceback (most recent call last):
791      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
792        compileflags, 1) in test.globs
793      File "<doctest django.contrib.sessions.tests[73]>", line 1, in <module>
794        file_session.cycle_key()
795      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 248, in cycle_key
796        self.create()
797      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 70, in create
798        self.save(must_create=True)
799      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 121, in save
800        os.write(output_file_fd, self.encode(session_data))
801      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
802        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
803    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
804----------------------------------------------------------------------
805File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/tests.py", line 130, in django.contrib.sessions.tests
806Failed example:
807    file_session.save()
808Exception raised:
809    Traceback (most recent call last):
810      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/test/_doctest.py", line 1267, in __run
811        compileflags, 1) in test.globs
812      File "<doctest django.contrib.sessions.tests[78]>", line 1, in <module>
813        file_session.save()
814      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/file.py", line 121, in save
815        os.write(output_file_fd, self.encode(session_data))
816      File "/home/regular-user/Projects/Effectiveness/ext-lib/python/django/contrib/sessions/backends/base.py", line 89, in encode
817        pickled_md5 = md5_constructor(pickled + settings.SECRET_KEY).hexdigest()
818    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)
819
820
821----------------------------------------------------------------------
822Ran 187 tests in 5.646s
823
824FAILED (failures=1, errors=24)
825Creating test database 'default'...
826Creating table auth_permission
827Creating table auth_group_permissions
828Creating table auth_group
829Creating table auth_user_user_permissions
830Creating table auth_user_groups
831Creating table auth_user
832Creating table auth_message
833Creating table django_content_type
834Creating table django_session
835Creating table django_site
836Installing index for auth.Permission model
837Installing index for auth.Group_permissions model
838Installing index for auth.User_user_permissions model
839Installing index for auth.User_groups model
840Installing index for auth.Message model
841No fixtures found.
842Destroying test database 'default'...
Back to Top