Aaah .. some RPMs have unicode in their 'provides' tag which causes this problem. Temporarily, I have removed those from the external repo and it works fine :)
Jitesh
On Fri, 2009-06-05 at 06:46 -0700, Jitesh Shah wrote:
Hi all, I have attached an external repo to one of my build tags. After attaching the repo, I issued a "koji regen-repo <tag>". This is what I get:
1348/2199 - kde-l10n-Walloon-4.2.2-1.fc11.noarch 1349/2199 - kde-l10n-Lithuanian-4.2.2-1.fc11.noarch 1350/2199 - 1:perl-Error-0.17015-2.fc11.noarch Traceback (most recent call last): File "/usr/libexec/kojid/mergerepos", line 241, in <module> main(sys.argv[1:]) File "/usr/libexec/kojid/mergerepos", line 236, in main merge.write_metadata() File "/usr/libexec/kojid/mergerepos", line 216, in write_metadata mdgen.doPkgMetadata() File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 364, in doPkgMetadata self.writeMetadataDocs(packages) File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 527, in writeMetadataDocs self.primaryfile.write(po.xml_dump_primary_metadata()) File "/usr/lib/python2.5/site-packages/yum/packages.py", line 1015, in xml_dump_primary_metadata msg += misc.to_unicode(self._dump_format_items()) File "/usr/lib/python2.5/site-packages/yum/packages.py", line 894, in _dump_format_items msg += self._dump_pco('provides') File "/usr/lib/python2.5/site-packages/yum/packages.py", line 919, in _dump_pco msg += pcostring UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 28: ordinal not in range(128)
Unicode error? I don't get it! Any pointers?
Regards, Jitesh
-- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list