Hide Forgot
Description of problem: If you have a script listed in setup.py's build_scripts and need distutils to convert from python2 to python3 and the script is not in ASCII (it does have the header that tells python what encoding to use) then the build will fail with something like this: Traceback (most recent call last): File "setup.py", line 233, in <module> do_setup() File "setup.py", line 103, in do_setup dist = setup(**kwargs) File "/usr/lib64/python3.2/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib64/python3.2/distutils/dist.py", line 919, in run_commands self.run_command(cmd) File "/usr/lib64/python3.2/distutils/dist.py", line 938, in run_command cmd_obj.run() File "/usr/lib64/python3.2/distutils/command/build.py", line 128, in run self.run_command(cmd_name) File "/usr/lib64/python3.2/distutils/cmd.py", line 315, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.2/distutils/dist.py", line 938, in run_command cmd_obj.run() File "/usr/lib64/python3.2/distutils/command/build_scripts.py", line 51, in run self.copy_scripts() File "/usr/lib64/python3.2/distutils/command/build_scripts.py", line 83, in copy_scripts first_line = f.readline() File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 112: ordinal not in range(128) This is hitting rebuilding of python-docutils from a snapshot. Upstream bug: http://bugs.python.org/issue10419 This is reported to be fixed in the forthcoming python3-3.2.1 and the upstream bug report lists the patches that were applied to fix this.
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping