[Bug 63324] Re: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character

2008-04-16 Thread Martin Pool
Upstream bug

** Changed in: bzr (Ubuntu)
   Status: New => Invalid

-- 
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
https://bugs.launchpad.net/bugs/63324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63324] Re: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character

2008-03-05 Thread PresuntoRJ
I have a similar problem here... only I was trying to add to a newly
initialized revision folder from an existing CVS checkout under Ubuntu

[EMAIL PROTECTED]:~/Documents/suporte$ bzr add
added CVS
added misc
added CVS/Entries
added CVS/Repository
added CVS/Root
added misc/CVS
added misc/docs
added misc/CVS/Entries
added misc/CVS/Repository
added misc/CVS/Root
added misc/docs/CVS
added misc/docs/build
added misc/docs/desenvolvimento
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 
in position 17: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in 
run_bzr_catch_errors
return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in 
run_bzr
ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in 
run_argv_aliases
return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 384, in run
no_recurse, action=action, save=not dry_run)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 51, in 
tree_write_locked
return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 400, in 
smart_add
for subf in sorted(os.listdir(abspath)):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 17: 
ordinal not in range(128)

bzr 1.2.0.candidate.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'add']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'pt_BR.UTF-8'
plugins:
  atomlog  /home/leitao/.bazaar/plugins/atomlog [unknown]
  automv   /home/leitao/.bazaar/plugins/automv [unknown]
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb 
[0.92.0dev0]
  bzr_lastlog  /home/leitao/.bazaar/plugins/bzr_lastlog [unknown]
  bzrtools /home/leitao/.bazaar/plugins/bzrtools [1.1.0]
  diffstat /home/leitao/.bazaar/plugins/diffstat [unknown]
  email/home/leitao/.bazaar/plugins/email [unknown]
  gtk  /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk 
[0.93.0]
  heads/home/leitao/.bazaar/plugins/heads [unknown]
  htmllog  /home/leitao/.bazaar/plugins/htmllog [unknown]
  launchpad
/usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  lessdiff /home/leitao/.bazaar/plugins/lessdiff [unknown]
  lesslog  /home/leitao/.bazaar/plugins/lesslog [unknown]
  rebase   /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase 
[0.3.0]
  stats/home/leitao/.bazaar/plugins/stats [unknown]
  svn  /usr/lib/python2.5/site-packages/bzrlib/plugins/svn 
[0.4.7]
  trunk/home/leitao/.bazaar/plugins/trunk [0.91.0]
  vimdiff  /home/leitao/.bazaar/plugins/vimdiff [unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.

Here is my locale result:
[EMAIL PROTECTED]:~/Documents/suporte$ locale
LANG=pt_BR.UTF-8
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=

The file it failed under this folder has a name in portugueses with both
"ç" and "ã"

"misc/docs/desenvolvimento/Verificação do ambiente de treinamento.doc"

Very common combinations in portuguese... must I rename every file to a
fake name such as "Verificacao"

-- 
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
https://bugs.launchpad.net/bugs/63324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 63324] Re: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character

2007-05-22 Thread John A Meinel
I believe the problem is that Cygwin only supports ASCII encoding. It
doesn't understand non-ascii filenames.

So if you have non-ascii filenames, you need to use the native win32
bzr, not cygwin.

I think it would be useful if we had a better way of handling errors
like this, so I'm not closing the bug just yet

** Also affects: bzr (upstream)
   Importance: Undecided
   Status: Unconfirmed

** Changed in: bzr (upstream)
   Importance: Undecided => Medium
   Status: Unconfirmed => Confirmed

-- 
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
https://bugs.launchpad.net/bugs/63324
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63324] Re: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character

2006-10-04 Thread Mildred
Here is the result :

$ locale
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:en_US:en_GB:en
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

-- 
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
https://launchpad.net/bugs/63324

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63324] Re: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character

2006-10-03 Thread Martin Pool
Could you please tell me what the 'locale' command shows or what your
$LANG environment variable is set to?  I think you're set to an ASCII
locale where these characters aren't supported.

With LANG=en_AU.UTF-8 this works for me.

-- 
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
https://launchpad.net/bugs/63324

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63324] Re: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character

2006-10-01 Thread Andrew Mitchell
** Changed in: bazaar (Ubuntu)
Sourcepackagename: bazaar => bzr

-- 
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character
https://launchpad.net/bugs/63324

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs