Public bug reported:

[Test case]
Install version 2.34.1
1. have an unrecognized file with UTF-8 characters in it's filename using p3-d-e
   For example: $ touch "Ein Stück Lebensgeschichte und andere Erzählungen.txt"
2. run pdebuild
-> crash  

One more, building the word prediction branch of Onboard in pbuilder
fails:

make[1]: Entering directory `/tmp/buildd/onboard-0.97.0'
python3 setup.py clean -a
running clean
'build/lib.linux-x86_64-3.2' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.2' does not exist -- can't clean it
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  HACKING
  Onboard/osk/osk_devices.c
  Onboard/osk/osk_devices.h
  Onboard/osk/osk_module.c
  Onboard/osk/osk_module.h
  Onboard/osk/osk_util.c
  Onboard/osk/osk_util.h
  Onboard/pypredict/README
  Onboard/pypredict/attic/Makefile
  Onboard/pypredict/attic/multilevel
  Onboard/pypredict/attic/ngram-test
  Onboard/pypredict/attic/randbench
  Onboard/pypredict/attic/test-client
  Onboard/pypredict/lm.cpython-32mu.so
  Onboard/pypredict/lm/lm.cpp
  Onboard/pypredict/lm/lm.h
  Onboard/pypredict/lm/lm_dynamic.cpp
  Onboard/pypredict/lm/lm_dynamic.h
  Onboard/pypredict/lm/lm_dynamic_cached.h
  Onboard/pypredict/lm/lm_dynamic_impl.h
  Onboard/pypredict/lm/lm_dynamic_kn.h
  Onboard/pypredict/lm/lm_merged.cpp
  Onboard/pypredict/lm/lm_merged.h
  Onboard/pypredict/lm/lm_python.cpp
  Onboard/pypredict/lm/pool_allocator.cpp
  Onboard/pypredict/tools/analyze
  Onboard/pypredict/tools/entropy
  Onboard/pypredict/tools/ksr
  Onboard/pypredict/tools/optimize
  Onboard/pypredict/tools/predict
  Onboard/pypredict/tools/split_corpus
  Onboard/pypredict/tools/train
  corpora/de/Deutsches Leben der Gegenwart.txt
Traceback (most recent call last):
  File "setup.py", line 221, in <module>
    cmdclass = {'test': TestCommand},
  File "/usr/lib/python3/dist-packages/DistUtilsExtra/auto.py", line 105, in 
setup
    print ('  ' + f)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 19-20: 
ordinal not in range(128)

The file it fails to print is "corpora/de/Ein Stück Lebensgeschichte und
andere Erzählungen.txt"

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python3-distutils-extra 2.34-1 [modified: 
usr/lib/python3/dist-packages/DistUtilsExtra/auto.py]
ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
Uname: Linux 3.5.0-4-generic x86_64
ApportVersion: 2.3-0ubuntu4
Architecture: amd64
Date: Sun Jul 15 22:01:43 2012
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, username)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-distutils-extra
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python-distutils-extra (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1025031

Title:
  UnicodeEncodeError for unrecognized files with unicode filenames in
  pbuilder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-distutils-extra/+bug/1025031/+subscriptions

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

Reply via email to