Changes between Initial Version and Version 1 of Ticket #27811, comment 2


Ignore:
Timestamp:
Feb 6, 2017, 10:57:31 AM (8 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27811, comment 2

    initial v1  
    22
    33The complete traceback is :
    4 
    5 `[Mon Feb 06 13:50:53.062546 2017] [:error] [pid 17650] [remote 192.168.34.196:61833] mod_wsgi (pid=17650): Exception occurred processing WSGI script '/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/my_project/integr_wsgi.py'.
    6 [Mon Feb 06 13:50:53.062610 2017] [:error] [pid 17650] [remote 192.168.34.196:61833] Traceback (most recent call last):
    7 [Mon Feb 06 13:50:53.062634 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 170, in __call__
    8 [Mon Feb 06 13:50:53.062763 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     response = self.get_response(request)
    9 [Mon Feb 06 13:50:53.062783 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/handlers/base.py", line 124, in get_response
    10 [Mon Feb 06 13:50:53.062893 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     response = self._middleware_chain(request)
    11 [Mon Feb 06 13:50:53.062912 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    12 [Mon Feb 06 13:50:53.063000 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     response = response_for_exception(request, exc)
    13 [Mon Feb 06 13:50:53.063018 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/handlers/exception.py", line 86, in response_for_exception
    14 [Mon Feb 06 13:50:53.063043 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
    15 [Mon Feb 06 13:50:53.063057 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/handlers/exception.py", line 124, in handle_uncaught_exception
    16 [Mon Feb 06 13:50:53.063077 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     extra={'status_code': 500, 'request': request},
    17 [Mon Feb 06 13:50:53.063090 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/usr/lib64/python2.7/logging/__init__.py", line 1175, in error
    18 [Mon Feb 06 13:50:53.063499 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self._log(ERROR, msg, args, **kwargs)
    19 [Mon Feb 06 13:50:53.063519 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in _log
    20 [Mon Feb 06 13:50:53.063542 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self.handle(record)
    21 [Mon Feb 06 13:50:53.063555 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/usr/lib64/python2.7/logging/__init__.py", line 1278, in handle
    22 [Mon Feb 06 13:50:53.063572 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self.callHandlers(record)
    23 [Mon Feb 06 13:50:53.063584 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/usr/lib64/python2.7/logging/__init__.py", line 1318, in callHandlers
    24 [Mon Feb 06 13:50:53.063622 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     hdlr.handle(record)
    25 [Mon Feb 06 13:50:53.063637 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/usr/lib64/python2.7/logging/__init__.py", line 749, in handle
    26 [Mon Feb 06 13:50:53.063655 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self.emit(record)
    27 [Mon Feb 06 13:50:53.063667 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/utils/log.py", line 121, in emit
    28 [Mon Feb 06 13:50:53.063760 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self.send_mail(subject, message, fail_silently=True, html_message=html_message)
    29 [Mon Feb 06 13:50:53.063776 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/utils/log.py", line 124, in send_mail
    30 [Mon Feb 06 13:50:53.063799 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     mail.mail_admins(subject, message, *args, connection=self.connection(), **kwargs)
    31 [Mon Feb 06 13:50:53.063813 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/mail/__init__.py", line 103, in mail_admins
    32 [Mon Feb 06 13:50:53.063887 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     mail.send(fail_silently=fail_silently)
    33 [Mon Feb 06 13:50:53.063903 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/mail/message.py", line 342, in send
    34 [Mon Feb 06 13:50:53.064068 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     return self.get_connection(fail_silently).send_messages([self])
    35 [Mon Feb 06 13:50:53.064086 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 107, in send_messages
    36 [Mon Feb 06 13:50:53.064181 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     sent = self._send(message)
    37 [Mon Feb 06 13:50:53.064198 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 123, in _send
    38 [Mon Feb 06 13:50:53.064221 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\\r\\n'))
    39 [Mon Feb 06 13:50:53.064235 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/django/core/mail/message.py", line 180, in as_string
    40 [Mon Feb 06 13:50:53.064254 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     g.flatten(self, unixfrom=unixfrom)
    41 [Mon Feb 06 13:50:53.064266 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/email/generator.py", line 84, in flatten
    42 [Mon Feb 06 13:50:53.064426 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self._write(msg)
    43 [Mon Feb 06 13:50:53.064444 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/email/generator.py", line 109, in _write
    44 [Mon Feb 06 13:50:53.064467 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self._dispatch(msg)
    45 [Mon Feb 06 13:50:53.064479 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/email/generator.py", line 135, in _dispatch
    46 [Mon Feb 06 13:50:53.064497 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     meth(msg)
    47 [Mon Feb 06 13:50:53.064511 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]   File "/home/projet/my_client/my_project/pyr-my_project/lib/python2.7/site-packages/email/generator.py", line 178, in _handle_text
    48 [Mon Feb 06 13:50:53.064537 2017] [:error] [pid 17650] [remote 192.168.34.196:61833]     self._fp.write(payload)
    49 [Mon Feb 06 13:50:53.064569 2017] [:error] [pid 17650] [remote 192.168.34.196:61833] UnicodeEncodeError: 'ascii' codec can't encode character u'\\xe9' in position 1124: ordinal not in range(128)`
     4{{{
     5Traceback (most recent call last):
     6File "site-packages/django/core/handlers/wsgi.py", line 170, in __call__
     7 response = self.get_response(request)
     8File "site-packages/django/core/handlers/base.py", line 124, in get_response
     9 response = self._middleware_chain(request)
     10File "site-packages/django/core/handlers/exception.py", line 41, in inner
     11 response = response_for_exception(request, exc)
     12File "site-packages/django/core/handlers/exception.py", line 86, in response_for_exception
     13 response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
     14File "site-packages/django/core/handlers/exception.py", line 124, in handle_uncaught_exception
     15 extra={'status_code': 500, 'request': request},
     16File "/usr/lib64/python2.7/logging/__init__.py", line 1175, in error
     17 self._log(ERROR, msg, args, **kwargs)
     18File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in _log
     19 self.handle(record)
     20File "/usr/lib64/python2.7/logging/__init__.py", line 1278, in handle
     21 self.callHandlers(record)
     22File "/usr/lib64/python2.7/logging/__init__.py", line 1318, in callHandlers
     23 hdlr.handle(record)
     24File "/usr/lib64/python2.7/logging/__init__.py", line 749, in handle
     25 self.emit(record)
     26File "site-packages/django/utils/log.py", line 121, in emit
     27 self.send_mail(subject, message, fail_silently=True, html_message=html_message)
     28File "site-packages/django/utils/log.py", line 124, in send_mail
     29 mail.mail_admins(subject, message, *args, connection=self.connection(), **kwargs)
     30File "site-packages/django/core/mail/__init__.py", line 103, in mail_admins
     31 mail.send(fail_silently=fail_silently)
     32File "site-packages/django/core/mail/message.py", line 342, in send
     33 return self.get_connection(fail_silently).send_messages([self])
     34File "site-packages/django/core/mail/backends/smtp.py", line 107, in send_messages
     35 sent = self._send(message)
     36File "site-packages/django/core/mail/backends/smtp.py", line 123, in _send
     37 self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\\r\\n'))
     38[Mon Feb 06 13:50:53.064235 2017]   File "site-packages/django/core/mail/message.py", line 180, in as_string
     39 g.flatten(self, unixfrom=unixfrom)
     40File "site-packages/email/generator.py", line 84, in flatten
     41self._write(msg)
     42File "site-packages/email/generator.py", line 109, in _write
     43 self._dispatch(msg)
     44File "site-packages/email/generator.py", line 135, in _dispatch
     45 meth(msg)
     46File "site-packages/email/generator.py", line 178, in _handle_text
     47 self._fp.write(payload)
     48UnicodeEncodeError: 'ascii' codec can't encode character u'\\xe9' in position 1124: ordinal not in range(128)`
     49}}}
Back to Top