{{{ $ ./fedora-review -b 801053 Processing review bug : 801053 Trying bugzilla cookies for authentication Getting .spec and .srpm Urls from bug report : 801053 Downloading .spec and .srpm files Building /home/misc/checkout/git/FedoraReview/src/801053/fcitx-chewing-0.1.0-1.fc16.src.rpm using mock fedora-rawhide-i386 INFO: mock.py version 1.1.21 starting... State Changed: init plugins INFO: selinux enabled State Changed: start INFO: Start(/home/misc/checkout/git/FedoraReview/src/801053/fcitx-chewing-0.1.0-1.fc16.src.rpm) Config(fedora-rawhide-i386) State Changed: lock buildroot State Changed: clean INFO: chroot (/var/lib/mock/fedora-rawhide-i386) unlocked and deleted State Changed: unlock buildroot State Changed: init State Changed: lock buildroot Mock Version: 1.1.21 INFO: Mock Version: 1.1.21 INFO: calling preinit hooks INFO: enabled root cache State Changed: unpacking root cache INFO: enabled yum cache State Changed: cleaning yum metadata INFO: enabled ccache State Changed: running yum State Changed: unlock buildroot INFO: Installed packages: State Changed: setup State Changed: build INFO: Done(/home/misc/checkout/git/FedoraReview/src/801053/fcitx-chewing-0.1.0-1.fc16.src.rpm) Config(fedora-rawhide-i386) 2 minutes 42 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-i386/result State Changed: end Build completed ok Downloading (Source0): http://fcitx.googlecode.com/files/fcitx-chewing-0.1.0.tar.bz2 Traceback (most recent call last): File "./fedora-review", line 234, in <module> review.run() File "./fedora-review", line 224, in run self.do_report() File "./fedora-review", line 122, in __do_report self.__do_report_local(self.args.workdir) File "./fedora-review", line 131, in __do_report_local self.__run_checks(files_spec[0], files_srpm[0]) File "./fedora-review", line 180, in __run_checks rc = self.__download_sources() File "./fedora-review", line 101, in __download_sources self.checks.sources.add(tag, sources[tag]) File "/home/misc/checkout/git/FedoraReview/src/FedoraReview/__init.py", line 248, in add source.get_source(source_url) File "/home/misc/checkout/git/FedoraReview/src/FedoraReview/init.py", line 333, in get_source self.filename = self._get_file(URL) File "/home/misc/checkout/git/FedoraReview/src/FedoraReview/init.py", line 218, in _get_file stream.write(to_bytes(request.content)) File "/usr/lib/python2.7/site-packages/requests/models.py", line 493, in content self._content = get_unicode_from_response(self) File "/usr/lib/python2.7/site-packages/requests/utils.py", line 221, in get_unicode_from_response return unicode(r.content, encoding) LookupError: unknown encoding: binary
}}}
Same backtrace on https://msktutil.googlecode.com/files/msktutil-0.4.1.tar.bz2
Seems to be linked to bz2.
patch to fix the issue ( but should be tested to see if there is no side effect ) 0001-do-not-ask-to-decode-utf8-since-what-is-download-is-.patch
Applied and pushed
Login to comment on this ticket.