File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/core/handlers/base.py", line 113, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/views/generic/base.py", line 68, in view
return self.dispatch(request, _args, *_kwargs)
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/views/generic/base.py", line 86, in dispatch
return handler(request, _args, *_kwargs)
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/views/generic/edit.py", line 165, in post
return self.form_valid(form)
File "/home/bodb/www/uscbp_prod/bodb/views/report.py", line 197, in form_valid
elements=model_report_pdf(context, display_settings)
File "/home/bodb/www/uscbp_prod/bodb/views/report.py", line 1685, in model_report_pdf
elements=related_model_section_pdf(elements, context['related_models'])
File "/home/bodb/www/uscbp_prod/bodb/views/report.py", line 2047, in related_model_section_pdf
modelData.append([Paragraph(unicode(str(related_model.model)).encode('utf8','ignore'),styles['BodyText']),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 91: ordinal not in range(128)
Traceback (most recent call last):
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/core/handlers/base.py", line 113, in get_response response = callback(request, _callback_args, *_callback_kwargs)
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/views/generic/base.py", line 68, in view return self.dispatch(request, _args, *_kwargs)
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/views/generic/base.py", line 86, in dispatch return handler(request, _args, *_kwargs)
File "/home/bodb/.virtualenvs/bodb_prod/lib/python2.7/site-packages/Django-1.5.12-py2.7.egg/django/views/generic/edit.py", line 165, in post return self.form_valid(form)
File "/home/bodb/www/uscbp_prod/bodb/views/report.py", line 197, in form_valid elements=model_report_pdf(context, display_settings)
File "/home/bodb/www/uscbp_prod/bodb/views/report.py", line 1685, in model_report_pdf elements=related_model_section_pdf(elements, context['related_models'])
File "/home/bodb/www/uscbp_prod/bodb/views/report.py", line 2047, in related_model_section_pdf modelData.append([Paragraph(unicode(str(related_model.model)).encode('utf8','ignore'),styles['BodyText']),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 91: ordinal not in range(128)
<WSGIRequest path:/bodb/model/853/report/, GET:<QueryDict: {u'_popup': [u'1']}>, POST:<QueryDict: {u'csrfmiddlewaretoken': [u'38iAmj2XuVwLXSmdKlngjyZ3fCw59zPX'], u'format': [u'pdf'], u'related_model_display': [u'on'], u'related_bop_display': [u'on']}>, COOKIES:{'_ga': 'GA1.2.128265388.1456665873', 'acgroupswithpersist': 'nada', 'acopendivids': 'tagBar', 'csrftoken': '38iAmj2XuVwLXSmdKlngjyZ3fCw59zPX'}, META:{'CONTENT_LENGTH': '111', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', u'CSRF_COOKIE': u'38iAmj2XuVwLXSmdKlngjyZ3fCw59zPX', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/_;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en,it-IT;q=0.8,it;q=0.6,en-US;q=0.4', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '_ga=GA1.2.128265388.1456665873; acopendivids=tagBar; acgroupswithpersist=nada; csrftoken=38iAmj2XuVwLXSmdKlngjyZ3fCw59zPX', 'HTTP_HOST': 'bodb.usc.edu', 'HTTP_ORIGIN': 'http://bodb.usc.edu', 'HTTP_REFERER': 'http://bodb.usc.edu/bodb/model/853/report/?_popup=1', 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36', 'PATH_INFO': u'/bodb/model/853/report/', 'PATH_TRANSLATED': '/var/www/bodb.usc.edu/index.wsgi/bodb/model/853/report/', 'QUERY_STRING': '_popup=1', 'REMOTE_ADDR': '128.243.2.30', 'REMOTE_PORT': '49581', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/bodb/model/853/report/?_popup=1', 'SCRIPT_FILENAME': '/var/www/bodb.usc.edu/index.wsgi', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://bodb.usc.edu/bodb/model/853/report/', 'SCRIPT_URL': '/bodb/model/853/report/', 'SERVER_ADDR': '68.181.113.229', 'SERVER_ADMIN': 'jbonaiuto@gmail.com', 'SERVER_NAME': 'bodb.usc.edu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '
Apache/2.2.12 (Ubuntu) Server at bodb.usc.edu Port 80\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': 'bodb.usc.edu|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': '', 'mod_wsgi.queue_start': '1461782262745729', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 4), 'wsgi.errors': <mod_wsgi.Log object at 0x7f03ba037af0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f03ba068be8>, 'wsgi.input': <mod_wsgi.Input object at 0x7f03ba037ab0>