Re: [Django] #21269: UnicodeDecodeError on makemessages -d djangojs

2013-10-14 Thread Django
#21269: UnicodeDecodeError on makemessages -d djangojs
-+-
 Reporter:  kontakt@…|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Core (Management |  Version:
  commands)  |  1.6-beta-1
 Severity:  Normal   |   Resolution:  fixed
 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 Claude Paroz ):

 In [changeset:"ba9cf9596bb07d30614257a755f3e4fea426d2e2"]:
 {{{
 #!CommitTicketReference repository=""
 revision="ba9cf9596bb07d30614257a755f3e4fea426d2e2"
 [1.6.x] Fixed #21269 -- Don't crash when CommandError contains non-ascii

 Thanks kont...@eikefoken.de for the report.

 Backport of 42a67ec1cd from master.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/078.552bad9bb1d106b1f63de8b915cd1710%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21269: UnicodeDecodeError on makemessages -d djangojs

2013-10-14 Thread Django
#21269: UnicodeDecodeError on makemessages -d djangojs
-+-
 Reporter:  kontakt@…|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Core (Management |  Version:
  commands)  |  1.6-beta-1
 Severity:  Normal   |   Resolution:  fixed
 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 Claude Paroz ):

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


Comment:

 In [changeset:"42a67ec1cd8cbaffd87f0a7b34714f7d4a259cfb"]:
 {{{
 #!CommitTicketReference repository=""
 revision="42a67ec1cd8cbaffd87f0a7b34714f7d4a259cfb"
 Fixed #21269 -- Don't crash when CommandError contains non-ascii

 Thanks kont...@eikefoken.de for the report.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/078.57e621f6befcc57324eaa99572722302%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21269: UnicodeDecodeError on makemessages -d djangojs

2013-10-14 Thread Django
#21269: UnicodeDecodeError on makemessages -d djangojs
-+-
 Reporter:  kontakt@…|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:
  commands)  |  1.6-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
-+-
Changes (by claudep):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * component:  Translations => Core (Management commands)
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 I guess the issue is due to `CommandError` containing non-ascii content.
 I'll try to prepare a fix (probably adding more `unicode_literals`).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/078.611fff730f37aa0d6377e6e762255532%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21269: UnicodeDecodeError on makemessages -d djangojs

2013-10-14 Thread Django
#21269: UnicodeDecodeError on makemessages -d djangojs
--+
 Reporter:  kontakt@… |  Owner:  nobody
 Type:  Bug   | Status:  new
Component:  Translations  |Version:  1.6-beta-1
 Severity:  Normal|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  0 |  UI/UX:  0
--+
 I'm getting an UnicodeDecodeError when running `makemessages -d djangojs
 -l de`.

 {{{
 processing locale de
 Traceback (most recent call last):
   File "/home/eike/public_html/test/env2/bin/django-admin.py", line 5, in
 
 management.execute_from_command_line()
   File "/home/eike/public_html/test/env2/lib/python2.7/site-
 packages/django/core/management/__init__.py", line 397, in
 execute_from_command_line
 utility.execute()
   File "/home/eike/public_html/test/env2/lib/python2.7/site-
 packages/django/core/management/__init__.py", line 390, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/home/eike/public_html/test/env2/lib/python2.7/site-
 packages/django/core/management/base.py", line 247, in run_from_argv
 stderr.write('%s: %s' % (e.__class__.__name__, e))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in
 position 47: ordinal not in range(128)
 }}}

 I'm using Python 2.7.5 and the latest beta. I tested this with Django 1.5
 too and it works without any problems.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.32bef0e23b05a673084f0984d76be7c0%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.