Hide Forgot
Description of problem: When we run createrepo on one our repos we get $ sudo createrepo --database --checksum sha256 -g /var/lib/pulp//repos/content/dist/rhel/rhui/server-6/updates/6Server/x86_64/os/repodata/comps-rhel-x86_64-server-6.xml /var/lib/pulp//repos/content/dist/rhel/rhui/server-6/updates/6Server/x86_64/os/ Spawning worker 0 with 5043 pkgs Worker 0: Worker 0: Traceback (most recent call last): Worker 0: iso-8859-1 encoding on Ville Skytt� <ville.skytta> - 2.8.2-2 Worker 0: File "/usr/share/createrepo/worker.py", line 101, in <module> Worker 0: Worker 0: main(sys.argv[1:]) Worker 0: Worker 0: File "/usr/share/createrepo/worker.py", line 84, in main Worker 0: iso-8859-1 encoding on Ville Skytt� <ville.skytta> - 2.8.2-2 Worker 0: pri.write(pkg.xml_dump_primary_metadata()) Worker 0: Worker 0: File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1208, in xml_dump_primary_metadata Worker 0: msg += misc.to_unicode(self._dump_format_items()) Worker 0: File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1076, in _dump_format_items Worker exited with non-zero value: 1. Fatal. Worker exited with non-zero value: 1. Fatal. Version-Release number of selected component (if applicable): createrepo 0.9.9-3
rpm changelog encoding sucks ... but we can stop it failing (the rpms you are failing on would be helpful though :).
(In reply to comment #1) > rpm changelog encoding sucks ... but we can stop it failing (the rpms you are > failing on would be helpful though :). The package based on what I see is /var/lib/pulp/repos/content/dist/rhel/rhui/server-6/updates/6Server/x86_64/os/Packages/system-config-kickstart-2.8.6.3-1.el6.noarch.rpm if I grep in there I see this line: * Mon Sep 14 2009 Ville Skytt<E4> <ville.skytta> - 2.8.2-2 - Convert specfile to UTF-8.
Also I see the same issue in system-config-kickstart-2.8.6.3-1.el6.noarch.rpm I look around for the same name in other packages and those look like this: /var/lib/pulp/repos/content/dist/rhel/rhui/server-6/updates/6Server/x86_64/os/Packages/hal-storage-addon-0.5.14-8.el6.x86_64.rpm * Tue Aug 11 2009 Ville Skyttä <ville.skytta> - 0.5.13-8 - Use bzipped upstream tarball.
So turns out this is just a duplicate of 715108. Running strace shows the full error, unfortunately the stdout error wasn't clear enough. closing as duplicate. *** This bug has been marked as a duplicate of bug 715108 ***