Re: [Django] #11334: Django fails to show non-latin exception messages from PostgreSQL running on FastCGI

2012-03-06 Thread Django
#11334: Django fails to show non-latin exception messages from PostgreSQL 
running
on FastCGI
--+--
 Reporter:  Loststylus|Owner:  nobody
 Type:  Bug   |   Status:  closed
Component:  Core (Other)  |  Version:  1.1-beta-1
 Severity:  Normal|   Resolution:  duplicate
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by claudep):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 This is quite certainly a duplicate of #12302, which should be fixed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11334#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #11334: Django fails to show non-latin exception messages from PostgreSQL running on FastCGI

2012-03-05 Thread Django
#11334: Django fails to show non-latin exception messages from PostgreSQL 
running
on FastCGI
--+--
 Reporter:  Loststylus|Owner:  nobody
 Type:  Bug   |   Status:  new
Component:  Core (Other)  |  Version:  1.1-beta-1
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--

Comment (by claudep):

 For better readability, here is the traceback contained in the attached
 html error page:
 {{{
 Traceback (most recent call last):
   File "/var/lib/python-
 support/python2.6/flup/server/fcgi_base.py", line 558, in run
 protocolStatus, appStatus = self.server.handler(self)
   File "/var/lib/python-
 support/python2.6/flup/server/fcgi_base.py", line 1116, in handler
 result = self.application(environ, start_response)
   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/wsgi.py", line 239, in __call__
 response = self.get_response(request)
   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/base.py", line 128, in get_response
 return self.handle_uncaught_exception(request, resolver,
 exc_info)
   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/base.py", line 148, in
 handle_uncaught_exception
 return debug.technical_500_response(request, *exc_info)
   File "/usr/local/lib/python2.6/dist-
 packages/django/views/debug.py", line 39, in technical_500_response
 html = reporter.get_traceback_html()
   File "/usr/local/lib/python2.6/dist-
 packages/django/views/debug.py", line 97, in get_traceback_html
 'exception_value': smart_unicode(self.exc_value,
 errors='replace'),
   File "/usr/local/lib/python2.6/dist-
 packages/django/utils/encoding.py", line 35, in smart_unicode
 return force_unicode(s, encoding, strings_only, errors)
   File "/usr/local/lib/python2.6/dist-
 packages/django/utils/encoding.py", line 70, in force_unicode
 raise DjangoUnicodeDecodeError(s, *e.args)
 DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in
 position 0: ordinal not in range(128).
 You passed in
 
ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f
 SELECT DISTINCT ON \xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd\xd1\x8b
 \xd1\x81\xd0\xbe\xd0\xb2\xd0\xbf\xd0\xb0\xd0\xb4\xd0\xb0\xd1\x82\xd1\x8c
 \xd1\x81
 
\xd0\xb8\xd0\xb7\xd0\xbd\xd0\xb0\xd1\x87\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xbc\xd0\xb8
 
\xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
 ORDER BY\n',) ()
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11334#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #11334: Django fails to show non-latin exception messages from PostgreSQL running on FastCGI

2010-02-02 Thread Django
#11334: Django fails to show non-latin exception messages from PostgreSQL 
running
on FastCGI
-+--
  Reporter:  Loststylus  | Owner:  nobody
Status:  new | Milestone:
 Component:  Core framework  |   Version:  1.1-beta-1
Resolution:  |  Keywords:
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by russellm):

  * stage:  Unreviewed => Accepted

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11334#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #11334: Django fails to show non-latin exception messages from PostgreSQL running on FastCGI

2009-07-31 Thread Django
#11334: Django fails to show non-latin exception messages from PostgreSQL 
running
on FastCGI
-+--
  Reporter:  Loststylus  | Owner:  nobody
Status:  new | Milestone:
 Component:  Core framework  |   Version:  1.1-beta-1
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by anonymous):

  * version:  1.0 => 1.1-beta-1

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11334#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11334: Django fails to show non-latin exception messages from PostgreSQL running on FastCGI

2009-06-20 Thread Django
#11334: Django fails to show non-latin exception messages from PostgreSQL 
running
on FastCGI
-+--
  Reporter:  Loststylus  | Owner:  nobody
Status:  new | Milestone:
 Component:  Core framework  |   Version:  1.0   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by anonymous):

  * component:  Uncategorized => Core framework

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11334#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11334: Django fails to show non-latin exception messages from PostgreSQL running on FastCGI

2009-06-17 Thread Django
#11334: Django fails to show non-latin exception messages from PostgreSQL 
running
on FastCGI
+---
  Reporter:  Loststylus | Owner:  nobody
Status:  new| Milestone:
 Component:  Uncategorized  |   Version:  1.0   
Resolution: |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by anonymous):

  * needs_better_patch:  => 0
  * summary:  Django fails to show non-latin exception messages from
  PosgreSQL running on FastCGI => Django fails to
  show non-latin exception messages from
  PostgreSQL running on FastCGI
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11334#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---