3.2.3-3 regression: copy_scripts crashes with UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.2 (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
Until yesterday, ubuntu-
running build_scripts
creating build/scripts-3.2
copying and adjusting nvidia-detector -> build/scripts-3.2
copying and adjusting quirks-handler -> build/scripts-3.2
copying and adjusting ubuntu-drivers -> build/scripts-3.2
Traceback (most recent call last):
File "/usr/lib/
line_string = line.decode(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 32: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 40, in <module>
""",
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
self.
File "/usr/lib/
encoding, lines = tokenize.
File "/usr/lib/
encoding = find_cookie(first)
File "/usr/lib/
raise SyntaxError(
SyntaxError: invalid or missing encoding declaration
make[1]: *** [override_
After adding a print() to /usr/lib/
Why does copy_scripts() even bother with detecting the encoding of the file? It's supposed to just copy the program as it is.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python3.2 3.2.3-3
ProcVersionSign
Uname: Linux 3.5.0-4-generic x86_64
ApportVersion: 2.3-0ubuntu4
Architecture: amd64
Date: Wed Jul 18 10:01:32 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: python3.2
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in python3.2 (Ubuntu): | |
importance: | Undecided → High |
- well, it's called copy_scripts, not copy_binaries ;) maybe you can work around this by building/installing a data file.
- distutils is frozen, and doesn't see any new changes.
therefore closing as won't fix