· 7 years ago · Jan 04, 2019, 01:50 PM
1TypeError at /task_manager/
2dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards']) is not JSON serializable
3Request Method: GET
4Request URL: http://185.174.163.172/task_manager/
5Django Version: 2.0.2
6Exception Type: TypeError
7Exception Value:
8dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards']) is not JSON serializable
9Exception Location: /var/anaconda3/envs/p35/lib/python3.5/json/encoder.py in default, line 179
10Python Executable: /var/anaconda3/envs/p35/bin/uwsgi
11Python Version: 3.5.6
12Python Path:
13['.',
14 '',
15 '/var/anaconda3/envs/p35/lib/python35.zip',
16 '/var/anaconda3/envs/p35/lib/python3.5',
17 '/var/anaconda3/envs/p35/lib/python3.5/plat-linux',
18 '/var/anaconda3/envs/p35/lib/python3.5/lib-dynload',
19 '/var/anaconda3/envs/p35/lib/python3.5/site-packages',
20 '/var/www/texta',
21 '/var/www/texta/texta',
22 '/var/www/texta/search_api/elastic',
23 '/var/www/texta/dataset_importer/document_storer',
24 '/var/www/texta/dataset_importer/document_storer/storers',
25 '/var/www/texta/dataset_importer/document_reader',
26 '/var/www/texta/dataset_importer/document_reader/readers',
27 '/var/www/texta/dataset_importer/document_reader/readers/collection',
28 '/var/www/texta/dataset_importer/document_reader/readers/database',
29 '/var/www/texta/dataset_importer/document_reader/readers/entity',
30 '/var/www/texta/dataset_importer/archive_extractor',
31 '/var/www/texta/dataset_importer/archive_extractor/extractors']
32Server time: reede, 4 Jaan 2019 15:43:38 +0200
33Traceback Switch to copy-and-paste view
34/var/www/texta/task_manager/tasks/task_params.py in get_fact_names
35 response_aggs = response['aggregations']['facts']['fact_names']['buckets'] ...
36â–¼ Local vars
37Variable Value
38aggs
39{'main': {'aggs': {'facts': {'aggs': {'fact_names': {'aggs': {'fact_values': {'terms': {'field': 'texta_facts.str_val'}}},
40 'terms': {'field': 'texta_facts.fact',
41 'size': 10000}}},
42 'nested': {'path': 'texta_facts'}}}}}
43es_m
44<utils.es_manager.ES_Manager object at 0x7f2f02538470>
45response
46{'_shards': {'failed': 0, 'skipped': 0, 'successful': 5, 'total': 5},
47 'aggregations': {'facts': {'doc_count': 0}},
48 'hits': {'hits': [{'_id': '53fd2b961548058762de785986423384',
49 '_index': 'announcement-2019.01',
50 '_score': 1.0,
51 '_source': {'@timestamp': '2019-01-02T19:01:56.372+0200',
52 'announcement': {'v1': {'content': {'html': '<!doctype '
53 'html>\n'
54 '<html '
55 'class="no-js">\n'
56 ' '
57 '<head>\n'
58 ' '
59 '<meta '
60 'content="IE=edge,chrome=1" '
61 'http-equiv="X-UA-Compatible">\n'
62 ' '
63 '<meta '
64 'charset="utf-8">\n'
65 ' '
66 '<meta '
67 'content="text/html" '
68 'http-equiv="Content-Type">\n'
69 ' '
70 '<meta '
71 'name="viewport" '
72 'content="width=device-width, '
73 'initial-scale=1.0, '
74 'minimum-scale=1.0">\n'
75 ' '
76 '<link '
77 'rel="dns-prefetch" '
78 'href="//cdn.optimizely.com/js/128727546.js">\n'
79 ' '
80 '<link '
81 'rel="dns-prefetch" '
82 'href="//tpc.googlesyndication.com">\n'
83 ' '
84 '<link '
85 'rel="dns-prefetch" '
86 'href="//pagead2.googlesyndication.com">\n'
87 ' '
88 '<link '
89 'rel="dns-prefetch" '
90 'href="//www.googletagservices.com">\n'
91 ' '
92 ... <trimmed 30001240 bytes string>
93During handling of the above exception ('fact_names'), another exception occurred:
94/var/anaconda3/envs/p35/lib/python3.5/site-packages/django/core/handlers/exception.py in inner
95 response = get_response(request) ...
96â–¼ Local vars
97Variable Value
98exc
99TypeError("dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards']) is not JSON serializable",)
100get_response
101<bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f2f349eb320>>
102request
103<WSGIRequest: GET '/task_manager/'>
104/var/anaconda3/envs/p35/lib/python3.5/site-packages/django/core/handlers/base.py in _get_response
105 response = self.process_exception_by_middleware(e, request) ...
106â–¼ Local vars
107Variable Value
108callback
109<function index at 0x7f2f1fd1d950>
110callback_args
111()
112callback_kwargs
113{}
114request
115<WSGIRequest: GET '/task_manager/'>
116resolver
117<URLResolver 'texta.urls' (None:None) '^/'>
118resolver_match
119ResolverMatch(func=task_manager.views.index, args=(), kwargs={}, url_name=index, app_names=[], namespaces=[])
120response
121None
122self
123<django.core.handlers.wsgi.WSGIHandler object at 0x7f2f349eb320>
124wrapped_callback
125<function index at 0x7f2f1fd1d950>
126/var/anaconda3/envs/p35/lib/python3.5/site-packages/django/core/handlers/base.py in _get_response
127 response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
128â–¼ Local vars
129Variable Value
130callback
131<function index at 0x7f2f1fd1d950>
132callback_args
133()
134callback_kwargs
135{}
136request
137<WSGIRequest: GET '/task_manager/'>
138resolver
139<URLResolver 'texta.urls' (None:None) '^/'>
140resolver_match
141ResolverMatch(func=task_manager.views.index, args=(), kwargs={}, url_name=index, app_names=[], namespaces=[])
142response
143None
144self
145<django.core.handlers.wsgi.WSGIHandler object at 0x7f2f349eb320>
146wrapped_callback
147<function index at 0x7f2f1fd1d950>
148/var/anaconda3/envs/p35/lib/python3.5/site-packages/django/contrib/auth/decorators.py in _wrapped_view
149 return view_func(request, *args, **kwargs) ...
150â–¼ Local vars
151Variable Value
152args
153()
154kwargs
155{}
156login_url
157None
158redirect_field_name
159'next'
160request
161<WSGIRequest: GET '/task_manager/'>
162test_func
163<function login_required.<locals>.<lambda> at 0x7f2f1fd1d598>
164view_func
165<function index at 0x7f2f1fd17ae8>
166/var/www/texta/task_manager/views.py in index
167 get_fact_names(es_m) ...
168â–¼ Local vars
169Variable Value
170datasets
171[{'id': 1, 'index': 'announcement*', 'mapping': ''},
172 {'id': 2, 'index': 'announcement-2019.01', 'mapping': 'doc'}]
173ds
174<utils.datasets.Datasets object at 0x7f2f02648908>
175enabled_preprocessors
176[{'arguments': {},
177 'bg_favors': ['Doc', 'All'],
178 'class': <class 'dataset_importer.document_preprocessor.preprocessors.scoro.ScoroPreprocessor'>,
179 'description': 'Extracts topics and evaluates sentiment',
180 'enabled_lexicons': <QuerySet []>,
181 'is_enabled': True,
182 'key': 'scoro',
183 'name': 'Scoro preprocessor',
184 'parameters_template': 'parameters/preprocessor_parameters/scoro.html',
185 'scoring_functions': ['Mutual information', 'Chi square', 'GND', 'JLG'],
186 'sentiment_analysis_methods': ['Lexicon-based', 'Model-based'],
187 'sentiment_lexicons': ['Scoro', 'General', 'Custom']},
188 {'arguments': {},
189 'class': <class 'dataset_importer.document_preprocessor.preprocessors.date_converter.DatePreprocessor'>,
190 'description': 'Converts date field values to correct format',
191 'is_enabled': True,
192 'key': 'date_converter',
193 'languages': ['Estonian',
194 'English',
195 'Russian',
196 'Latvian',
197 'Lithuanian',
198 'Other'],
199 'name': 'Date conversion preprocessor',
200 'parameters_template': 'parameters/preprocessor_parameters/date_converter.html'},
201 {'arguments': {},
202 'class': <class 'dataset_importer.document_preprocessor.preprocessors.comment_preprocessor.CommentPreprocessor'>,
203 'description': 'Converts comments',
204 'is_enabled': True,
205 'key': 'comment_preprocessor',
206 'name': 'Comment preprocessor',
207 'parameters_template': 'parameters/preprocessor_parameters/comment_preprocessor.html'},
208 {'arguments': {},
209 'class': <class 'dataset_importer.document_preprocessor.preprocessors.text_tagger.TextTaggerPreprocessor'>,
210 'description': 'Tags documents with TEXTA Text Tagger',
211 'enabled_taggers': <QuerySet []>,
212 'is_enabled': True,
213 'key': 'text_tagger',
214 'name': 'Text Tagger preprocessor',
215 'parameters_template': 'parameters/preprocessor_parameters/text_tagger.html'},
216 {'arguments': {},
217 'class': <class 'dataset_importer.document_preprocessor.preprocessors.lexicon_classifier.LexTagger'>,
218 'description': 'Applies lexicon-based tagging',
219 'enabled_lexicons': <QuerySet []>,
220 'is_enabled': True,
221 'key': 'lexicon_classifier',
222 'match_types': ['Prefix', 'Exact', 'Fuzzy'],
223 'name': 'Lexicon Tagger Preprocessor',
224 'operations': ['OR', 'AND'],
225 'parameters_template': 'parameters/preprocessor_parameters/lexicon_classifier.html'},
226 {'arguments': {'enabled_features': ['text', 'lang', 'texta_facts'],
227 'mlp_url': 'http://texta-mlp:500/mlp/process'},
228 'class': <class 'dataset_importer.document_preprocessor.preprocessors.mlp.MlpPreprocessor'>,
229 'description': 'Extracts lemmas and identifies language code from multiple '
230 'languages.',
231 'field_properties': {'properties': {'lang': {'ignore_above': 256,
232 'type': 'keyword'},
233 'lemmas': {'fields': {'keyword': {'ignore_above': 256,
234 'type': 'keyword'}},
235 'type': 'text'},
236 'text': {'fields': {'keyword': {'ignore_above': 256,
237 'type': 'keyword'}},
238 'type': 'text'}}},
239 'is_enabled': True,
240 'key': 'mlp',
241 'name': 'Multilingual preprocessor',
242 'parameters_template': 'parameters/preprocessor_parameters/mlp.html'},
243 {'arguments': {},
244 'class': <class 'dataset_importer.document_preprocessor.preprocessors.entity_extractor.EntityExtractorPreprocessor'>,
245 'description': 'Extract entities from documents with TEXTA Entity Extractor',
246 'enabled_extractors': <QuerySet []>,
247 'is_enabled': True,
248 'key': 'entity_extractor',
249 'name': 'Entity Extractor preprocessor',
250 'parameters_template': 'parameters/preprocessor_parameters/entity_extractor.html'}]
251es_m
252<utils.es_manager.ES_Manager object at 0x7f2f02538470>
253fields
254[{'data': '{"path": "@timestamp", "type": "date", "nested_layers": []}',
255 'label': '@timestamp',
256 'path': '@timestamp'},
257 {'data': '{"path": "@version", "type": "text", "nested_layers": []}',
258 'label': '@version',
259 'path': '@version'},
260 {'data': '{"path": "announcement.v1.attachments.id", "type": "text", '
261 '"nested_layers": []}',
262 'label': 'announcement → v1 → attachments → id',
263 'path': 'announcement.v1.attachments.id'},
264 {'data': '{"path": "announcement.v1.attachments.name", "type": "text", '
265 '"nested_layers": []}',
266 'label': 'announcement → v1 → attachments → name',
267 'path': 'announcement.v1.attachments.name'},
268 {'data': '{"path": "announcement.v1.content.html", "type": "text", '
269 '"nested_layers": []}',
270 'label': 'announcement → v1 → content → html',
271 'path': 'announcement.v1.content.html'},
272 {'data': '{"path": "announcement.v1.content.plain_text", "type": "text", '
273 '"nested_layers": []}',
274 'label': 'announcement → v1 → content → plain_text',
275 'path': 'announcement.v1.content.plain_text'},
276 {'data': '{"path": "announcement.v1.content.rich_text", "type": "text", '
277 '"nested_layers": []}',
278 'label': 'announcement → v1 → content → rich_text',
279 'path': 'announcement.v1.content.rich_text'},
280 {'data': '{"path": "announcement.v1.geotags.address", "type": "text", '
281 '"nested_layers": []}',
282 'label': 'announcement → v1 → geotags → address',
283 'path': 'announcement.v1.geotags.address'},
284 {'data': '{"path": "announcement.v1.geotags.description", "type": "text", '
285 '"nested_layers": []}',
286 'label': 'announcement → v1 → geotags → description',
287 'path': 'announcement.v1.geotags.description'},
288 {'data': '{"path": "announcement.v1.geotags.id", "type": "text", '
289 '"nested_layers": []}',
290 'label': 'announcement → v1 → geotags → id',
291 'path': 'announcement.v1.geotags.id'},
292 {'data': '{"path": "announcement.v1.geotags.location.lat", "type": "float", '
293 '"nested_layers": []}',
294 'label': 'announcement → v1 → geotags → location → lat',
295 'path': 'announcement.v1.geotags.location.lat'},
296 {'data': '{"path": "announcement.v1.geotags.location.lon", "type": "float", '
297 '"nested_layers": []}',
298 'label': 'announcement → v1 → geotags → location → lon',
299 'path': 'announcement.v1.geotags.location.lon'},
300 {'data': '{"path": "announcement.v1.geotags.pinColor", "type": "text", '
301 '"nested_layers": []}',
302 'label': 'announcement → v1 → geotags → pinColor',
303 'path': 'announcement.v1.geotags.pinColor'},
304 {'data': '{"path": "announcement.v1.geotags.pinText", "type": "text", '
305 '"nested_layers": []}',
306 'label': 'announcement → v1 → geotags → pinText',
307 'path': 'announcement.v1.geotags.pinText'},
308 {'data': '{"path": "announcement.v1.headline", "type": "text", '
309 '"nested_layers": []}',
310 'label': 'announcement → v1 → headline',
311 'path': 'announcement.v1.headline'},
312 {'data': '{"path": "announcement.v1.highlights", "type": "text", '
313 '"nested_layers": []}',
314 'label': 'announcement → v1 → highlights',
315 'path': 'announcement.v1.highlights'},
316 {'data': '{"path": "announcement.v1.id", "type": "text", "nested_layers": []}',
317 'label': 'announcement → v1 → id',
318 'path': 'announcement.v1.id'},
319 {'data': '{"path": "announcement.v1.published_at", "type": "date", '
320 '"nested_layers": []}',
321 'label': 'announcement → v1 → published_at',
322 'path': 'announcement.v1.published_at'},
323 {'data': '{"path": "announcement.v1.source", "type": "text", "nested_layers": '
324 '[]}',
325 'label': 'announcement → v1 → source',
326 'path': 'announcement.v1.source'},
327 {'data': '{"path": "announcement.v1.source_key", "type": "text", '
328 '"nested_layers": []}',
329 'label': 'announcement → v1 → source_key',
330 'path': 'announcement.v1.source_key'},
331 {'data': '{"path": "announcement.v1.url", "type": "text", "nested_layers": '
332 '[]}',
333 'label': 'announcement → v1 → url',
334 'path': 'announcement.v1.url'},
335 {'data': '{"path": "announcement.v1.viewed_by.id", "type": "text", '
336 '"nested_layers": []}',
337 'l... <trimmed 5260 bytes string>
338language_models
339<QuerySet []>
340mass_helper
341<task_manager.tools.mass_helper.MassHelper object at 0x7f2f02515208>
342preprocessors
343[{'arguments': {},
344 'bg_favors': ['Doc', 'All'],
345 'class': <class 'dataset_importer.document_preprocessor.preprocessors.scoro.ScoroPreprocessor'>,
346 'description': 'Extracts topics and evaluates sentiment',
347 'enabled_lexicons': <QuerySet []>,
348 'is_enabled': True,
349 'key': 'scoro',
350 'name': 'Scoro preprocessor',
351 'parameters_template': 'parameters/preprocessor_parameters/scoro.html',
352 'scoring_functions': ['Mutual information', 'Chi square', 'GND', 'JLG'],
353 'sentiment_analysis_methods': ['Lexicon-based', 'Model-based'],
354 'sentiment_lexicons': ['Scoro', 'General', 'Custom']},
355 {'arguments': {},
356 'class': <class 'dataset_importer.document_preprocessor.preprocessors.date_converter.DatePreprocessor'>,
357 'description': 'Converts date field values to correct format',
358 'is_enabled': True,
359 'key': 'date_converter',
360 'languages': ['Estonian',
361 'English',
362 'Russian',
363 'Latvian',
364 'Lithuanian',
365 'Other'],
366 'name': 'Date conversion preprocessor',
367 'parameters_template': 'parameters/preprocessor_parameters/date_converter.html'},
368 {'arguments': {},
369 'class': <class 'dataset_importer.document_preprocessor.preprocessors.comment_preprocessor.CommentPreprocessor'>,
370 'description': 'Converts comments',
371 'is_enabled': True,
372 'key': 'comment_preprocessor',
373 'name': 'Comment preprocessor',
374 'parameters_template': 'parameters/preprocessor_parameters/comment_preprocessor.html'},
375 {'arguments': {},
376 'class': <class 'dataset_importer.document_preprocessor.preprocessors.text_tagger.TextTaggerPreprocessor'>,
377 'description': 'Tags documents with TEXTA Text Tagger',
378 'enabled_taggers': <QuerySet []>,
379 'is_enabled': True,
380 'key': 'text_tagger',
381 'name': 'Text Tagger preprocessor',
382 'parameters_template': 'parameters/preprocessor_parameters/text_tagger.html'},
383 {'arguments': {},
384 'class': <class 'dataset_importer.document_preprocessor.preprocessors.lexicon_classifier.LexTagger'>,
385 'description': 'Applies lexicon-based tagging',
386 'enabled_lexicons': <QuerySet []>,
387 'is_enabled': True,
388 'key': 'lexicon_classifier',
389 'match_types': ['Prefix', 'Exact', 'Fuzzy'],
390 'name': 'Lexicon Tagger Preprocessor',
391 'operations': ['OR', 'AND'],
392 'parameters_template': 'parameters/preprocessor_parameters/lexicon_classifier.html'},
393 {'arguments': {'enabled_features': ['text', 'lang', 'texta_facts'],
394 'mlp_url': 'http://texta-mlp:500/mlp/process'},
395 'class': <class 'dataset_importer.document_preprocessor.preprocessors.mlp.MlpPreprocessor'>,
396 'description': 'Extracts lemmas and identifies language code from multiple '
397 'languages.',
398 'field_properties': {'properties': {'lang': {'ignore_above': 256,
399 'type': 'keyword'},
400 'lemmas': {'fields': {'keyword': {'ignore_above': 256,
401 'type': 'keyword'}},
402 'type': 'text'},
403 'text': {'fields': {'keyword': {'ignore_above': 256,
404 'type': 'keyword'}},
405 'type': 'text'}}},
406 'is_enabled': True,
407 'key': 'mlp',
408 'name': 'Multilingual preprocessor',
409 'parameters_template': 'parameters/preprocessor_parameters/mlp.html'},
410 {'arguments': {},
411 'class': <class 'dataset_importer.document_preprocessor.preprocessors.entity_extractor.EntityExtractorPreprocessor'>,
412 'description': 'Extract entities from documents with TEXTA Entity Extractor',
413 'enabled_extractors': <QuerySet []>,
414 'is_enabled': True,
415 'key': 'entity_extractor',
416 'name': 'Entity Extractor preprocessor',
417 'parameters_template': 'parameters/preprocessor_parameters/entity_extractor.html'}]
418request
419<WSGIRequest: GET '/task_manager/'>
420tag_set
421set()
422tasks
423[]
424/var/www/texta/task_manager/tasks/task_params.py in get_fact_names
425 {'process': 'GET TASK PARAMS', 'event': 'get_fact_names', 'data': {'active_datasets_ids_and_names': [(ds.id, ds.index) for ds in es_m.active_datasets], 'response_keys': response.keys()}}), exc_info=True) ...
426â–¼ Local vars
427Variable Value
428aggs
429{'main': {'aggs': {'facts': {'aggs': {'fact_names': {'aggs': {'fact_values': {'terms': {'field': 'texta_facts.str_val'}}},
430 'terms': {'field': 'texta_facts.fact',
431 'size': 10000}}},
432 'nested': {'path': 'texta_facts'}}}}}
433es_m
434<utils.es_manager.ES_Manager object at 0x7f2f02538470>
435response
436{'_shards': {'failed': 0, 'skipped': 0, 'successful': 5, 'total': 5},
437 'aggregations': {'facts': {'doc_count': 0}},
438 'hits': {'hits': [{'_id': '53fd2b961548058762de785986423384',
439 '_index': 'announcement-2019.01',
440 '_score': 1.0,
441 '_source': {'@timestamp': '2019-01-02T19:01:56.372+0200',
442 'announcement': {'v1': {'content': {'html': '<!doctype '
443 'html>\n'
444 '<html '
445 'class="no-js">\n'
446 ' '
447 '<head>\n'
448 ' '
449 '<meta '
450 'content="IE=edge,chrome=1" '
451 'http-equiv="X-UA-Compatible">\n'
452 ' '
453 '<meta '
454 'charset="utf-8">\n'
455 ' '
456 '<meta '
457 'content="text/html" '
458 'http-equiv="Content-Type">\n'
459 ' '
460 '<meta '
461 'name="viewport" '
462 'content="width=device-width, '
463 'initial-scale=1.0, '
464 'minimum-scale=1.0">\n'
465 ' '
466 '<link '
467 'rel="dns-prefetch" '
468 'href="//cdn.optimizely.com/js/128727546.js">\n'
469 ' '
470 '<link '
471 'rel="dns-prefetch" '
472 'href="//tpc.googlesyndication.com">\n'
473 ' '
474 '<link '
475 'rel="dns-prefetch" '
476 'href="//pagead2.googlesyndication.com">\n'
477 ' '
478 '<link '
479 'rel="dns-prefetch" '
480 'href="//www.googletagservices.com">\n'
481 ' '
482 ... <trimmed 30001240 bytes string>
483/var/anaconda3/envs/p35/lib/python3.5/json/__init__.py in dumps
484 return _default_encoder.encode(obj) ...
485â–¼ Local vars
486Variable Value
487allow_nan
488True
489check_circular
490True
491cls
492None
493default
494None
495ensure_ascii
496True
497indent
498None
499kw
500{}
501obj
502{'data': {'active_datasets_ids_and_names': [(2, 'announcement-2019.01')],
503 'response_keys': dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])},
504 'event': 'get_fact_names',
505 'process': 'GET TASK PARAMS'}
506separators
507None
508skipkeys
509False
510sort_keys
511False
512/var/anaconda3/envs/p35/lib/python3.5/json/encoder.py in encode
513 chunks = self.iterencode(o, _one_shot=True) ...
514â–¼ Local vars
515Variable Value
516o
517{'data': {'active_datasets_ids_and_names': [(2, 'announcement-2019.01')],
518 'response_keys': dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])},
519 'event': 'get_fact_names',
520 'process': 'GET TASK PARAMS'}
521self
522<json.encoder.JSONEncoder object at 0x7f2f37123278>
523/var/anaconda3/envs/p35/lib/python3.5/json/encoder.py in iterencode
524 return _iterencode(o, 0) ...
525â–¼ Local vars
526Variable Value
527_encoder
528<built-in function encode_basestring_ascii>
529_iterencode
530<_json.Encoder object at 0x7f2f025724f8>
531_one_shot
532True
533floatstr
534<function JSONEncoder.iterencode.<locals>.floatstr at 0x7f2f026547b8>
535markers
536{139839878975816: {'active_datasets_ids_and_names': [(2,
537 'announcement-2019.01')],
538 'response_keys': dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])},
539 139839880664200: {'data': {'active_datasets_ids_and_names': [(2,
540 'announcement-2019.01')],
541 'response_keys': dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])},
542 'event': 'get_fact_names',
543 'process': 'GET TASK PARAMS'},
544 139840758381448: dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])}
545o
546{'data': {'active_datasets_ids_and_names': [(2, 'announcement-2019.01')],
547 'response_keys': dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])},
548 'event': 'get_fact_names',
549 'process': 'GET TASK PARAMS'}
550self
551<json.encoder.JSONEncoder object at 0x7f2f37123278>
552/var/anaconda3/envs/p35/lib/python3.5/json/encoder.py in default
553 raise TypeError(repr(o) + " is not JSON serializable") ...
554â–¼ Local vars
555Variable Value
556o
557dict_keys(['aggregations', 'hits', 'timed_out', 'took', '_shards'])
558self
559<json.encoder.JSONEncoder object at 0x7f2f37123278>
560Request information
561USER
562admin
563
564GET
565No GET data
566
567POST
568No POST data
569
570FILES
571No FILES data
572
573COOKIES
574Variable Value
575_ym_uid
576'1545215154299022560'
577_bti
578'%7B%22bsin%22%3A%22%22%7D'
579sessionid
580'7hdbha3j0oqr0j0g1hrqk5d111j6ew4x'
581btIdentify
582'3a111f41-75b4-424b-d3ff-565f8e21e03e'
583_ym_d
584'1545215154'
585cX_P
586'jpv19q5fsbcq8d63'
587__gfp_64b
588'Iyps_LZzJj6jeY3piCdpee6stUY2yBX2DhgVqd8_2Yv.z7'
589_cb_ls
590'1'
591optimizelyEndUserId
592'oeu1545215163575r0.6304065435633326'
593_ga
594'GA1.1.619960641.1545215149'
595META
596Variable Value
597CONTENT_LENGTH
598''
599CONTENT_TYPE
600''
601DOCUMENT_ROOT
602'/usr/share/nginx/html'
603HTTP_ACCEPT
604'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
605HTTP_ACCEPT_ENCODING
606'gzip, deflate'
607HTTP_ACCEPT_LANGUAGE
608'en-US,en;q=0.9'
609HTTP_CONNECTION
610'close'
611HTTP_COOKIE
612('_ga=GA1.1.619960641.1545215149; _cb_ls=1; _ym_uid=1545215154299022560; '
613 '_ym_d=1545215154; optimizelyEndUserId=oeu1545215163575r0.6304065435633326; '
614 '__gfp_64b=Iyps_LZzJj6jeY3piCdpee6stUY2yBX2DhgVqd8_2Yv.z7; '
615 'btIdentify=3a111f41-75b4-424b-d3ff-565f8e21e03e; '
616 '_bti=%7B%22bsin%22%3A%22%22%7D; cX_P=jpv19q5fsbcq8d63; '
617 'sessionid=7hdbha3j0oqr0j0g1hrqk5d111j6ew4x')
618HTTP_HOST
619'185.174.163.172'
620HTTP_REFERER
621'http://185.174.163.172/'
622HTTP_UPGRADE_INSECURE_REQUESTS
623'1'
624HTTP_USER_AGENT
625('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '
626 'Gecko) Chrome/71.0.3578.98 Safari/537.36')
627HTTP_X_FORWARDED_FOR
628'195.80.106.122'
629HTTP_X_FORWARDED_PORT
630'80'
631HTTP_X_FORWARDED_PROTO
632'http'
633HTTP_X_FORWARDED_SSL
634'off'
635HTTP_X_REAL_IP
636'195.80.106.122'
637PATH_INFO
638'/task_manager/'
639QUERY_STRING
640''
641REMOTE_ADDR
642'172.18.0.3'
643REMOTE_PORT
644'42702'
645REQUEST_METHOD
646'GET'
647REQUEST_SCHEME
648'http'
649REQUEST_URI
650'/task_manager/'
651SCRIPT_NAME
652''
653SERVER_NAME
654''
655SERVER_PORT
656'80'
657SERVER_PROTOCOL
658'HTTP/1.1'
659uwsgi.node
660b'c4058f3f4d44'
661uwsgi.version
662b'2.0.17.1'
663wsgi.errors
664<_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
665wsgi.file_wrapper
666''
667wsgi.input
668<uwsgi._Input object at 0x7f2f021f3ee8>
669wsgi.multiprocess
670True
671wsgi.multithread
672False
673wsgi.run_once
674False
675wsgi.url_scheme
676'http'
677wsgi.version
678(1, 0)
679Settings
680Using settings module texta.settings
681Setting Value
682ABSOLUTE_URL_OVERRIDES
683{}
684ADMINS
685()
686ADMIN_MEDIA_PREFIX
687'/media/'
688ALLOWED_HOSTS
689['*']
690APPEND_SLASH
691True
692AUTHENTICATION_BACKENDS
693['django.contrib.auth.backends.ModelBackend']
694AUTH_PASSWORD_VALIDATORS
695'********************'
696AUTH_USER_MODEL
697'auth.User'
698BASE_DIR
699'/var/www/texta/texta'
700CACHES
701{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
702CACHE_MIDDLEWARE_ALIAS
703'default'
704CACHE_MIDDLEWARE_KEY_PREFIX
705'********************'
706CACHE_MIDDLEWARE_SECONDS
707600
708CSRF_COOKIE_AGE
70931449600
710CSRF_COOKIE_DOMAIN
711None
712CSRF_COOKIE_HTTPONLY
713False
714CSRF_COOKIE_NAME
715'csrftoken'
716CSRF_COOKIE_PATH
717'/'
718CSRF_COOKIE_SECURE
719False
720CSRF_FAILURE_VIEW
721'django.views.csrf.csrf_failure'
722CSRF_HEADER_NAME
723'HTTP_X_CSRFTOKEN'
724CSRF_TRUSTED_ORIGINS
725[]
726CSRF_USE_SESSIONS
727False
728DATABASES
729{'default': {'ATOMIC_REQUESTS': False,
730 'AUTOCOMMIT': True,
731 'BACKUP_COUNT': 5,
732 'CONN_MAX_AGE': None,
733 'ENGINE': 'django.db.backends.mysql',
734 'HOST': 'mysql',
735 'NAME': 'docker',
736 'OPTIONS': {},
737 'PASSWORD': '********************',
738 'PORT': '3306',
739 'TEST': {'CHARSET': None,
740 'COLLATION': None,
741 'MIRROR': None,
742 'NAME': None},
743 'TIME_ZONE': None,
744 'USER': 'docker'}}
745DATABASE_ROUTERS
746[]
747DATASET_ACCESS_DEFAULT
748'private'
749DATASET_IMPORTER
750{'directory': '/var/www/texta/texta/files/dataset_importer',
751 'import_processes': 2,
752 'process_batch_size': 1000,
753 'sync': {'enabled': False,
754 'index_sqlite_path': '/var/www/texta/texta/database/import_sync.db',
755 'interval_in_seconds': 10},
756 'urls': {'mlp': 'http://texta-mlp:500/mlp/process'}}
757DATA_UPLOAD_MAX_MEMORY_SIZE
75826214400000
759DATA_UPLOAD_MAX_NUMBER_FIELDS
760None
761DATETIME_FORMAT
762'N j, Y, P'
763DATETIME_INPUT_FORMATS
764['%Y-%m-%d %H:%M:%S',
765 '%Y-%m-%d %H:%M:%S.%f',
766 '%Y-%m-%d %H:%M',
767 '%Y-%m-%d',
768 '%m/%d/%Y %H:%M:%S',
769 '%m/%d/%Y %H:%M:%S.%f',
770 '%m/%d/%Y %H:%M',
771 '%m/%d/%Y',
772 '%m/%d/%y %H:%M:%S',
773 '%m/%d/%y %H:%M:%S.%f',
774 '%m/%d/%y %H:%M',
775 '%m/%d/%y']
776DATE_FORMAT
777'N j, Y'
778DATE_INPUT_FORMATS
779['%Y-%m-%d',
780 '%m/%d/%Y',
781 '%m/%d/%y',
782 '%b %d %Y',
783 '%b %d, %Y',
784 '%d %b %Y',
785 '%d %b, %Y',
786 '%B %d %Y',
787 '%B %d, %Y',
788 '%d %B %Y',
789 '%d %B, %Y']
790DEBUG
791True
792DEBUG_PROPAGATE_EXCEPTIONS
793False
794DECIMAL_SEPARATOR
795'.'
796DEFAULT_CHARSET
797'utf-8'
798DEFAULT_CONTENT_TYPE
799'text/html'
800DEFAULT_EXCEPTION_REPORTER_FILTER
801'django.views.debug.SafeExceptionReporterFilter'
802DEFAULT_FILE_STORAGE
803'django.core.files.storage.FileSystemStorage'
804DEFAULT_FROM_EMAIL
805'webmaster@localhost'
806DEFAULT_INDEX_TABLESPACE
807''
808DEFAULT_TABLESPACE
809''
810DISALLOWED_USER_AGENTS
811[]
812DOMAIN
813'185.174.163.172'
814EMAIL_BACKEND
815'django.core.mail.backends.smtp.EmailBackend'
816EMAIL_HOST
817'smtp.gmail.com'
818EMAIL_HOST_PASSWORD
819'********************'
820EMAIL_HOST_USER
821'emailaddress@gmail.com'
822EMAIL_PORT
823587
824EMAIL_SSL_CERTFILE
825None
826EMAIL_SSL_KEYFILE
827'********************'
828EMAIL_SUBJECT_PREFIX
829'[Django] '
830EMAIL_TIMEOUT
831None
832EMAIL_USE_LOCALTIME
833False
834EMAIL_USE_SSL
835False
836EMAIL_USE_TLS
837True
838ERROR_LOGGER
839'error_logger'
840FACT_PROPERTIES
841{'properties': {'doc_path': {'type': 'keyword'},
842 'fact': {'type': 'keyword'},
843 'num_val': {'type': 'long'},
844 'spans': {'type': 'keyword'},
845 'str_val': {'type': 'keyword'}},
846 'type': 'nested'}
847FILE_CHARSET
848'utf-8'
849FILE_UPLOAD_DIRECTORY_PERMISSIONS
850None
851FILE_UPLOAD_HANDLERS
852['django.core.files.uploadhandler.MemoryFileUploadHandler',
853 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
854FILE_UPLOAD_MAX_MEMORY_SIZE
8552621440
856FILE_UPLOAD_PERMISSIONS
857None
858FILE_UPLOAD_TEMP_DIR
859None
860FIRST_DAY_OF_WEEK
8610
862FIXTURE_DIRS
863[]
864FORCE_SCRIPT_NAME
865None
866FORMAT_MODULE_PATH
867None
868FORM_RENDERER
869'django.forms.renderers.DjangoTemplates'
870IGNORABLE_404_URLS
871[]
872INFO_LOGGER
873'info_logger'
874INSTALLED_APPS
875('django.contrib.auth',
876 'django.contrib.contenttypes',
877 'django.contrib.sessions',
878 'django.contrib.sites',
879 'django.contrib.messages',
880 'django.contrib.admin',
881 'django.contrib.staticfiles',
882 'lexicon_miner',
883 'conceptualiser',
884 'mwe_miner',
885 'account',
886 'searcher',
887 'ontology_viewer',
888 'base',
889 'permission_admin',
890 'grammar_builder',
891 'search_api',
892 'dataset_importer',
893 'importer_api',
894 'task_manager')
895INTERNAL_IPS
896[]
897LANGUAGES
898[('af', 'Afrikaans'),
899 ('ar', 'Arabic'),
900 ('ast', 'Asturian'),
901 ('az', 'Azerbaijani'),
902 ('bg', 'Bulgarian'),
903 ('be', 'Belarusian'),
904 ('bn', 'Bengali'),
905 ('br', 'Breton'),
906 ('bs', 'Bosnian'),
907 ('ca', 'Catalan'),
908 ('cs', 'Czech'),
909 ('cy', 'Welsh'),
910 ('da', 'Danish'),
911 ('de', 'German'),
912 ('dsb', 'Lower Sorbian'),
913 ('el', 'Greek'),
914 ('en', 'English'),
915 ('en-au', 'Australian English'),
916 ('en-gb', 'British English'),
917 ('eo', 'Esperanto'),
918 ('es', 'Spanish'),
919 ('es-ar', 'Argentinian Spanish'),
920 ('es-co', 'Colombian Spanish'),
921 ('es-mx', 'Mexican Spanish'),
922 ('es-ni', 'Nicaraguan Spanish'),
923 ('es-ve', 'Venezuelan Spanish'),
924 ('et', 'Estonian'),
925 ('eu', 'Basque'),
926 ('fa', 'Persian'),
927 ('fi', 'Finnish'),
928 ('fr', 'French'),
929 ('fy', 'Frisian'),
930 ('ga', 'Irish'),
931 ('gd', 'Scottish Gaelic'),
932 ('gl', 'Galician'),
933 ('he', 'Hebrew'),
934 ('hi', 'Hindi'),
935 ('hr', 'Croatian'),
936 ('hsb', 'Upper Sorbian'),
937 ('hu', 'Hungarian'),
938 ('ia', 'Interlingua'),
939 ('id', 'Indonesian'),
940 ('io', 'Ido'),
941 ('is', 'Icelandic'),
942 ('it', 'Italian'),
943 ('ja', 'Japanese'),
944 ('ka', 'Georgian'),
945 ('kab', 'Kabyle'),
946 ('kk', 'Kazakh'),
947 ('km', 'Khmer'),
948 ('kn', 'Kannada'),
949 ('ko', 'Korean'),
950 ('lb', 'Luxembourgish'),
951 ('lt', 'Lithuanian'),
952 ('lv', 'Latvian'),
953 ('mk', 'Macedonian'),
954 ('ml', 'Malayalam'),
955 ('mn', 'Mongolian'),
956 ('mr', 'Marathi'),
957 ('my', 'Burmese'),
958 ('nb', 'Norwegian Bokmål'),
959 ('ne', 'Nepali'),
960 ('nl', 'Dutch'),
961 ('nn', 'Norwegian Nynorsk'),
962 ('os', 'Ossetic'),
963 ('pa', 'Punjabi'),
964 ('pl', 'Polish'),
965 ('pt', 'Portuguese'),
966 ('pt-br', 'Brazilian Portuguese'),
967 ('ro', 'Romanian'),
968 ('ru', 'Russian'),
969 ('sk', 'Slovak'),
970 ('sl', 'Slovenian'),
971 ('sq', 'Albanian'),
972 ('sr', 'Serbian'),
973 ('sr-latn', 'Serbian Latin'),
974 ('sv', 'Swedish'),
975 ('sw', 'Swahili'),
976 ('ta', 'Tamil'),
977 ('te', 'Telugu'),
978 ('th', 'Thai'),
979 ('tr', 'Turkish'),
980 ('tt', 'Tatar'),
981 ('udm', 'Udmurt'),
982 ('uk', 'Ukrainian'),
983 ('ur', 'Urdu'),
984 ('vi', 'Vietnamese'),
985 ('zh-hans', 'Simplified Chinese'),
986 ('zh-hant', 'Traditional Chinese')]
987LANGUAGES_BIDI
988['he', 'ar', 'fa', 'ur']
989LANGUAGE_CODE
990'et'
991LANGUAGE_COOKIE_AGE
992None
993LANGUAGE_COOKIE_DOMAIN
994None
995LANGUAGE_COOKIE_NAME
996'django_language'
997LANGUAGE_COOKIE_PATH
998'/'
999LOCALE_PATHS
1000[]
1001LOGGING
1002{'disable_existing_loggers': False,
1003 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'},
1004 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'},
1005 'require_logstash_instance': {'()': 'texta.logger_handler.RequireLogstashInstance'}},
1006 'formatters': {'detailed': {'format': '%(levelname)s - %(module)s - function: '
1007 '%(funcName)s - line: %(lineno)s - '
1008 '%(name)s - PID: %(process)d - TID: '
1009 '%(thread)d - %(message)s - '
1010 '%(asctime)-15s'},
1011 'detailed_error': {'format': '\n'
1012 '%(levelname)s - %(module)s - '
1013 '%(name)s - PID: %(process)d - '
1014 'TID: %(thread)d - %(funcName)s - '
1015 '%(message)s - %(asctime)-15s'},
1016 'logstash': {'()': 'logstash_async.formatter.DjangoLogstashFormatter',
1017 'ensure_ascii': False,
1018 'extra_prefix': '',
1019 'fqdn': False,
1020 'message_type': 'python-logstash'},
1021 'normal': {'format': '%(levelname)s - %(module)s - %(message)s '
1022 '- %(asctime)s'}},
1023 'handlers': {'console': {'class': 'logging.StreamHandler',
1024 'formatter': 'detailed',
1025 'level': 'INFO'},
1026 'error_file': {'class': 'logging.FileHandler',
1027 'encoding': 'utf8',
1028 'filename': '/var/www/texta/texta/log/error.log',
1029 'formatter': 'detailed_error',
1030 'level': 'ERROR',
1031 'mode': 'a'},
1032 'info_file': {'class': 'logging.FileHandler',
1033 'encoding': 'utf8',
1034 'filename': '/var/www/texta/texta/log/info.log',
1035 'formatter': 'detailed',
1036 'level': 'INFO',
1037 'mode': 'a'},
1038 'logstash': {'class': 'logstash_async.handler.AsynchronousLogstashHandler',
1039 'database_path': None,
1040 'filters': ['require_logstash_instance'],
1041 'formatter': 'logstash',
1042 'host': 'localhost',
1043 'level': 'INFO',
1044 'port': 5000,
1045 'transport': 'logstash_async.transport.TcpTransport'},
1046 'null': {'class': 'logging.NullHandler'}},
1047 'loggers': {'django': {'handlers': ['console', 'error_file', 'logstash'],
1048 'level': 'ERROR',
1049 'propagate': False},
1050 'django.request': {'handlers': ['error_file',
1051 'error_file',
1052 'logstash'],
1053 'level': 'ERROR',
1054 'propagate': False},
1055 'django.server': {'handlers': ['console', 'logstash'],
1056 'level': 'INFO',
1057 'propagate': False},
1058 'error_logger': {'handlers': ['console', 'error_file', 'logstash'],
1059 'level': 'ERROR'},
1060 'info_logger': {'handlers': ['info_file', 'logstash'],
1061 'level': 'INFO'}},
1062 'version': 1}
1063LOGGING_CONFIG
1064'logging.config.dictConfig'
1065LOGIN_REDIRECT_URL
1066'/accounts/profile/'
1067LOGIN_URL
1068'http://185.174.163.172'
1069LOGOUT_REDIRECT_URL
1070None
1071LOGSTASH_HOST
1072'localhost'
1073LOGSTASH_PORT
10745000
1075LOG_PATH
1076'/var/www/texta/texta/log'
1077MANAGERS
1078()
1079MEDIA_ROOT
1080'/var/www/texta/texta/files'
1081MEDIA_URL
1082'files/'
1083MESSAGE_STORAGE
1084'django.contrib.messages.storage.fallback.FallbackStorage'
1085MIDDLEWARE
1086('django.middleware.common.CommonMiddleware',
1087 'django.contrib.sessions.middleware.SessionMiddleware',
1088 'django.contrib.auth.middleware.AuthenticationMiddleware',
1089 'django.contrib.messages.middleware.MessageMiddleware')
1090MIGRATION_MODULES
1091{}
1092MODELS_DIR
1093'/var/www/texta/texta/data/models'
1094MONTH_DAY_FORMAT
1095'F j'
1096NUMBER_GROUPING
10970
1098PASSWORD_HASHERS
1099'********************'
1100PASSWORD_RESET_TIMEOUT_DAYS
1101'********************'
1102PREPEND_WWW
1103False
1104PROTECTED_MEDIA
1105'/var/www/texta/texta/files/protected_media'
1106PROTOCOL
1107'http://'
1108REQUIRE_EMAIL_CONFIRMATION
1109False
1110ROOT_URLCONF
1111'texta.urls'
1112SCORO_PREPROCESSOR_ENABLED
1113True
1114SCRIPT_MANAGER_DIR
1115'/var/www/texta/texta/files/script_manager'
1116SECRET_KEY
1117'********************'
1118SECURE_BROWSER_XSS_FILTER
1119False
1120SECURE_CONTENT_TYPE_NOSNIFF
1121False
1122SECURE_HSTS_INCLUDE_SUBDOMAINS
1123False
1124SECURE_HSTS_PRELOAD
1125False
1126SECURE_HSTS_SECONDS
11270
1128SECURE_PROXY_SSL_HEADER
1129None
1130SECURE_REDIRECT_EXEMPT
1131[]
1132SECURE_SSL_HOST
1133None
1134SECURE_SSL_REDIRECT
1135False
1136SERVER_EMAIL
1137'root@localhost'
1138SERVER_TYPE
1139'docker'
1140SESSION_CACHE_ALIAS
1141'default'
1142SESSION_COOKIE_AGE
11431209600
1144SESSION_COOKIE_DOMAIN
1145None
1146SESSION_COOKIE_HTTPONLY
1147True
1148SESSION_COOKIE_NAME
1149'sessionid'
1150SESSION_COOKIE_PATH
1151'/'
1152SESSION_COOKIE_SECURE
1153False
1154SESSION_ENGINE
1155'django.contrib.sessions.backends.db'
1156SESSION_EXPIRE_AT_BROWSER_CLOSE
1157False
1158SESSION_FILE_PATH
1159None
1160SESSION_SAVE_EVERY_REQUEST
1161False
1162SESSION_SERIALIZER
1163'django.contrib.sessions.serializers.JSONSerializer'
1164SETTINGS_MODULE
1165'texta.settings'
1166SHORT_DATETIME_FORMAT
1167'm/d/Y P'
1168SHORT_DATE_FORMAT
1169'm/d/Y'
1170SIGNING_BACKEND
1171'django.core.signing.TimestampSigner'
1172SILENCED_SYSTEM_CHECKS
1173[]
1174SITE_ID
11751
1176STATICFILES_DIRS
1177[]
1178STATICFILES_FINDERS
1179['django.contrib.staticfiles.finders.FileSystemFinder',
1180 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
1181STATICFILES_STORAGE
1182'django.contrib.staticfiles.storage.StaticFilesStorage'
1183STATIC_ROOT
1184'/var/www/texta/static'
1185STATIC_URL
1186'/static/'
1187TEMPLATES
1188[{'APP_DIRS': True,
1189 'BACKEND': 'django.template.backends.django.DjangoTemplates',
1190 'DIRS': [],
1191 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
1192 'django.template.context_processors.debug',
1193 'django.template.context_processors.i18n',
1194 'django.template.context_processors.media',
1195 'django.template.context_processors.static',
1196 'django.template.context_processors.tz',
1197 'django.template.context_processors.request',
1198 'django.contrib.messages.context_processors.messages',
1199 'utils.context_processors.get_version'],
1200 'debug': True}}]
1201TEST_NON_SERIALIZED_APPS
1202[]
1203TEST_RUNNER
1204'django.test.runner.DiscoverRunner'
1205THOUSAND_SEPARATOR
1206','
1207TIME_FORMAT
1208'P'
1209TIME_INPUT_FORMATS
1210['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
1211TIME_ZONE
1212'Europe/Tallinn'
1213URL_PREFIX
1214'http://185.174.163.172'
1215URL_PREFIX_DOMAIN
1216'http://185.174.163.172'
1217URL_PREFIX_RESOURCE
1218''
1219USER_ISACTIVE_DEFAULT
1220False
1221USER_MODELS
1222'/var/www/texta/texta/data/usermodels'
1223USE_ETAGS
1224False
1225USE_I18N
1226True
1227USE_L10N
1228True
1229USE_THOUSAND_SEPARATOR
1230False
1231USE_TZ
1232False
1233USE_X_FORWARDED_HOST
1234False
1235USE_X_FORWARDED_PORT
1236False
1237USING_LOGSTASH
1238False
1239WSGI_APPLICATION
1240None
1241X_FRAME_OPTIONS
1242'SAMEORIGIN'
1243YEAR_MONTH_FORMAT
1244'F Y'
1245You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.